Vinai / groupscatalog2

Magento extension to enable you to hide categories and products from customers depending on their customer group. This is a Magento 1.6 and newer compatible version of the Netzarbeiter Customer Groups Catalog extension.
139 stars 59 forks source link

Error with a configurable product in the cart. #140

Closed diwakert closed 7 years ago

diwakert commented 7 years ago

Hi Vinai,

I was trying out your extension for my project where client had similar requirements which this extension seems to address nicely. However, while testing I got stuck with an issue.

I did check the list of issues for similar reported issues but haven't found any. Hope that you can point me in the right direction.

It seems to be with configurable product types. Test case is below:

Attached is the first stack trace of the broken cart page. issue_configurable_item_in_cart

This second attached stack trace got generated when I tried to revert back the Hide from Groups setting to DEFAULT as cart page was fine before I hide the product from current customer group. But cart remained broken.

issue_with_products_customer_group

diwakert commented 7 years ago

Update: It was due to another extension. The code was stuck calling collectTotals function on quote object in a loop. Thanks for the great extension!

Vinai commented 7 years ago

Thanks for the update!