Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    118
    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.

    Name:  2024-04-29-124802_1920x1080_scrot.jpg
Views: 185
Size:  25.3 KB
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

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

    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.

    Name:  2024-04-29-124802_1920x1080_scrot.jpg
Views: 185
Size:  25.3 KB
    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. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #3
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    118
    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.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

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

    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. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  5. #5
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    118
    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.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,744
    Plugin Contributions
    323

    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.

  7. #7
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    118
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    Quote Originally Posted by swguy View Post
    > I purged all countries but one manually via the admin.

    This is a better way:

    https://docs.zen-cart.com/user/admin...ling-countries
    Good to know for the future!
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR