Magento
Magento: Add short Description to your cart page
Magento’s default view cart page: Simple product includes a product thumbnail , product name, product SKU as shown below. Configurable Product includes a product thumbnail , product name, product SKU , Product Attributs as shown below. What if you wanted to add the short description to the view cart page, Read more…
Magento
Magento: Please enable cookies in your web browser to continue
Sometime You may get these types of error while: Adding product to cart Login to your Account On Registration The enable-cookies page will ask you to enable cookies in your browser. The message is as follow: Please enable cookies in your web browser to continue After making some google i Read more…
Magento
Magento get attribute value or name
In the following code att_code is the code value of your attribute that you give for your custom attribute.
Magento
Magento: Get configurable product attributes
When dealing with configurable products.You need getTypeInstance() method. 1-For all available attribute options: 2-For attribute code(color) options: 3-For attribute code(size) options:
Magento
Magento: Get user Details in admin panel
Sometime we need to show some extra information about user: you can do this task with the following code: You can get admin user data like ID, Email, First Name, Last Name, User Name, Password
Magento
Magento: change Catalog Price to 3rd decimal point
Magento prices to display and round to the third (3rd) decimal point you need to override these files: lib/Zend/Currency.php Change: To Override file from core to local and change at the bottom app/code/local/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Options/Option.php Change: To: app/code/local/Mage/Adminhtml/Block/Catalog/Product/Helper/Form/Price.php Change: To: app/code/local/Mage/Core/Model/Store.php Change: To: To show in frontend: app/code/local/Mage/Directory/Model/Currency.php Change: To: For Tire Read more…
Magento
Maagento: How to create an unsubscribe page
1. Create a “unsubscribe.phtml” page with the following code: 2. Create a CMS page Name ‘Unsubscribe’ and url ‘unsubscribe’ and call that “unsubscribe.phtml” page in your cms page. 3. Now in page /app/design/frontend/your_package/your_theme/template/newsletter/subscribe.phtml add the follwing code to add a link to the cms page. 4.Now in /app/code/core/Mage/Newsletter/Block/Subscribe.php add a Read more…