News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

[solved] VM Search module - Results do not use product override

Started by suvel, November 01, 2018, 00:53:37 AM

Previous topic - Next topic

suvel

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  :'(.

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

suvel

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