Hi,

I want that the sku, title and state were visible to the anonymous users.
How can I show this fields?

thanks.

Comments

alfthecat’s picture

StatusFileSize
new19.25 KB
new30.06 KB

Having the same issue, also the image is hidden. Basicaly, only the quanity shows in the dialog.

I've checked permissions and even disabled SQL rewriting in the view. No luck.

See attached.

bojanz’s picture

Category: feature » support
Status: Active » Fixed

You need to give anonymous users the "view product of type X" (where X is your product type) or "view product of any type" permission.

Status: Fixed » Closed (fixed)

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

a.ross’s picture

Status: Closed (fixed) » Needs work

I'm having trouble getting this to work. I've granted the anonymous role access to view products of any type and also to the product types individually, but it's not working. Anything else that is required?

vasike’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Needs work » Needs review

could you please use the latest version of this module?
thank you.
i 100% confirm mister bojanz (#2) solution.

you could also check :
1. "Commerce add to cart confirmation" View : admin/structure/views/view/confirm_message_product_display/edit
2. and the View mode (Display) settings used in this View for the every product type
ex. for "default" Product type: admin/commerce/products/types/product/display/add_to_cart_confirmation_view
or
admin/commerce/config/product-variation-types/product/display/add_to_cart_confirmation_view - if Commerce Backoffice Product enabled

a.ross’s picture

I have an issue with this on our development environment, but not on our production environment. I have no clue how to reproduce it at this time... :/

jrviorato’s picture

Issue summary: View changes

I did the following:
On admin/structure/views/view/confirm_message_product_display/edit --> Advanced settings --> Query settings: Settings --> Disable SQL rewriting

Is this the right way to go? or do I have to solve an issue with my installation?

re8260’s picture

StatusFileSize
new172.02 KB

The solution is to give "VIEW" permissions for all roles to product variant type/s
Like in Drupal "Commerce kickstart".
check the screenshot from "Commerce kickstart" permissions

kickstart-permissions

tomtech’s picture

Status: Needs review » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.