VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: UsherNet on February 26, 2012, 02:32:18 am

Title: Add new weight type - CARAT
Post by: UsherNet on February 26, 2012, 02:32:18 am
How do I create a new weight type, specifically, CARAT.

Many thanks.

Paul
Title: Re: Add new weight type - CARAT
Post by: SamF on February 28, 2012, 08:55:36 am
How do I create a new weight type, specifically, CARAT.

Seems complicated. Seems like the weight units list, and units of measure list, is closed, and hardcoded here: \administrator\components\com_virtuemart\helpers\shopfunctions.php. Conversions are also limited to this closed list. Try to ask the Author.

The solution might be to create the new custom field "weight" for carats...