Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    121
    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:	188 
Size:	25.3 KB 
ID:	20596
    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.

    Click image for larger version. 

Name:	2024-04-29-124802_1920x1080_scrot.jpg 
Views:	188 
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. :: 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
    121
    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
    121
    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,750
    Plugin Contributions
    124

    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
    121
    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.

  8. #8
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    121
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    One problem which still occurs at the registration form are duplicate entries.
    Please see the attachement.
    Click image for larger version. 

Name:	2024-05-17-081703_1920x1080_scrot.jpg 
Views:	2 
Size:	32.7 KB 
ID:	20618

    When Is switch the backend language I see them doubled at the added language.
    Can I just purge them via backend?
    Last edited by Shop Suey; 17 May 2024 at 07:21 AM.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  9. #9
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    121
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    What helps is to switch to the re-added language (English in my case), purge all these double entries e.g. "Niederlande" and "Netherlands", and re-add the language here again.
    That looks very messed up
    I can work-around it as described except the main language. I can't purge it because there are customers conected it.

    There are some questions I have:

    1. how can I fix the problem with the first language (German)
    2. how can I fix this mess in general?
    Last edited by Shop Suey; 17 May 2024 at 08:12 AM.
    My Zen-Cart Vespa Shop.
    GDPR compliant Webhosting in Germany.

  10. #10
    Join Date
    Feb 2014
    Location
    Germany
    Posts
    121
    Plugin Contributions
    0

    Default Re: Add previously purged shipping locations adds empty lines

    I think I got it.
    I just purged the country names via the backend.
    What was connected to customers I purged at the database.
    Then re-creation via backend worked as expected.
    And ist doesn't even show the initial problem with these blank lines.
    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