Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2016
    Location
    Utah
    Posts
    14
    Plugin Contributions
    0

    Default Clicking on the update cart button redirects to product not found

    I have an issue where if a customers adds a product to their cart and then goes to view the contents in their shopping cart and tries to change the quantity of products in their cart they are redirected to a page that states product not found. This happens for every product on the website. Every time a customer hits the update cart button, they are redirected to a page that says Sorry, the product was not found.

    This is a link to one of the many products on our website. Again the problem occurs with all of our products.

    http://westechequipment.com/product/...max-gpm-1-3-hp

    Any ideas as to why this might be happening?

    Four weeks ago we upgraded to the latest version of Zen Cart v1.5.5a from 1.5.4 following the official upgrade procedure.

    Our server is using PHP version 5.5.36 and MySQL version 5.6.30

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Clicking on the update cart button redirects to product not found

    Someone's mangled your template code and changed how it acts when buttons are clicked.

    In tpl_shopping_cart_default.php the original code reads like this:
    Code:
    <?php echo zen_draw_form('cart_quantity', zen_href_link(FILENAME_SHOPPING_CART, 'action=update_product', $request_type), 'post', 'id="shoppingCartForm"'); ?>
    Yours has changed the 'id="shoppingCartForm"' to 'class="form-inline"' ..... which technically shouldn't break anything.

    BUT yours has left the 'post' part blank, which makes the form not submit properly.
    .

    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.

  3. #3
    Join Date
    Jul 2016
    Location
    Utah
    Posts
    14
    Plugin Contributions
    0

    Default Re: Clicking on the update cart button redirects to product not found

    Thank you so much! It's working like it should now.

 

 

Similar Threads

  1. v139a Add to Cart Button....Sorry Product Not Found.
    By Karimah in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 Feb 2015, 03:04 AM
  2. page can not be found when clicking on checkout button
    By Robert Perelman in forum General Questions
    Replies: 5
    Last Post: 5 Dec 2010, 03:09 PM
  3. shopping cart - hide the Cart Quantity Update button when not needed
    By dause in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Oct 2009, 04:28 AM
  4. Can I update order status when clicking the packing-slip button?
    By shrimp-gumbo-mmmhhh in forum General Questions
    Replies: 2
    Last Post: 1 Jan 2009, 05:12 AM

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