Author Topic: Add text to the inputbox box of a custom field.  (Read 3013 times)

barcasam7

  • Beginner
  • *
  • Posts: 12
Add text to the inputbox box of a custom field.
« on: July 04, 2014, 13:46:12 pm »
I have encountered this problem - Info: To add this product into your cart you have to select a product variant on the details page. I found the problem. On my website we add personalizations which is a custom attribute. In the custom attribute if this left empty it won't be added to the cart. Howerver, if you type in any character it allows you to add to the cart. So I want to have text already in the customer attribute box so there is no problems.

Regards Sam

GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7442
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Add text to the inputbox box of a custom field.
« Reply #1 on: July 04, 2014, 14:11:10 pm »
a long while since I worked on VM1.1 but is there "default" value you can use in your custom field?
Or find the file that generates it (in theme somewhere from memory) and add a value="fill in option" or what ever to the text field
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation