News:

Support the VirtueMart project and become a member

Main Menu

How can I add a new measurement unit?

Started by panoss, September 03, 2016, 18:54:01 PM

Previous topic - Next topic

panoss

I need to add a new measurement unit for composite weight.
It 's gr/m^2, that is grammars per square meter, that's how carpets are measured.
I 'll have to create a variant field?

Then I 'll be able to add this new measurement unit?

How can I do this?
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panoss

GJC thank you for answering but what do you mean?
That the measurement unit should be a custom field?
Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

panoss

#4
That 's what I'm gonna do, at least I 'll give it a shot.
But I want this field (well in fact two fields, the 'composite weight' and it's measurement unit 'gr/m^2') to appear only in the category of Carpets.
I don't want it to appear in the other categories (e.g in 'Furnitures' there 's no need for such a field) how can I do this?

Edit:
I created a custom field, it appears only if I set a value in the Product 's>Custom Fields> at the bottom of the page.
So I don't have to choose in which categories the field will appear, I only have to choose the products.
Do I understand it correctly?

Virtuemart 3.2.4 on Joomla! 3.8.0

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation