Forum Replies Created
-
AuthorPosts
-
info@lifemoveshealth.com
MemberThanks for the reply Peter. I get what your saying. So, no way to display the variations on the cart page w/o passing along the extra html in the product name to the gateway, correct?
September 25, 2012 at 4:48 pm in reply to: eStore – update cart button does not work if there are multiple items in cart #49669info@lifemoveshealth.com
MemberProblem 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.
-
AuthorPosts