hi every one ;
i'm very beginner in virtumart... i have a multitemplate website each template is associated with a category of products
the probleme is in the new products module , i have created a module for each template with using the category filter and choosing the category adequate
but the results are all the same ;the module bring me all products from all categories
plz any idea will be very welcome
thank you
You have to add a hidden input with an itemId for each instance of the module.
The template assignment is being done in specific menu items
Quote from: balai on May 06, 2012, 18:03:26 PM
You have to add a hidden input with an itemId for each instance of the module.
The template assignment is being done in specific menu items
thank you balai. :)
can you explain a bit more ... what file shoud i modifie :-[
I think you have to edit the helper.php of the module "mod_virtuemart_category".
You can create an extra parameter/field in the module's xml where you will give the itemID.
Then you will get that itemID in the module's helper.php and add it in a hidden input.
solved by setting the page containig the modules as "display categories" and select the adequate category
and assigne each product to the parent category as well
thank you :)