Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eStore – update cart button does not work if there are multiple items in cart

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › eStore – update cart button does not work if there are multiple items in cart

Tagged: cart update button, multiple items, shopping cart, shorcode

  • This topic has 1 reply, 1 voice, and was last updated 12 years, 8 months ago by info@lifemoveshealth.com.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • September 25, 2012 at 4:02 pm #7476
    info@lifemoveshealth.com
    Member

    The site with the issue:

    [http://lmhdev.coachwithilene.com/cart/]

    from the top nav go to “Shop > Audios” add 2 different 14.95 items and click the “view cart” icon at the top of the page. Change the quantity of one of them, the click “Update Cart”

    The “Update Cart” button does work when there is only one item in the cart.

    September 25, 2012 at 4:48 pm #49669
    info@lifemoveshealth.com
    Member

    Problem solved!

    This cart is using eStore-extra-shortcodes and the update button needs to be added to eStore-extra-shortcodes/shortcode_include.php after this:

    <input type=’hidden’ name=’eStore_cquantity’ value=’1′ /><input type=’text’ name=’quantity’ value='”.$item.”‘ size=’1′ onchange=’document.peStore_cquantity.submit();’ onkeypress=’document.getElementById(“pinfo”).style.display = “”;’ />

    and before the closing </form> tag – so the whole thing will look like this (in my code it’s at line 1693)

    <input type=’hidden’ name=’eStore_cquantity’ value=’1′ /><input type=’text’ name=’quantity’ value='”.$item.”‘ size=’1′ onchange=’document.peStore_cquantity.submit();’ onkeypress=’document.getElementById(“pinfo”).style.display = “”;’ /><input type=’submit’ value='”.ESTORE_UPDATE.”‘ class=’eStore_update_qty’ /></form>

    I left out the if logic for the ESTORE_UPDATE button because I’m always going to use it.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ