Hi
I published the products VM module so that customers can see the best selling items in each category. I would like to put a different background image in depending of VM category.
I have been testing in modules\mod_virtuemart_product\tmpl\default.php file but i can“t get the category id of VM to concatenate with the class 'vmproduct'. Something like this:
<ul class="vmproduct<?php echo $category->virtuemart_category_id?>">
but not works... $category->virtuemart_category_id is empty.
Anybody can help me?
Regards
http://forum.virtuemart.net/index.php?topic=94044.0
Thank you PRO.
Finally concatenated module ID by the following way:
<div class="vmgroup<?php echo $params->get( 'moduleclass_sfx' ) . $module->id; ?>">
Regards.
i thought u wanted the category id
Yes PRO, but then I thought to use different modules for each category and finally I did it that way.
Your reply was very useful, i'm glad you.
Regards.
Quote from: El_Loboo on April 02, 2013, 17:01:23 PM
Yes PRO, but then I thought to use different modules for each category and finally I did it that way.
Your reply was very useful, i'm glad you.
Regards.
http://www.kaizenmediaworks.com/virtuemart-template-and-module-control