Add Product into the shopping cart from
-
Hi,
I would like to know if it’s possible to add product from a price box page? For like this sample:
https://dreamthemedesign.com/themes/u-design/features/convenient-code-snippets/price-boxes/.The idea is to click in o “buy” button, add to shopping cart and redirect into check-out page.This is possible?
I added these lines of code:
[yak_buy_begin]<input type=”hidden” name=”category” value=”11″/>
<input type=”hidden” id=”buynow” name=”buynow” value=”247″/>
<input type=”hidden” id=”buynow_param” name=”buynow_param” value=”p”/>
<input type=”hidden” id=”p” name=”p” value=”247″/>
<button id=”addbutton” name=”addbutton” style=”display:none;” class=”yak_button” type=”submit”>xxx</button>
[yak_buy_end]<script>
function comprar(prodid)
{
debugger
jQuery(‘#buynow’).val(prodid);
jQuery(‘#p’).val(prodid);
return validateBuy(jQuery(‘#addbutton’), 0,0, 0, 1, true, ‘https://info.balcaoexpress.pt’)
}
</script>https://www.ads-software.com/extend/plugins/yak-for-wordpress/
- The topic ‘Add Product into the shopping cart from’ is closed to new replies.