In the Role price configuration I set the roles to 'anonymous user' and a custom role, I then edited an existing apparel product that had variations and set all three prices (base, anonymous, custom). When submitting the page it went blank, the following error shows up in the error log. The node does not get saved.

PHP Fatal error: Cannot use object of type stdClass as array in /mysite/modules/ecommerce/subproducts/subproducts.module on line 144, referer: http://agcsa.dev.aspedia.net/node/46/edit

Unfortunately I can't test on a clean installation at the moment, apologies if this turns out to be a false alarm.

Comments

robertgarrigos’s picture

Working on it. this module is not yet ready to work with subproducts.

robertgarrigos’s picture

Status: Fixed » Needs review

I've added subproduct support in the latest dev. If this is ok I will create a new 1.1 release

UPDATE: I've actually created a 5.x-2.x release for that, due to a mess I had with tags and branches :-(

robertgarrigos’s picture

Status: Active » Fixed

Status: Needs review » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.