Magento
Magento: Background Image trnasperent code :
Image background trnasperent code : ->keepFrame(false)
Magento
Magento: custom titile for any page
1- In page app/design/frontend/rwd/default/template/page/html/head.phtml template replace default: with this or if you don’t wish to use title prefix/sufix added from Magento admin, simply with And now just set “forced” title for pages through layout files Example for My Account page in layout/customer.xml:
Magento
Magento: Clear / Delete Shopping Cart Items of Single or All Customers
For current Login customer: If you want to clear all shopping cart items of all customers then you can use the following code: If you have a large number of customers quotes then deleting them by using loop might be time and resource consuming. You can clear/delete all customers cart Read more…
Magento
Magento: Get State Code, ID, Name from Region ID
Get state code from state id Get state name from state id Get state id from state code
Magento
Magento: Join EAV collection with Flat table
Joining tables in Magento when it comes to EAV with Flat table is quite complicated. Consider you want to join sales_flat_order table with customer EAV tables to get Customer’s firstname and lastname, it becomes difficult as customer’s name comes from customer_entity_varchar table. Below code will join sales order flat table Read more…
Magento
Magento: Getting back shopping cart items after order fails
(generally Mage/Checkout/controllers/OnepageController.php)
Magento
Magento: Previous-Next Buttons on Product Page
For Next or Previous Products Links on product page You can use the following code: On View.phtml: