News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart automatic related products

Started by Galaxy Lotus, May 04, 2013, 05:47:16 AM

Previous topic - Next topic

Galaxy Lotus

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!

PRO

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"


Galaxy Lotus

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!

Galaxy Lotus

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!

PRO

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"


Galaxy Lotus

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.

PRO

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