Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22
  1. #21
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Duplicate products added to shopping cart

    Quote Originally Posted by johnjlarge View Post
    Hi mc12345678

    I'm troubleshooting a 1.5.6c store. If I change line 564 of functions.php to the code you supplied, will this be the only fix required? is there a list of any other fixes that came up from that release that I should keep in mind?

    lat9, I'm only using text input attributes and one page uses a file upload attribute. No radio buttons.
    While it would seem that that one change would resolve *this* issue, there are other fixes that have been made following the release of 1.5.6c. Those are also captured and others in 1.5.7 (which also has "fixes" beyond the original release)...

    To identify what github has captured for fixes to the latest 1.5.6 distribution, see this compare showing the files changed and where those changes are:
    https://github.com/zencart/zencart/c...6#files_bucket

    The issue/situation I see is that when the empty array was being provided (the expected desired condition to support other areas and more stringent php processing) then that empty array goes through the hash process, though in truth there is nothing to hash.... the result of hashing the empty value though produces a hash value...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #22
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Duplicate products added to shopping cart

    Quote Originally Posted by johnjlarge View Post
    Both /includes/classes/shopping_cart.php from v1.5.6c and 1.5.7 cause this bug
    I can't replicate it in v1.5.7.

    Quote Originally Posted by johnjlarge View Post
    This bug is completely random, I have another store (different business) running 1.5.7. Same upgrade path, same server & doesn't exhibit this issue.
    It does definitely appear to be random.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v150 Products not getting added to shopping cart?
    By EPWink in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 23 Apr 2012, 05:10 PM
  2. wrong product added to shopping cart
    By maxus in forum General Questions
    Replies: 0
    Last Post: 12 Oct 2011, 05:13 PM
  3. Items not added to shopping cart and cannot edit products
    By scorwine in forum General Questions
    Replies: 1
    Last Post: 19 Jul 2010, 04:11 AM
  4. Products not being added to shopping cart
    By kashyyyk in forum General Questions
    Replies: 2
    Last Post: 14 Aug 2009, 02:51 AM
  5. No Shopping Cart - Products Not Added?
    By starmakersandy in forum General Questions
    Replies: 1
    Last Post: 5 Oct 2008, 09:50 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