Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    373
    Plugin Contributions
    0

    Default Add previously purged shipping locations adds empty lines

    About a decade ago I decided to ship national only.
    I purged all countries but one manually via the admin.
    Today I need to add some additional countries and get the problem, that there are also some empty lines added to choose.
    How can I fix this?
    Please see the attachement.

    Click image for larger version. 

Name:	2024-04-29-124802_1920x1080_scrot.jpg 
Views:	281 
Size:	25.3 KB 
ID:	20596
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Add previously purged shipping locations adds empty lines

    Quote Originally Posted by Shop Suey View Post
    About a decade ago I decided to ship national only.
    I purged all countries but one manually via the admin.
    Today I need to add some additional countries and get the problem, that there are also some empty lines added to choose.
    How can I fix this?
    Please see the attachement.

    Click image for larger version. 

Name:	2024-04-29-124802_1920x1080_scrot.jpg 
Views:	281 
Size:	25.3 KB 
ID:	20596
    In order to create these you will need to grab the SQL from the correct install version of Zen Cart or port them from another same version install.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    373
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    I could install a blank shop with the same zc version.
    How can I port them?
    Last edited by Shop Suey; 30 Apr 2024 at 10:59 AM.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Add previously purged shipping locations adds empty lines

    Quote Originally Posted by Shop Suey View Post
    I could install a blank Shop with the same zc version.
    How can I port them?
    You'll need to use a database tool like PHPmyAdmin to export the table, then drop it in to the other DB. BACKUP first =)
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    373
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    Thank you for the hint.
    There is a way with more control. I don't like to copy&paste tables between different shop and database versions.

    1. add via admin
    2. pickup the countries id from the table countries_name
    3. edit the countries id at the table countries

    This seems to work so far.
    roller-aus-blech.de
    Selling on eBay? Use the fee calculator: https://webconcept.one/en/ebay-fee-calculator/

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: Add previously purged shipping locations adds empty lines

    > I purged all countries but one manually via the admin.

    This is a better way:

    https://docs.zen-cart.com/user/admin...ling-countries
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v150 Define Pages editor adds 4 or 5 blank lines every time I save
    By micallen in forum Customization from the Admin
    Replies: 4
    Last Post: 21 Aug 2012, 06:34 PM
  2. Sandbox Paypal Express adds a new empty order?
    By Sharx in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 9 Jan 2011, 11:44 AM
  3. Xsell adon adds to 2 items and 2 lines ???
    By RobertG in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 May 2010, 11:07 PM
  4. Hide Empty Address Lines
    By Best Price Accessori in forum Managing Customers and Orders
    Replies: 10
    Last Post: 13 May 2009, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg