You are here: Home
Support site for Tips and Tricks HQ premium products
Thanks 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?
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.