gjkathome
-
Posts
20 -
Joined
-
Last visited
Posts posted by gjkathome
-
-
Since upgrading to 6.4.7, code I had which used cc_unserialize() to process the product_options field in the CubeCart_order_inventory table no longer works. Has the encoding of this field changed? (I'm afraid I don't remember what version I upgraded from).
Graham
-
Many thanks. I will try it.
-
I am using CubeCart to collect reservations for a meal. Customers can choose starters (£7), mains (£16) and desserts (£7). The venue requires that the minimum order is a main course + one other. Currently I have set the product price to zero and the option prices to £7 or £16 as appropriate. The mains options are required, starter and dessert options are not. That gets the pricing right but doesn't enforce the minimum order rule. Is there any way I can fix this?
Many thanks
Graham
Unserialize product options
in Technical Help
Posted
Turns out the field is base64 encoded. base64_decode() fixed the problem.
I don't know whether this change has to do with CubeCart or some other component of my system.