Hello all,
Using php 7.1.21 - Joomla 3.9.0 - Virtuemart 3.4.2
At product settings I have set a product override to remove the "addtocart"-button. When I use VM Search module the search results return with a list where it seems that the override set at the product is ignored ("addtocart"-button visible). Does somebody has the same experience and knows how to solve this?
Thx...
[edit].. did some reseach and found out that the result list generated by VM Search module uses the sublayout products.php and obviously not the product override layout. List result is build by url and i'm afraid it is not possible to override the view for only specific products :'(.
Quoteuses the sublayout products.php
exactly ... the same as any category view of products
so u need to over ride the products.php in your template and make your changes there
Quoteso u need to over ride the products.php in your template and make your changes there
Thx for the confirmation.
Made override products.php to remove the "addtocart"-button for the specific category