News:

Support the VirtueMart project and become a member

Main Menu

Custom weight data for orders

Started by sandomatyas, January 21, 2022, 12:46:28 PM

Previous topic - Next topic

sandomatyas

There is a shop where the products dont't have specific weight. It sells plants and every plant has different weight.
But the delivery company asks the product weight. It's based on the content (several type of plants and every plant is different) and the packaging.
We know how much the package weights and should store this value to the order (1 order = 1 package).
The site has API communication to the delivery company, so the question is if it is possible to store some custom data (weight or maybe other custom info) to every order somehow? It should be hidden from the customer.

pinochico

create new value in DB orders
add to model orders
add input to view oder detail in admin
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

sandomatyas

sure this is a way but I was wondering if there is some more update-proof method :)

pinochico

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

Studio 42

You can add a hidden user field in Virtuemart and you can edit it directly.
This can be a solution ?