Tech-Today
Remove Compare Products and Recently Viewed Boxes on Magento
To do this first I enable the block outlining so I will be able to determine which layout and block a box is located.
To remove these boxes using the xml layout config files, you have to open and change 2 files
1.) For Compare Products Box open: app/design/frontend/default/youttheme/layout/catalog.xml
Search for the keyword compare and you will hit 2 lines, comment all of these if you don't want any instance of compare.
<block type="core/template" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
<block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
2.) For Recently Viewed Box open: open: app/design/frontend/default/youttheme/layout/reports.xml and comment this line:
<block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
-
Magento Email To A Friend Not Working, Even After Updating Product_share.html
After we have successfuly setup our magento store, we've been testing its functionality and found out that email to a friend is not working properly. The product link and image are missing. What we did: 1.) After checking the controller for sendfriend,...
-
Magento Export And Import Products With Images
How to Export Magento Products 1.) login to the magento admin 2.) go to System->Import/Export->Profiles 3.) select Export All Products 4.) select Run Profile and on the middle-right click the "Run Profile in Popup", this will open a new tab...
-
This Article Explains How To Compare 2 Date Objects In Javascript
The best way to compare 2 Date objects using javascript is to get its long equivalent. For example we have a date in this format: mm-dd-yyyy and we want to compare them. We will declare the javascript function this way: function compareDate(a, b) { var...
-
Steps In Setting Up Your Products In Magento Powered Store
Before you can set up your products, the following should be set first. 1.) Attributes/Attribute Sets a.) In case you will define a custom attribute set, which is not available under: Catalog->Attributes->Manage Attributes (such as price breakdown)....
-
Magento's Block And Template
This blog is not the authors original, instead his notes on the key steps in playing with blocks and templates. Objective: To create a block that will call a template and will be displayed on the home page. Steps: 1.) Create a namespace inside the local...
Tech-Today