Hello
Can anyone tell me how I limit the amount of products shown in the 'customers who bought this product also purchased.....' box?
Thanks
Hello
Can anyone tell me how I limit the amount of products shown in the 'customers who bought this product also purchased.....' box?
Thanks
In order to change the limit to the products you should make modifications to also_purchased_products.php, this file is located under the modules directory.
However, before making any changes, remember to first create a directory under modules with your template name and the file.
include/modules/YOUR_TEMPLATE/also_purchased_products.php
Open the file and make the changes to around line 25
Change the >1 to meet your needs...Code:// show only when 1 or more and equal to or greater than minimum set in admin if ($num_products_ordered >= MIN_DISPLAY_ALSO_PURCHASED && $num_products_ordered > 1) {
Be careful on interpreting that IF statement ...
There are two settings you can configure in your Admin ...
The setting in the Maximum Values for the maximum number to display is in the Configuration .... Maximum Values:
The limit on the Minimum Values to be displayed are in the Configuration ... Minimum Values:Also Purchased Products
Number of products to display in the 'This Customer Also Purchased' box
Also Purchased Products
Minimum number of products to display in the 'This Customer Also Purchased' box
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks Linda...As always you are right!
You were not wrong, exactly ... I was just more right ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks :) I changed it in the Admin as that was easier