How can i hide the "Choose a product variant first" in drop down menu in custom

Started by gsivaprabu, November 28, 2014, 08:46:28 AM

Previous topic - Next topic

gsivaprabu

How can i hide the "Choose a product variant first" in drop down menu in custom field?

Refer:-

Custom Field Type: Generic child variant



Version:-

Joomla! 2.5.27
VirtueMart 2.6.12.2

regards,
@gsivaprabu

[attachment cleanup by admin]
-Sivaprabu Ganesan

jenkinhill

@gsivaprabu it looks like you are using a commercial template override, so the simplest solution to removing the text is to use a language override. You can either change the text to an empty string, or (as I have done for a client) change the text to read "Select:" - or whatever suits you.
http://forum.virtuemart.net/index.php?topic=113895.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

Have also seen on some templates this inserted by JS

e.g.


jQuery('select#field0custom_value ').prepend('<option selected=\"selected\" value=\"#\">Choose a product variant first</option>');
});


check your template
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