Author Topic: Variant values not stored in mail or database  (Read 391 times)

kermitfrog

  • Beginner
  • *
  • Posts: 11
Variant values not stored in mail or database
« on: January 03, 2019, 09:45:24 am »
Hi,

I'm using Joomla 3.9.1 und VM 3.4.2.

I have products with variants using the "multi variant" plugin.
For example a Shirt with variants of "color", so a custom label for color.

I do also have string fields for the size.

Since the last update, the labels for "multi variant" (but also if I use the "Generic child variant") are not stored in the mail or in the database.
The string fields however are stored.

The shopping cart displays everything correctly.

Attached you can see
1_backend:  the multi variant plugin and the product
2_frontend: the product and the cart (everything is correct here)
3_mail_backend: the mail and the Order information (the variants are missing)

It was working before the update.

Regarding the database table "virtuemart_order_items" I can see a difference between the older (working) and newer (not working) orders.
The older ones have stored in the "product_attribute"
Code: [Select]
{
    "73": {
        "1678": false
    },
    "71": "1703"
}
1678 is the list of child variants
1703 is the size

Now, the child variants seems empty
Code: [Select]
{
    "73": [],
    "71": "1703"
}
The size is still there, but the child variants are now only []



Kind regards!


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8892
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Variant values not stored in mail or database
« Reply #1 on: January 03, 2019, 11:57:52 am »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kermitfrog

  • Beginner
  • *
  • Posts: 11
Re: Variant values not stored in mail or database
« Reply #2 on: January 03, 2019, 12:26:56 pm »
is this the same problem? 

http://forum.virtuemart.net/index.php?topic=141797.0
Oh, yes. It is.

And it's true: If I delete all string attributes, the variant attribute is stored correctly.