Author Topic: Custom weight data for orders  (Read 1007 times)

sandomatyas

  • Jr. Member
  • **
  • Posts: 376
Custom weight data for orders
« on: January 21, 2022, 12:46:28 pm »
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

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1542
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Custom weight data for orders
« Reply #1 on: January 21, 2022, 15:05:57 pm »
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

  • Jr. Member
  • **
  • Posts: 376
Re: Custom weight data for orders
« Reply #2 on: January 21, 2022, 15:11:24 pm »
sure this is a way but I was wondering if there is some more update-proof method :)

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1542
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Custom weight data for orders
« Reply #3 on: January 21, 2022, 17:20:22 pm »
Im wondering every day :)
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

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4656
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Custom weight data for orders
« Reply #4 on: January 22, 2022, 11:51:20 am »
You can add a hidden user field in Virtuemart and you can edit it directly.
This can be a solution ?