Using Kickstart 2.
From the Product Display page. When someone hits the Add To Cart button, the Add To Cart Confirmation overlay only appears when someone is assigned the Admin role. Everyone else gets no indication that an item has been added to the cart.
It's not merely enough to have the Admin Overlay menu enabled. You have to be the actual administrator role.
The Add To Cart Confirmation JS appears to be loaded for all authenticated users and the Rule fires for all users... apparently the js isn't matching with the expected class, but I haven't gotten further than that.
Any ideas? How do I troubleshoot this?
Comments
Comment #1
suntower CreditAttribution: suntower commentedComment #2
suntower CreditAttribution: suntower commentedComment #3
suntower CreditAttribution: suntower commentedComment #4
rickycheers CreditAttribution: rickycheers commentedHi! Were you able to solve the issue?
We just had a similar problem, hope our solution also works for you. It turned out that the "anonymous" user was removed some how (we're not sure why yet), so, we had to take it back into the DB and the problem was solved.
This is what you need to execute in MySQL to create it again.
For further information in how to restore the anonymous user, see the following documentation.
https://www.drupal.org/node/1029506
Comment #5
ultrandy89 CreditAttribution: ultrandy89 commentedI also have this problem, I have user 0 and ran the query above just in case. I looked on page and js/css are loaded for my other roles, it just does not work.
Comment #6
oscarpc CreditAttribution: oscarpc as a volunteer commentedI just had the same problem. The reason was that I enabled the "Disable messages" module. This module removes permission to all roles except admin, to view messages, and allows to give permission per role, to see messages type 'status', 'warning' and 'error'. However all other personalized messages are hidden.
Add To Cart Confirmation sends the message via drupal_set_message ('....', 'commerce-add-to-cart-confirmation') in one of the last lines of commerce_add_to_cart_confirmation.rules.inc and therefore this custom message type "commerce-add-to-cart-confirmation" was hidden.
In general, any code or module that prevents you from displaying messages, either general or custom message type, can cause this problem.
Comment #7
deggertsen CreditAttribution: deggertsen commentedIs this an issue on the dev version as well? Has anybody tried it?
Comment #8
deggertsen CreditAttribution: deggertsen commentedClosing RC2 issues. If this is still a problem in RC3 please reopen and change to rc3.