Zen Cart Logo
Forums / All Other Contributions/Addons / Related Products

Related Products

Views: 11,549

Results 1 to 20 of 52
5 Mar 2010, 6:08 AM
#1
ravi_gulhane avatar

ravi_gulhane

New Zenner

Join Date:
Oct 2008
Posts:
5
Plugin Contributions:
1

Related Products

This module is to falicitate the users to upload attach other products to a specific product. This can be used in place of "Customers who bought this also bought" module, just this time you are in control of which products to be shown on which product page. This module works seperately without chnaging any core files, adds a option to upload add Related products for a product and show those products on product info page on the site.

Let me know in case of any problems with this..

5 Mar 2010, 7:30 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,180
Plugin Contributions:
0

Re: Related Products

Ravi Gulhane:

This module is to falicitate the users to upload attach other products to a specific product. This can be used in place of "Customers who bought this also bought" module, just this time you are in control of which products to be shown on which product page. This module works seperately without chnaging any core files, adds a option to upload add Related products for a product and show those products on product info page on the site.

Let me know in case of any problems with this..

Ravi,
Thank you for your contribution to the Zen Cart Forum.
Looks like a must add on for a few of my clients...

5 Mar 2010, 8:21 PM
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,099
Plugin Contributions:
56

Re: Related Products

This installed without problem and is very easy to use. Just found one teeny issue that's easily worked around:

When I first click on Catalog->Related Products, none of the products in the default category (id=1) are displayed. If I click on another category and then on the default, the default category's products are now displayed and all else works flawlessly.

Thanks for a useful mod.

4 Jun 2010, 1:54 PM
#4
ashely avatar

ashely

New Zenner

Join Date:
Apr 2010
Posts:
43
Plugin Contributions:
0

Re: Related Products

Ravi Gulhane:

This module is to falicitate the users to upload attach other products to a specific product. This can be used in place of "Customers who bought this also bought" module, just this time you are in control of which products to be shown on which product page. This module works seperately without chnaging any core files, adds a option to upload add Related products for a product and show those products on product info page on the site.

Let me know in case of any problems with this..

Thank you very much for this module. I really love it :)

I only have a question here. Is there any way to batch add related products to my existing products? Since I have 5000+ products recorded, it is quite difficult to manage the related products for them all...

Anyone can help?

Many thanks,
Ashely

8 Jul 2010, 1:42 PM
#5
horsetags avatar

horsetags

New Zenner

Join Date:
Jun 2009
Posts:
44
Plugin Contributions:
0

Re: Related Products

Hi Ravi

Is this ok to use with 1.3.9d?

TIA

Paul

19 Jul 2010, 9:31 PM
#6
elvis44 avatar

elvis44

New Zenner

Join Date:
Mar 2009
Posts:
25
Plugin Contributions:
0

Re: Related Products

I do not have a tpl_product_info_default.php in my template folder. I have a tpl_product_info_display.php. If I add the code to that file it makes all the product info go blank on the page....

19 Jul 2010, 9:36 PM
#7
elvis44 avatar

elvis44

New Zenner

Join Date:
Mar 2009
Posts:
25
Plugin Contributions:
0

Re: Related Products

elvis44:

I do not have a tpl_product_info_default.php in my template folder. I have a tpl_product_info_display.php. If I add the code to that file it makes all the product info go blank on the page....

Nevermind, I got it to work by adding the code from the install file rather than the code on the main page of the mod instructions and I added the code to the tpl_product_info_display.php file, not the tpl_product_info_default.php.

31 Aug 2010, 4:26 PM
#8
thecoolstinger avatar

thecoolstinger

New Zenner

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

Re: Related Products

It's because the code on the mod install page has _ instead of <, whereas the install text file has the correct code.

I don't have either tpl_product_info_default.php or tpl_product_info_display.php in my templates folder so i hope this works...

23 Sep 2010, 6:34 PM
#9
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: Related Products

First of all, thank you for this well needed mod. We are using it on v1.38a and it works great.

My only question is how does it get it's sort order and is there a way to sort them in a specific order?

thank you for any and all answers :smile:

betty

23 Sep 2010, 7:06 PM
#10
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: Related Products

Sorry, just came across another question.

I want ALL of the related products to show yet only 6 will show at a time.

Is there any way to change the mod to allow all of the related products to show at once?

thank you again,

betty

29 Sep 2010, 4:33 PM
#11
boutiquemusic avatar

boutiquemusic

New Zenner

Join Date:
Mar 2008
Location:
Lombard, IL
Posts:
11
Plugin Contributions:
0

Re: Related Products

Ravi,

I just installed the Related Products Mod. It works excellent. I also didn't have the tpl_product_info_default.php file but after trying the fixes in this thread, I got it to work.

I have an online music store and I was just using text links to lead people to "related products" such as cases for guitars. Now I can have a few icon links to help people find what they are looking for.

Thanks again! :clap:

11 Oct 2010, 3:21 PM
#12
horsetags avatar

horsetags

New Zenner

Join Date:
Jun 2009
Posts:
44
Plugin Contributions:
0

Re: Related Products

Hi Betty,

If you haven't found out yet about increasing the amount of products shown, it's in includes/extra_data_files/related_products.php

Paul

15 Oct 2010, 1:32 AM
#13
lj111970 avatar

lj111970

New Zenner

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
97
Plugin Contributions:
0

Re: Related Products

GREAT mod!!!

One small question but but it may not be related to the mod layout.

I like the table displaying where it is but how do I go about getting my "buy it now" button above it?

http://ljgdesign.com/index.php?main_page=product_info&cPath=1_5_28_31&products_id=106

I want the price and buy it now button on top of the table.

Thanks

26 Jan 2011, 3:43 PM
#14
oredayo avatar

oredayo

New Zenner

Join Date:
Oct 2010
Posts:
61
Plugin Contributions:
0

Re: Related Products

Ravi Gulhane:

This module is to falicitate the users to upload attach other products to a specific product. This can be used in place of "Customers who bought this also bought" module, just this time you are in control of which products to be shown on which product page. This module works seperately without chnaging any core files, adds a option to upload add Related products for a product and show those products on product info page on the site.

Let me know in case of any problems with this..

Hello Ravi,
Thank you for this great mod :hug:.
I started to use it and would like to know if their is a way to get a reciprocity between the related items. Because presently you can link a product toward others products but the destination product doesn't have links toward the product you come from.
Or you have to create it by hand :yuck:.
Regards.

12 Mar 2011, 4:51 PM
#15
brushwoodnursery avatar

brushwoodnursery

Zen Follower

Join Date:
Dec 2006
Posts:
199
Plugin Contributions:
0

Re: Related Products

Ravi- Thanks! This is a very good add-on, much needed. One of the things I think would be particularly useful would be to be able to display this only if the product is out of stock. When my customer comes to buy something by name, the last thing I want is to have them befuddled with choices that send them surfing around again.
So, can anyone tell me the proper IF statement to box this up?

<?php require($template->get_template_dir('tpl_modules_related_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_related_products.php');?>

like: IF product quantity < 1 { }?

Then, of course, the next step will be to allow only items in stock to appear in the list of related items. Don't want a frustrated customer.

22 Jun 2011, 11:51 AM
#16
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Related Products

HI,

I have just installed this mod, and even though everything looks like it's working, it's not showing up in the shop.

I assume it's to do with the following installation instructions.

3, Then copy the below code to your tpl_product_info_default.php file which is located in includes/templates/YOUR_TEMPLATE/templates/ (YOUR_TEMPLATE is your template name) or includes/templates/template_default/templates/ to the location you want the related products to display.

<?php require($template->get_template_dir('tpl_modules_related_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_related_products.php');?>

I don't have such a file in my template. I read in Ravi's Blog that it should be added in the file

tpl_product_info_display.php

Stuck again.... WHERE exactly should this be added ? :(

Can those that already have this mod installed and working please help, as it seems he is not around at the moment to give support.

thank you for your help

22 Jun 2011, 12:15 PM
#17
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,099
Plugin Contributions:
56

Re: Related Products

Dustie, here's the fragment of my tpl_product_info_display.php that has the Related Products included:

<!--eof Reviews button and count -->

<!--bof Related Products -->
<br class="clearBoth" />
<?php require($template->get_template_dir('tpl_modules_related_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_related_products.php');?>
<!--eof Related Products -->

<!--bof Prev/Next bottom position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 2 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php

Just locate the "<!--eof Reviews button and count -->" in your version of the file and copy the related-product's code there.

14 Nov 2011, 8:02 PM
#18
dstegall avatar

dstegall

New Zenner

Join Date:
Sep 2011
Posts:
30
Plugin Contributions:
0

Re: Related Products

I've followed the advice in this thread and the related products are still not showing up on the product page. Everything appears to be working fine in admin, just not showing up in cart.

Any ideas?

Faithfully,

Dawn
http://www.faithfullyyours.net

15 Nov 2011, 1:15 PM
#19
dstegall avatar

dstegall

New Zenner

Join Date:
Sep 2011
Posts:
30
Plugin Contributions:
0

Re: Related Products

dstegall:

I've followed the advice in this thread and the related products are still not showing up on the product page. Everything appears to be working fine in admin, just not showing up in cart.

Any ideas?

Faithfully,

Dawn
http://www.faithfullyyours.net

Nevermind, I figured it out. Was in wrong template folder. :blush:

17 Nov 2011, 6:03 AM
#20
andrewnguyen avatar

andrewnguyen

New Zenner

Join Date:
Mar 2011
Location:
VIC, AU
Posts:
64
Plugin Contributions:
2

Re: Related Products

:clap: Perfect Mod. I take me hat off for you Ravi. Installed and works at first try with your instructions. Running on 1.3.9h without any problem. Related Products should be included as part of Zencart. I would recommend anyone with Zencart should have this mod.