VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Galaxy Lotus on May 04, 2013, 05:47:16 AM

Title: Virtuemart automatic related products
Post by: Galaxy Lotus on May 04, 2013, 05:47:16 AM
Hi,

Now I want to take automatic related products in virtuemart instead add in customfiled of item product.
Guide for me please!

Thanks so much!
Title: Re: Virtuemart automatic related products
Post by: PRO on May 05, 2013, 02:47:19 AM
create a module position on the "footer area"
or wherever you want them
http://www.kaizenmediaworks.com/virtuemart-template-and-module-control

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

Then assign the product module to the position "productdetails"

Title: Re: Virtuemart automatic related products
Post by: Galaxy Lotus on May 06, 2013, 04:32:38 AM
Hi,
Thank so much about guide for me add module in views of virtuemart. I am having knotty when want to add module in views.
However, I haven't module related product. Can you share for me that module?

Many thanks!
Title: Re: Virtuemart automatic related products
Post by: Galaxy Lotus on May 06, 2013, 06:04:07 AM
I want ask again: When I want to create a module position in views virtuemart, I have to cread in what file? It is "default.php" of views or file "index.php" of template?

Help me please!
Title: Re: Virtuemart automatic related products
Post by: PRO on May 06, 2013, 17:28:18 PM
Quote from: gabong226 on May 06, 2013, 06:04:07 AM
I want ask again: When I want to create a module position in views virtuemart, I have to cread in what file? It is "default.php" of views or file "index.php" of template?

Help me please!

module position are created in the JOOMLA template

&& did you install the "AIO" component?
That has all the modules?

&& its not a related products module, it's random, featured, etc.

Its called the "Product Module"

Title: Re: Virtuemart automatic related products
Post by: Galaxy Lotus on May 07, 2013, 10:14:16 AM
I install all com_virtuemart, include com_virtuemart and aio. In my site, I used module Virtuemart Product, so in product page, I want not use it again.
I want show other products of same category in product page. But I don't know how show them.
Title: Re: Virtuemart automatic related products
Post by: PRO on May 09, 2013, 15:53:05 PM
Quote from: gabong226 on May 07, 2013, 10:14:16 AM
I install all com_virtuemart, include com_virtuemart and aio. In my site, I used module Virtuemart Product, so in product page, I want not use it again.
I want show other products of same category in product page. But I don't know how show them.


In the product module

choose

"use category filter"

THEN, ONLY products in that category will be shown

Other than that, I cannot help you