Wednesday, November 27, 2013

How to change number of upsell products in magento

By default there are 4 of upsell products displayed on the product view page.


magento_number_of_upsell_products_changing_1


In order to change the number:


    1. You need to connect to FTP using the File Manager  and go to the \app\design\frontend\default\theme###\layout directorywhere theme### is the unique name of your theme.

    2. Open a file called catalog.phtml to edit.

    3. Find the following code in around line 206 that runs:

      <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>

       




    4. Change 4 to a different number and save the changes.

magento_number_of_upsell_products_changing_2


    1. Make sure to clear Magento/browser cache.

    2. Open the product preview page to see the changes.

magento_number_of_upsell_products_changing_3



How to change number of upsell products in magento

No comments:

Post a Comment