Us   Eu   Au Get in touch

[Fixed] Virtuemart 4 Custom Field Labels not displayed despite having show labels set to Yes

Recently we had a client project where we used Virtuemart 4 Custom Fields extensively for product attributes along with CSV Improved for product data import. Despite haaving the Custom Field setup for Show Labels set to yes, we would find that the labels were not showing up after importing new data. To solve this we accessed the database directly to find the setting which controls the visibility of the labels in for the custom field dropdowns we see on the single product page for Virtuemart.  

If we view the database table #__virtuemart_product_customfields we can see the field customfield_params contains a boolean variable showlabels=0 which we we need to switch to showlabels=1 for teh labels to appear on the frontend single product page again. If you have many records to update you could do this with a query, or manually if you have only a few to update. Remember to always have backups before running queries directly on your database or better yet, create a development or staging version to test your work on before deploying to a production environment. 

Updating VM4 field to show labels in custom fields

In this case we had just a few to change so we manually updated the variable to showlabel=1 and the resulting labels then showed as expected on the front end. 

Do you need help with a Joomla or Virtuemart problem? Get in touch for specialist help.

 

Read more...

Solving the vmError: updateStatusForOneOrder unknown virtuemart_order_id

When changing Order Status in Virtuemart you may see an error vmError: updateStatusForOneOrder unknown virtuemart_order_id which is caused by a small bug in the Virtuemart 4.0.4 package. It will be patched in the next version but in the meantime here's how you fix this Virtuemart Error.

vmError: updateStatusForOneOrder unknown virtuemart_order_id

Before you start, always remember to backup - make sure you have a verified backup of your Joomla Virtuemart software

Read more...
Subscribe to this RSS feed

Contact us

Need a Joomla Expert?