News:

Support the VirtueMart project and become a member

Main Menu

Product drop down child out of stock

Started by positronio, April 25, 2017, 15:17:12 PM

Previous topic - Next topic

positronio

Hello I use virtuemart 3.2. In the drop down menu using variants I would like the child products that are not in stock to have a red font color or be inactive. I think this is essential for virtuemart. Can anyone guide me where is the php file that i should customize.

GJC Web Design

think "type A' in   around components\com_virtuemart\sublayouts\customfield.php  ~ line 298

foreach ($uncatChildren as $k => $child) {

which forms the options for the select - over ride the file
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

balai