Author Topic: customfields not showing in cart  (Read 524 times)

johnknit

  • Beginner
  • *
  • Posts: 23
customfields not showing in cart
« on: May 25, 2022, 08:38:00 am »
After updating to the latest version the customfields of the first products are showing but after continue shopping and ordering a second (different version of the same product (child) the customfields of that second product are not showed in the cart.
What is happening?

Joomla! 3.10.6 Stable
VirtueMart 4.0.0 10645

Jumbo!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 815
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always latest
Re: customfields not showing in cart
« Reply #1 on: May 25, 2022, 09:25:47 am »
Try switching to any other template. It can be a template related issue.

johnknit

  • Beginner
  • *
  • Posts: 23
Re: customfields not showing in cart
« Reply #2 on: May 25, 2022, 10:31:49 am »
The cart tempate or the productdetails template ?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28314
  • Always on vacation
    • Jenkin Hill Internet
Re: customfields not showing in cart
« Reply #3 on: May 25, 2022, 11:00:27 am »
Try Protostar or VMBeez3 to rule out all overrides first.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart  4.0.2 10661 on Joomla 3.10.9 PHP 7.4.29

johnknit

  • Beginner
  • *
  • Posts: 23
Re: customfields not showing in cart
« Reply #4 on: May 25, 2022, 12:35:39 pm »
I disabled our template and activated beez3.
That gives no changes in beez3 happens the same.

johnknit

  • Beginner
  • *
  • Posts: 23
Re: customfields not showing in cart
« Reply #5 on: May 30, 2022, 16:51:01 pm »
Hello
I think the problem is in ?administrator/com_virtuemart/models/customfield.php

After i replaced it with a previus version the customfields are showed in the cart.

Please check the file for a bug.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10445
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: customfields not showing in cart
« Reply #6 on: May 30, 2022, 21:58:03 pm »
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

johnknit

  • Beginner
  • *
  • Posts: 23
Re: customfields not showing in cart
« Reply #7 on: June 01, 2022, 15:03:26 pm »
Thanks for the file.
I have tested it and the error is still there.
So the error is in /adminsistrator/models/customfields.php

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10273
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: customfields not showing in cart
« Reply #8 on: June 16, 2022, 23:48:07 pm »
Thank you for your report, I am going to check it
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

johnknit

  • Beginner
  • *
  • Posts: 23
Re: customfields not showing in cart
« Reply #9 on: June 22, 2022, 13:00:45 pm »
I found this issue in the log.
Perhaps the reasen for the error ?
2022-06-22 09:58:30 ERROR vmError: vmTable Error, $obj->{$xParams} is not a string <pre>#0  vmError() called at [/home/jojoknit/domains/dasle.nl/public_html/administrator/components/com_virtuemart/helpers/vmtable.php:606]
</pre>