[英]Magento | Use quantity increments and ajax add to cart on category page and product view
[英]Magento 1.9 - Ajax Add to Cart from category page/product listing
我已經安裝了Amasty插件Ajax Add to Cart,該插件在產品頁面上可以正常工作,但我希望它在產品列表頁面上正常工作。 我想要它,以便您可以隨時從類別中添加任何產品。 我需要做些什么才能使它正常工作嗎?
我對每種產品的按鈕是:
<button type="button" title="<?php echo $this->quoteEscape($this->__('Add to Cart')) ?>" class="button btn-cart" onclick="setLocation('<?php echo Mage::helper('checkout/cart')->getAddUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
任何幫助將不勝感激。
感謝您使用Amasty擴展程序!
從類別中將產品添加到購物車可在我們的Ajax購物車模塊中直接使用。 因此,它應該可以正常工作。 請提交票證給我們的支持團隊,我們將調查為什么此功能在您的網站上不起作用https://amasty.com/contacts/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.