I enables "Display an optional quantity field in the Add to Cart form" to show quantity field with add_to_cart form .It working fine for authenticated users. But the problem is that the quantity field is not visible to anonymous users.

Please help me out.

Comments

longwave’s picture

If you are using page caching, perhaps you need to clear your cache for this to show up for anonymous users?

Priyanka Singh’s picture

i cleared my cache...still its not visible to anonymous users..

Priyanka Singh’s picture

One more thing i just noticed....that its working fine for products (showing quantity field for anonympus user)....but not for "product classes" (not showing quantity field for anonymous user)....

longwave’s picture

You can change the "display an optional quantity field" for each product class, by editing the content type. Perhaps that's turned off for your classes? Not sure why this is user related though, there are no permission checks on this field by default.

Priyanka Singh’s picture

From where can i change "display an optional quantity field" for product classes?? i didnt find it by editing content type for product classes...

Priyanka Singh’s picture

ok. i am using product power tools...n there i had selected the option "hide quantity and set default to 1" ...when i changed it to "show quantity" ...the quantity got reflected for anonymous users for new created products of product classes , but not for the old ones.

longwave’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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