Display all items in wishlist on 1.6 - magento

On the customers side the wishlist only displays 3 products, is there a way to display all of their products in their wishlist like in the admin? We are using Magento 1.6.

I assume you're referring to the sidebar wishlist, as the wishlist on the customer dashboard doesn't appear to have a limit.
On line 46 of app/code/core/Mage/Wishlist/Block/Sidebar.php you'll see the following line:
->setPageSize(3)
If you want to remove the limit entirely, comment out this line. Otherwise change the number on this line to whatever you'd like the new limit to be.
Note: I strongly recommend not changing the core file if you intend upgrading Magento in future. You can override the core version of the block by copying it to app/code/local/Mage/Wishlist/Block/Sidebar.php. Another, more future-proof alternative would be to create a block that inherits from this class in a custom extension and alter the layout files accordingly.

Go to wishlist/sidebar.phtml and add 'setPageSize(20)'
<?php foreach ($this->getWishlistItems()->setPageSize(20) as $_item): ?>

Related

Why is my wish list limited to one item?

Im using magento 1.9 and im having an issue with the wishlist, for some reason it will only let me have one item in my wishlist and when I goto add another item to the wishlist it replaces the item that was already in my wishlist, there is nothing in the configuration to limit the wishlist item im just a bit confused at why it would be doing this, any ideas ?
Right!!, after hunting the web to try and find a solution I have found a solution, you have to edit the file app/code/core/Mage/Wishlist/Model/Wishlist.php
find:
public function getItemCollection()
and change
$this->_itemCollection = Mage::getResourceModel('wishlist/item_collection')
->addWishlistFilter($this)
->addStoreFilter($this->getSharedStoreIds($currentWebsiteOnly))
->setVisibilityFilter();
to
$this->_itemCollection = Mage::getResourceModel('wishlist/item_collection')
->addWishlistFilter($this)
->addStoreFilter($this->getSharedStoreIds($currentWebsiteOnly));
this worked for me and im using magento 1.9.0.1
the source for this fix is here: http://www.magentocommerce.com/boards/viewthread/291225/
This is an out of the box feature, you do not need to edit any core code to fix this. Correction: You don’t have to edit any code
I had the same issue and found it was from an improper import of products and that website availability was incorrectly set.
It seems that Magento added a website filter on the wishlist collection to prevent items not available in a website from appearing in a customer's wishlist.
It also seems that items may not have a website value => which prevents wish list items from appearing (or just 1 item, the last one added).
How to fix it : Simply select your store products on catalog page, select ‘Update Attributes’ action and click on submit.
Select Websites panel and check your website in ‘Add Product To Websites’ block.
Reindex your data if necessary.
You can now add your products to your wishlist and see all of them in your wishlist. This is the proper solution and does not remove functionality from your Magento webstore.
Simply reindex everything in: System > Index management

Duplicated Magento Flat Rate module not showing on Checkout Page

I'm new to magento and i'm trying to create 5 Flat Rates. I followed the instructions on http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/duplicating_flat_rate_shipping_module
The flat rate modules are showing on the admin page as expected and values has been set on the Shipping Methods configuration screen. "Enabled" is set to yes. Prices has been set.
The flat rate modules is showing on admin but not on the checkout page. Please note that there are no errors on the error-logs.
I'm using Magento 1.7.0.2
Maybe your shipping tablerate is not correct. (There's no condition to show this method).
Look at 'shipping_tablerate' table on you database.
Also, if you want two or more flatrate method create an extension to simplify your work.
Use this guide to create the extension:
http://www.magentocommerce.com/wiki/5_-_modules_and_development/shipping/create-shipping-method-module
It too difficult have many flatrate shipping methods with 1 tablerate...

Update price on front end for configurable product - Magento

I have created a template in Magento and have added some configurable products. When you select the drop down, the change in price is displayed (eg +6) and this is reflected in the shopping cart.
However, I would like it to upadte the regular and special price on the product page. Is there a way to do this, or is it static html?
Cheers
http://www.titan.x-brand.co.uk/bath-panels/trojan-supastyle-750mm-acrylic-end-panel.html
Price and special price html is not hadr coded - it is changed by javascript Product.OptionsPrice (declared in app/design/frontend/base/default/template/catalog/product/view.phtml)
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
Implementation of the class is in javascript file js/varien/products.js
The function that should change the price is Product.OptionsPrice.reload
That JS object expects your price and special price html elements to be in certain hierarchy (
<span><span>...</span></span>
this is only an example what I mean by hierarchy) and the elements of this hierarchy must have certain class and id attributes that should not be removed or renamed.
Your changes to phtml files have caused this code to fail (if you inspect your page with firebug you'll notice that there are javascript errors present - not necessarily related to this issue but you should fix them).
The easiest way to start fixing this is that you copy the section of html, related to price, from default phtml file and reapply css once it works.
Also if you have changed the theme through admin (System->Configuration->Design->Package->Current Package Name) you could change it from 'your_theme' back to 'default' and see how it is supposed to work.

Magento translate tags

i have a magento installation wich works pretty well.
So far so good, i've set up different Store Views to manage the store in different languages.
Now, i have the following problem:
I've set up tags from the administration and assigned them to the different products in the different store views (let's say i assign the tag "Buch" to a Product in the german store view, i assign the tag "Book" to the same product in the english store view.
If then a user clicks on one of the tag-names it shows the list of products with the same tag.
But if he changes store-view then, magento keeps the same tag and says that there are no products with that tag.
This seems quite logically, because tags (as far as i understood) are not translatable.
What i want magento to do, is that if a user changes store-view in the list with the products, use a translation of the tag (lets say, a user sees all the products with the tag "buch" and changes the view to english, he sees all the products with the tag "book", or, if that is not possible, when changing store-view, that he always goes to the store homepage.
Thanks 100000 times in advance =)
The only solution I see is to translate tags manually. To do this you have to modify all occurrences of your tags in your templates. For example in template/tag/cloud.phtml replace
<?php echo $this->htmlEscape($_tag->getName()) ?>
with
<?php echo $this->htmlEscape($this->__($_tag->getName())) ?>
And then add the translation for each tag into app/design/frontend/[your-interface]/[your-theme]/locale/de_DE or any other language.
As an alternative solution you can create a custom module which will override $_tag->getName() function and add $this->__() in there.

Please specify the product's option(s) in Magento

Actually i am using Elias_configurablebundle plugin for the configurable product as associated of the Bundle Product and to display GRID* for the configurable associated products i am using magento mechanics grid. here i have merged both of the extensions it showing GRID on bundle view page but showing Please specify the product's option(s)* on click of the **Add To Cart.
Although everything is fine, no required field left to fill out, i have applied any single custom options for any of the product.
so here i want to remove this validation so then it will directly redirect to shopping cart page.
Thanks
Configurable products need to have their options chosen (say, color or size) in order to be added to the cart. Otherwise, there is no way to decide which simple product should be decremented from the inventory. So there is no way for you to "skip" selecting this information, other than hardcoding the selections for the configurable product.
If you do that, just use the simple products instead, and skip all the headache.
Thanks,
Joe
Another thing to check is that the options fields are actually inside the tags. Its fairly easy in Magento to move the option selects to a different column and not realize that you are moving them outside the add to cart form tags.
if the options are selected outside the form tags, then as far as the form is concerned no options have been selected.
Hope this helps someone down the road.

Resources