Hello,
VM 2.6, J 2.5.14
Which .php file is rensponsible for displaying products on front page in a group "latest products"?
I want to keep the same look of product display both when browsing category and on home page, where I use core function - latest products.
Someone somewhere wrote, that the .php file is: template/html/mod_virtuemart_product/default.php, but changing it doesn't work for me, even if I make a bug per purpose.
Thanks in advance. Otherwise, maybe there is better way to display 30-40 cross-category products list on shop's homepage?
Thanks in advance!
Template to display each product in latest (and featured, top ten & recently viewed) is components/com_virtuemart/views/virtuemart/tmpl/default_products.php
Thank you very much! ;D
I am.grateful {happines-level:highest;}
Hello jenkinhill,
I am using VM 2.6.10 and the file you mentioned is not working for me. Changes in this file do not change the looking of the product list with the latest products!
So I am still searching for the correct php file.
Regards,
Frank
Then you must be using template over rides
look in your templates/YOUR_TEMPLATE/html/com_virtuemart folder
Yey, I am using template over rides but not for this file.
Regards,
Frank
well if you change it you should... :)
I have now copied the file "default_products.php" from
/components/com_virtuemart/views/virtuemart/tmpl/default_products.php
to
/templates/<templatename>/html/com_virtuemart/default_products.php
I now made some changes in this file but the changes I made are not being used in the module "latest products". :(
So what is going wrong here?
Quote from: FrankWe on September 16, 2014, 12:21:33 PM
I have now copied the file "default_products.php" from
/components/com_virtuemart/views/virtuemart/tmpl/default_products.php
to
/templates/<templatename>/html/com_virtuemart/default_products.php
I now made some changes in this file but the changes I made are not being used in the module "latest products". :(
So what is going wrong here?
I think you're missing the subdirectory name in your override location: you need to add /virtuemart/ - thus: /templates/<templatename>/html/com_virtuemart/virtuemart/default_products.php
QuoteI think you're missing the subdirectory name in your override location: you need to add /virtuemart/ - thus: /templates/<templatename>/html/com_virtuemart/virtuemart/default_products.php
exactly right --