Author Topic: Add new weight type - CARAT  (Read 1358 times)

UsherNet

  • Beginner
  • *
  • Posts: 1
Add new weight type - CARAT
« on: February 26, 2012, 02:32:18 am »
How do I create a new weight type, specifically, CARAT.

Many thanks.

Paul

SamF

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 101
    • virtuext.com
Re: Add new weight type - CARAT
« Reply #1 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...