So, many of us might have been given task to sort products by custom product attributes i.e….
I have recently upgraded from Yosemite to El Capitan. I had GIT setup and tab auto-complete was…
As the oficial n98-magerun repo on GitHub says: The swiss army knife for Magento developers, sysadmins…
So after a bit of time spent, I have managed to create a functional backend module which…
If you want to add customer reviews on product page tab these steps may help you. Locate…
The follwoing code should redirect a customer after log in. Just ensure, the event “customer_login” is used…
<?php //cancel coupon code $coupon_code = Mage::getSingleton(‘checkout/session’) ->getQuote()->getCouponCode(); if ($coupon_code) { Mage::helper(‘checkout/cart’)->getQuote() ->setData(‘coupon_code’, ”)->save(); /** or use…
<?php $appliedCoupon = Mage::getSingleton(‘checkout/session’) ->getQuote()->getCouponCode(); if($appliedCoupon){ echo “Coupon code has been applied”; } else{ echo “Coupon code…
The following code implements how to do timer countdown between two dates in jQuery. The code calculates…