Forums / General Questions / customers who bought this product also bought

customers who bought this product also bought

Locked

Views: 9,567

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
15 May 2006, 11:27 AM
#1
sassy avatar

sassy

New Zenner

Join Date:
Apr 2006
Posts:
17
Plugin Contributions:
0

customers who bought this product also bought

I'd like this on my Cart.
Can anyone help? I've seen it on other sites!

15 May 2006, 8:06 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

This is automatic based on orders ...

As orders are made this will build itself ...

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!

21 Jun 2008, 2:33 PM
#3
ninab avatar

ninab

New Zenner

Join Date:
Jun 2008
Posts:
6
Plugin Contributions:
0

Re: customers who bought this product also bought

How can this feature be turned on and off?

21 Jun 2008, 7:00 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

Peek in the Configuration ... Maximum Values ...

Also Purchased Products
Number of products to display in the 'This Customer Also Purchased' box

0 would turn this off ... :smile:

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!

21 Jun 2008, 7:48 PM
#5
ninab avatar

ninab

New Zenner

Join Date:
Jun 2008
Posts:
6
Plugin Contributions:
0

Re: customers who bought this product also bought

Thank you :)

22 Jun 2008, 4:04 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

You are most welcome ... thanks for confirming that this worked for you ... :smile:

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!

13 Dec 2008, 3:28 AM
#7
winterknight avatar

winterknight

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Re: customers who bought this product also bought

"Number of products to display in the 'This Customer Also Purchased' box"

That is a terrible and inaccurate description. Unless there really is a box that says "This Customer Also Purchased." But that wouldn't make any sense.

Linda, can you confirm that the "Also Purchased Products" does what I think it does, and that that description is inaccurate?

13 Dec 2008, 4:10 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

Not sure how else you can describe it ... :unsure:

You set it to 7 and when products are purchased together you will see 1 to 7 things show up as things are purchased together ...

Set it to 9 and you will see 1 to 9 things as products are purchased together ...

The value set is the Maximum number of Products that were Also Purchased together that you want to have displayed as orders are made ...

NOTE: you have to have orders with products that were also bought together for this box to appear ... get it? :smile:

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!

18 Feb 2009, 2:56 AM
#9
davemehta avatar

davemehta

Zen Follower

Join Date:
Aug 2005
Posts:
130
Plugin Contributions:
0

Re: customers who bought this product also bought

I am using the latest Zen 1.3.8.1. The "Customers who bought this product also purchased..." starts to show this for an item, and then I get the error:

1065 Query was empty
in:
[]

Can someone help me resolve this as it's breaking my product pages that show "Customers who bought this product also purchased..."

20 Nov 2009, 3:53 AM
#10
tagyourbaby avatar

tagyourbaby

New Zenner

Join Date:
Feb 2008
Location:
Auckland, NZ
Posts:
53
Plugin Contributions:
0

Re: customers who bought this product also bought

Bump any news on the query issue i have the same problem!

14 Jan 2010, 10:00 AM
#11
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: customers who bought this product also bought

Hi,

The 'Also Purchased Products' module that appears on product pages doesn't show prices beneath the also purchased products. For example...

tradersupplies . co . uk /display-equipment/display-hooks/25mm-hook-hanger-chrome-finish

Anyone know how I can add a price? I tried to alter the file includes > modules > also_purchased_products.php around line 36 to append $products_price; onto the end but it displays 0.00 on every product.

14 Jan 2010, 10:51 PM
#12
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: customers who bought this product also bought

Anyone? I can't imagine this is a big change in the code. The other modules like 'new products' and 'featured products' have the prices displayed as standard beneath the description... it's just Also Purchased Products where it's missing.

19 Jan 2010, 12:02 AM
#13
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: customers who bought this product also bought

bump, anyone?

20 Jan 2010, 4:48 PM
#14
timdwyer42 avatar

timdwyer42

Zen Follower

Join Date:
Apr 2009
Posts:
149
Plugin Contributions:
0

Re: customers who bought this product also bought

I like this feature but for me at least it's working incorrectly. When displaying the also bought product it displays the price of the item that you are currently viewing as the price of the also bought item :/

20 Jan 2010, 6:45 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

Sounds like you have customized the code, as by default the Also Purchased does not show the price ...

Have you customized the code? :unsure:

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!

21 Jan 2010, 5:36 PM
#16
shavingessentials avatar

shavingessentials

New Zenner

Join Date:
Oct 2009
Posts:
4
Plugin Contributions:
0

Re: customers who bought this product also bought

I have the same issue with the "Also Purchased" module displays the same price of the current item being viewed.

You can see this here:http://www.shavingessentials.biz/index.php?main_page=product_info&cPath=75&products_id=378

I am using a purchased custom template and running 1.3.8a.

I know how to turn the module off, but I would like to keep it, preferrably with the correct prices.

Thanks!

21 Jan 2010, 11:24 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

You would need to check the code to see what it is using for the products_id for getting the price ...

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!

21 Jan 2010, 11:33 PM
#18
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: customers who bought this product also bought

Ajeh:

You would need to check the code to see what it is using for the products_id for getting the price ...

Hi Linda, can I bring your attention to this thread :smile:
http://www.zen-cart.com/forum/showthread.php?p=830694#post830694

I've been trying to add the price beneath products in the "customers who bought this product also bought" section and I'm really struggling. I've looked through the original code in also_purchased_products.php and it doesn't make any mention of $products_price like the other modules like 'new products' and 'featured products' do. ...hopefully that makes sense?!

22 Jan 2010, 2:49 AM
#19
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: customers who bought this product also bought

By default, Also Purchased module does not display a price ...

You can, however, customize this module by copying it to your templates and overrides directory and changing the code:

      $products_price = zen_get_products_display_price($also_purchased_products->fields['products_id']);
      $also_purchased_products->fields['products_name'] = zen_get_products_name($also_purchased_products->fields['products_id']);
      $list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsAlsoPurch"' . ' ' . 'style="width:' . $col_width . '%;"',
      'text' => (($also_purchased_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($also_purchased_products->fields['products_id']), 'products_id=' . $also_purchased_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $also_purchased_products->fields['products_image'], $also_purchased_products->fields['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($also_purchased_products->fields['products_id']), 'products_id=' . $also_purchased_products->fields['products_id']) . '">' . $also_purchased_products->fields['products_name'] . '</a>' . '<br>' . $products_price);

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!

22 Jan 2010, 6:20 PM
#20
dunk avatar

dunk

Zen Follower

Join Date:
Dec 2007
Location:
London
Posts:
184
Plugin Contributions:
0

Re: customers who bought this product also bought

Fantastic! Thank you Linda, works perfectly.
I can't help but think that the price should be displayed by default though. Matter of opinion I guess :clap: