Zen Cart Logo
Forums / Upgrading to 1.5.x / Customers Also Purchased Maximum

Customers Also Purchased Maximum

Views: 2,873

Results 1 to 12 of 12
22 Sep 2016, 1:59 PM
#1
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Customers Also Purchased Maximum

Morning Zen Cart Team,

Just updated from 1.5.3 to 1.5.5a and noticed on product pages the "Customers who bought this product also purchased..." section is displaying 50 items when it was formerly limited to 6 items.

Did something change in 1.5.4 or 1.5.5 regarding this setting/display?

Best,
Shannon

22 Sep 2016, 4:37 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Customers Also Purchased Maximum

srlaird:

Morning Zen Cart Team,

Just updated from 1.5.3 to 1.5.5a and noticed on product pages the "Customers who bought this product also purchased..." section is displaying 50 items when it was formerly limited to 6 items.

Did something change in 1.5.4 or 1.5.5 regarding this setting/display?

Best,
Shannon

What are the settings in your admin for: Configuration -> Maximum Values, Number of products to display in the 'This Customer Also Purchased' box, and Configuration -> Product Info, Also Purchased Products Columns per Row?

The first one limits the total number of product to display (or should depending on template) and the second of how many product to allow into a row such that the maximum number above is not exceeded.

22 Sep 2016, 7:41 PM
#3
srlaird avatar

srlaird

New Zenner

Join Date:
May 2010
Posts:
74
Plugin Contributions:
0

Re: Customers Also Purchased Maximum

The settings are 6 products max, 3 per row. Testing further, we don't see the issue on the new theme we are installing, or on the default ones that come with 1.5.5a, so we will assume it is with our old template. Thank you for your time. We can close this thread.

22 Sep 2016, 8:04 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Customers Also Purchased Maximum

srlaird:

The settings are 6 products max, 3 per row. Testing further, we don't see the issue on the new theme we are installing, or on the default ones that come with 1.5.5a, so we will assume it is with our old template. Thank you for your time. We can close this thread.
Yes the file that is responsible for limiting the number of items is overrideable as a template file and could be the reason that aspect was not as expected. Glad that things otherwise have worked out for you.

13 Feb 2017, 7:25 AM
#5
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: Customers Also Purchased Maximum

mc12345678:

Yes the file that is responsible for limiting the number of items is overrideable as a template file and could be the reason that aspect was not as expected. Glad that things otherwise have worked out for you.
I'm having the same issue, my template is Responsive Sheffield Blue. Any idea what file to edit to limit this number?

13 Feb 2017, 4:33 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Customers Also Purchased Maximum

ttfan:

I'm having the same issue, my template is Responsive Sheffield Blue. Any idea what file to edit to limit this number?
I haven't looked into the files modified by Responsive Sheffield Blue versions 1 or 2, but most likely the file of concern is: includes/modules/YOUR_TEMPLATE/also_purchased_products.php

There is some new logic in the default version of the file (includes/modules/also_purchased_products.php) to address the modifications made in the random query results and the new style available to manage database query results.

14 Feb 2017, 2:38 AM
#7
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: Customers Also Purchased Maximum

Thank you, I'll start looking there.

14 Feb 2017, 4:56 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Customers Also Purchased Maximum

ttfan:

Thank you, I'll start looking there.

Not a technical comment, but a UX comment...

We have had 3 or 4 user panels evaluate features on our sites for a number of years now, to test-drive the sites and to comment / advise on the UX. In almost all evaluations, members of these panels have reported being either disinterested in, or annoyed by, internal "advertising" features such as "you may be interested in..." , "Customers Also Purchased..." and the ever popular (amongst store owners) "sliding banners and carousels.

And the less-relevant the "internal ad", the more it has irritated people. So randomising the product showcase could end up annoying visitors, rather than help them.

We have implemented plugins such as "better together..." by swguy where we are in far better control of internal adverts, and the customers like this. We can customise it product-by-product and while this takes some effort, at least we are not irritating customers with boot-in-the-face irrelevancies.

14 Feb 2017, 11:57 PM
#9
ttfan avatar

ttfan

Zen Follower

Join Date:
Jul 2010
Location:
Australia
Posts:
231
Plugin Contributions:
0

Re: Customers Also Purchased Maximum

Thanks schoolboy, very useful research, I'll look into that!

9 Aug 2017, 4:14 PM
#10
fbroz avatar

fbroz

New Zenner

Join Date:
Mar 2008
Posts:
35
Plugin Contributions:
1

Re: Customers Also Purchased Maximum

I'm also seeing this, has anyone found a resolution?

I'm on zc 1.5.5e and have installed several plugins (SBA, COWOA, Sitemap XML, Ultimate SEO Urls, Testimonials Manager, Static RSS Sidebox)

I am using the Winchester Default Template, and when I switch back to the responsive classic template I don't have the problem. Winchester Responsive doesn't seem to override the tpl_modules_also_purchased_products.php file, so I don't think it is a problem with Winchester Responsive.

Here is a link to what I am seeing:

https://www.tokyopenshop.com/shop2/gel-ink-pens-c-11/energel-philography-p-1329.html

Thanks!

9 Aug 2017, 6:36 PM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Customers Also Purchased Maximum

If it's displaying 50 items instead of whatever you've set for a maximum, then you're using an old version of /includes/modules/also_purchased.php (or have an override in /includes/modules/YOUR_TEMPLATE_NAME/also_purchased.php that's based on an old version).

Solution: Use the file that came with your version of Zen Cart.
If you've got an outdated override version, update its contents to work with the new logic that's supposed to be in it. Or just delete the override copy to revert back to default.

10 Aug 2017, 4:06 PM
#12
fbroz avatar

fbroz

New Zenner

Join Date:
Mar 2008
Posts:
35
Plugin Contributions:
1

Re: Customers Also Purchased Maximum

DrByte:

If it's displaying 50 items instead of whatever you've set for a maximum, then you're using an old version of /includes/modules/also_purchased.php (or have an override in /includes/modules/YOUR_TEMPLATE_NAME/also_purchased.php that's based on an old version).

Solution: Use the file that came with your version of Zen Cart.
If you've got an outdated override version, update its contents to work with the new logic that's supposed to be in it. Or just delete the override copy to revert back to default.

Thanks Dr. Byte! It was an override in my Winchester Responsive template. Removing the override has restored the functionality.