Attribute Warning

Phoca Cart - complex e-commerce extension
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Attribute Warning

Post by amax2 »

Hello, I have an attribute problem.
I have added attributes to a product.
When I add the product to the cart without an attribute, I have no problem, the pop up "continue shopping" etc. appears. When I add the product to the cart with the selected attribute, the pop up does not appear and the selected product appears in the cart, but a

Code: Select all

Warning: Undefined property: stdClass::$operator_volume in /Applications/MAMP/htdocs/catalogo-phoca/administrator/components/com_phocacart/libraries/phocacart/cart/calculation.php on line 425

Code: Select all

Warning: Undefined property: stdClass::$operator_volume in /Applications/MAMP/htdocs/catalogo-phoca/administrator/components/com_phocacart/libraries/phocacart/cart/calculation.php on line 428
I tried to change all the parameters in option but it doesn't change anything.
these are the warning lines https://ibb.co/FWpb0xF

Thanks to Massimo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Attribute Warning

Post by Jan »

Hi, thank you for the info, this was already fixed in version 4.0.1 (now it is still in development version - in Beta version: https://www.phoca.cz/download/category/ ... -component )

Jan
If you find Phoca extensions useful, please support the project
amax2
Phoca Member
Phoca Member
Posts: 23
Joined: 05 Apr 2022, 11:24

Re: Attribute Warning

Post by amax2 »

great, i have updated and it works.
Thanks Max
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Attribute Warning

Post by Jan »

OK
If you find Phoca extensions useful, please support the project
Post Reply