add to cart button on featured products is not working [closed]
-
12-12-2019 - |
Question
please visit this link : on home page, "add to cart button" on featured products is not working.
Solution
on the button you cart button did not have addtocart link.
. so it issue
you want addtocart url of a product then
you below code
Mage::helper(checkout/cart)->getAddUrl($productOjebect,$additional = array());
and then
line near 74: change
<?php echo $this->getAddToCartUrl($_product) ?>
to
<?php echo Mage::helper(checkout/cart)->getAddUrl($_product,$additional = array()); ?>
OTHER TIPS
Hi guys i saw your site is looking good.I find the solution to you problem.just css error instead core code change
.products-grid .btn-cart{ remove the (float:right) }
then it will work .............
I have Found that all your all code is working fine
The Problem is CSS because you design is not good.
please check my image and remove the Position: relative;
from .products-grid .price-box
Refresh your cache and Enjoy.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange