Magento reset product list view all - magento

Magento Version 1.7.0.0
right i'm trying to reset the product list count to the default value when customer changes category.
e.g.
Customer visits - Category A
Default products shown - 16
Selects View All
Views all products
Navigates to - Category B
Shows All not 16.
I know there is a way to change this in toolbar.php but this is modifying a core file that i'm trying to avoid. Any way i can do this without editing a core file?
cheers
Andy.

Just add that in your template file and it should do the trick :
Mage::getSingleton('catalog/session')->unsLimitPage();
Hope it helps!

Related

add 2 more attribute values to the magento order view page section

in the magento admin panel, if we go for Orders section
and if we click on one order, we can see the Product name and sku at the bottom.
i want to add 2 more attributes to the order section.
please help me to find solution.
thanks in advance.
Name and Sku attributes are added in the file app\design\adminhtml\default\default\template\sales\items\column\name.phtml
So you need to make changes there to add any other product attribute.

Display product in list using widgets in magento

I am working on magento home page and need display products on home page. I have used widgets to display products. I want to display product in list one by one but it shows in grid. Right now I am showing the products in list.
my code is :-
{{widget type="highlight/product_popular" title="special" products_count="3" template="highlight/product/grid.phtml" class_name="highlight-popular"}}
Using this code the product is shown in grid but actually I want to display it in list like:-
1. Product1
2. product2
Please, suggest how I can do this.
whatever you are putting in your grid.phtml - change it as suggested in
base/default/template/catalog/product/list.phtml as per list mode, code followed by it

Magento Go - Adding attribute above product description in Grid view

Im wanting to add the Brand name (or designer name in this case which i have made a new attribute for) just above the product description in the Category view (grid) but cant figure it out.
As its Magento Go i have no access to the code, other than XML updates for the category itself.
Ive looked everywhere and would value any help.
Thanks
If you are cant get to the template phtml codes, you can put it on by admin.
Open catalog / attributes / manage attributes, find your attribute and in the properties set to
Visible on Product View Page on Front-end
Used in Product Listing
But it will not be on position you want.
You can edit CSS for the template and set an absolute position for your attribute.
Next way is to add in the admin in category XML layout, but this you need to do for each category. (Custom Layout Update)

Magento Event Observer: modify CatalogSearch to include custom attribute

I was following the article (Customize Magento using Event/Observer) on the below link:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method#step_7
But not sure about the step 7. How could I do the step 7 on this article?
Step 7
Navigate to the product details page on the front end and observe that the new discount has taken effect. To be noted here is that, on all other screens where discounted price is required. An example here is the search results screen, where you would need to add this new attribute to the select query search attributes in method
Mage_CatalogSearch_Block_Result→_getProductCollection()
$_productCollection= $_productCollection->addAttributeToSelect('percent_discount');
Thanks in advance.
I think it would be a lot easier if you could just navigate to product attributes management and set 'Used in Product Listing' to 'Yes' this way, you are able to read the attribute value on product list page.

Magento - Adding quantity box to upsell / related products

I have a question regarding Magento. I want to be able to add a quantity box to the products that show up in the 'related products' list that is shown on the product detail page. This way a visitor can order a related item multple times instead of only once per action. I have been looking for a solution for this for over 2 weeks, but I can't seem to find anything usefull. Can anyone help me out?
Thanks in advance!
Think you need to edit this template: your_package/your_theme/template/catalog/product/list/upsell.phtml. If you do not have that file already in your theme, simply copy it in your theme and package following the rest of the path.
There you can add you Qty input box and add Add to Cart button and change the URL to include the qty. You should bear in mind that you may have also configurable/bundle products displayed as an up-sell, so you should cover these too.

Resources