VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Beachalog on May 23, 2020, 22:36:04 PM

Title: Price / COM_VIRTUEMART_UNIT_SYMBOL_ on storefront?
Post by: Beachalog on May 23, 2020, 22:36:04 PM
Hi,

Just started building a Virtuemart store, and there seems to be a problem with the language file.

I've checked the config, and I have set the default units, but when I create products, I see this: Price / COM_VIRTUEMART_UNIT_SYMBOL_

See attached.

How do I fix this? I saw someone said to change price per unit in the config, but I can't figure out where to do that!

Thanks!
Title: Re: Price / COM_VIRTUEMART_UNIT_SYMBOL_ on storefront?
Post by: GJC Web Design on May 23, 2020, 22:39:47 PM
must be a config problem on your product -- have u selected a unit as in:

COM_VIRTUEMART_UNIT_SYMBOL_100G="100 g"
COM_VIRTUEMART_UNIT_SYMBOL_100MG="100 mg"
COM_VIRTUEMART_UNIT_SYMBOL_100ML="100 ml"
COM_VIRTUEMART_UNIT_SYMBOL_CM="cm"
COM_VIRTUEMART_UNIT_SYMBOL_CUBM="m³"
COM_VIRTUEMART_UNIT_SYMBOL_FOOT="ft"
COM_VIRTUEMART_UNIT_SYMBOL_G="g"
COM_VIRTUEMART_UNIT_SYMBOL_INCH="in"
COM_VIRTUEMART_UNIT_SYMBOL_KG="kg"
COM_VIRTUEMART_UNIT_SYMBOL_L="l"
COM_VIRTUEMART_UNIT_SYMBOL_LB="lb"
COM_VIRTUEMART_UNIT_SYMBOL_M="m"
COM_VIRTUEMART_UNIT_SYMBOL_MG="mg"
COM_VIRTUEMART_UNIT_SYMBOL_ML="ml"
COM_VIRTUEMART_UNIT_SYMBOL_MM="mm"
COM_VIRTUEMART_UNIT_SYMBOL_OUNCE="oz"
COM_VIRTUEMART_UNIT_SYMBOL_P="pc"
COM_VIRTUEMART_UNIT_SYMBOL_PIECE="piece"
COM_VIRTUEMART_UNIT_SYMBOL_SM="m²"
COM_VIRTUEMART_UNIT_SYMBOL_YARD="yd"

or u need to create a lang constant if u have a unique unit