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.



Removing the 'No additional Charge' or price addition from a custom filed cart variant dropdown

Joomla's popular ecommerce extension, Virtuemart allows us to add variants of products and charge extra for those variants. You may have products that carry no additional charge such as different colors available, and by default Virtuemart will display a 'No additional Charge' message in the dropdown where your customer selects that variant. In this article we show you how to not display those extra prices or messages.

Removing the 'No additional charge'

The best way to achieve this is to add a langiage override. Language overrides allow us to replace any string constant declared in any of the language files with a custom version. In this case we want to replace the string value of 'No additional charge' with a blank, empty value.

Subscribe to this RSS feed

Contact us

Need a Joomla Expert?