VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: john1947 on January 17, 2012, 11:21:09 AM

Title: Is there a module - People who bought this product also liked these products
Post by: john1947 on January 17, 2012, 11:21:09 AM
Hi

I am using Joomla 1.7.3 and the latest Viruemart.

Is there a module like 'People who bought this product also liked these products'?

Thank you

John
Title: Re: Is there a module - People who bought this product also liked these products
Post by: PRO on January 17, 2012, 22:41:27 PM
What I am doing is

creating a specific footer module position on the product page.
http://www.kaizenmediaworks.com/virtuemart-template-and-module-control


THEN, use the product module, CHOOSE best sales, AND filter by category.

WHAT that does is shows products from the same category that have the best sales.
Title: Re: Is there a module - People who bought this product also liked these products
Post by: john1947 on January 17, 2012, 23:53:53 PM
Hi

That is very helpful - thank you.

John
Title: Re: Is there a module - People who bought this product also liked these products
Post by: SamF on February 20, 2012, 14:44:12 PM
Quote from: john1947 on January 17, 2012, 11:21:09 AM
People who bought this product also liked these products
Hello,

You may also try "child products" in VM 2.0 (or "related products" in VM 1.1 and VM2.0). Related products can not be bestsellers them self at all, but "people who bought this beautiful gun also liked these nice bullets")) Say, the charger for iPod is not included in the kit, but "don't forget to buy it, when you buy iPod". Logic like this...
Title: Re: Is there a module - People who bought this product also liked these products
Post by: orangia on February 20, 2012, 15:50:05 PM
SamF; have you used Child products in VM 2?
Please tell me how you used it!? I can't figure it out..
Thanks!
/ Johanna
Title: Re: Is there a module - People who bought this product also liked these products
Post by: SamF on February 22, 2012, 06:14:02 AM
Quote from: orangia on February 20, 2012, 15:50:05 PM
have you used Child products in VM 2?
No, I have not. They are not fully implemented yet, that is you can assign child products in the admin interface, but cannot see them in the product details view:
* @todo handle child products (components/com_virtuemart/views/productdetails/tmpl/default.php, line 10)
If related products will suite you, they are controlled in back end panel Products->Product->Custom Fields
Type in the search field, then choose the products or categories you think are "related", then click "Save". You will see the related products and categories at the bottom of product detail page.

And this is the line 351 in the product detail view, which prints the title "Related Products":
<h4><?php echo JText::_('COM_VIRTUEMART_RELATED_PRODUCTS'); ?></h4>
So, if you want another title, like "People who bought this product also liked these products", you need to change certain translation in the language file.

[attachment cleanup by admin]
Title: Re: Is there a module - People who bought this product also liked these products
Post by: Stanley76 on May 03, 2012, 21:23:59 PM
Quote from: BanquetTables.pro on January 17, 2012, 22:41:27 PM
What I am doing is

creating a specific footer module position on the product page.
http://www.kaizenmediaworks.com/virtuemart-template-and-module-control


THEN, use the product module, CHOOSE best sales, AND filter by category.

WHAT that does is shows products from the same category that have the best sales.

Hi

I will highly appreciate if you can elaborate what file should i modify in order to create a specific footer module position on the product page
Where exactly should i add the part of code :

<?php if (JRequest::getVar('view')=='productdetails') { ?>
<div id="productmod"><jdoc:include type="modules" name="productdetails" /></div>
<?php } ?>

Thnx
Title: Re: Is there a module - People who bought this product also liked these products
Post by: PRO on May 03, 2012, 21:43:54 PM
Quote from: Stanley76 on May 03, 2012, 21:23:59 PM
Quote from: BanquetTables.pro on January 17, 2012, 22:41:27 PM
What I am doing is

creating a specific footer module position on the product page.
http://www.kaizenmediaworks.com/virtuemart-template-and-module-control


THEN, use the product module, CHOOSE best sales, AND filter by category.

WHAT that does is shows products from the same category that have the best sales.

Hi

I will highly appreciate if you can elaborate what file should i modify in order to create a specific footer module position on the product page
Where exactly should i add the part of code :

<?php if (JRequest::getVar('view')=='productdetails') { ?>
<div id="productmod"><jdoc:include type="modules" name="productdetails" /></div>
<?php } ?>

Thnx

There is only 1 file that you can create joomla module positions in,

That is in your Joomla template.

PLEASE backup your files before trying things.

Title: Re: Is there a module - People who bought this product also liked these products
Post by: Stonedfury on June 16, 2013, 00:42:41 AM
Check this out and let me know http://forum.virtuemart.net/index.php?topic=115756.0