Always "Please sign in to buy" 306 -> 402

Hi all,

I have a problem:

After store import (from 306 to 402), unlogged customers always see “Please sign in to buy” and “This product cannot be added to the cart because you are not logged in” messages.

306 working correctly, but 402…

I can't enable unlogged customers to buy:

Settings → General → Allow shopping for unlogged customers: Allow - no change

When I set “Hide add to cart”, and “hide price and cart button”, same problem, no change.

Always please sign in to buy…

Cache cleared.

Any idea?

Best regards,







Change this row:

{if $settings.General.allow_anonymous_shopping == "allow_shopping" || $auth.user_id}


{if $settings.General.allow_anonymous_shopping == "Y" || $auth.user_id}


Config save to mysql. Possible values: Y, B, P;

Y = Allow anonymous, B = Hide add to cart, P = Hide price and add to cart;

Eh, don't work, only show the add to cart button, but don't work…

Strange, just got the same problem…

I have test copy of 4.0.2 on my subdomain, then imported product catalogue through csv.

Unlogged customers always see “Sign in to buy” button near the “Add to cart” button…


I don't know how, but problem disappeared…

I am having the same issue all of a sudden on 4.0.3. Can't get it to allow customers to add products to the cart unless they are logged in.

I have Settings → General → Allow shopping for unlogged customers set to “Allow” and have tried clearing the cache, template cache and tested it in multiple browsers as well.

I too tried to import some products via .csv ( I should mention that the import failed also ). Could this have been the cause of this random issue? and if so, does anyone have any thoughts on how to resolve this?

I have submitted this issue to the “Bug Tracker” which can be followed here:

I recently experienced the same issue while running 4.0.3. This was extremely frustrating as it cripples the cart!

The above suggestion by eroleves did change the text, however, it would not add the product to the cart. Toggling the Allow Unlogged Customers to shop settings still did no good. I also checked the database to make sure the settings were updating:

cscart_settings_objects.allow_anonymous_shopping = allow_shopping

I thought by some mircale that updating the cart would resolve this, so I upgraded from 4.0.3 to 4.1.1- this did not resolve the issue.

I endedup filing a ticket with Help Desk and they were able to resolve it! Here's what they did:

[quote]For some reason the values of these setting variants were incorrect in the cscart_settings_variants table of your CS-Cart database. I replaced them with the correct ones and the issue is resolved (please have a look at the screen shots attached). Please check it.[/quote]

I am attaching a screen shot of my cscart_settings_variants, hopefully this can help someone else resolve this issue in the future as I know how frustrating it is.

Screen Shot 2014-03-08 at 2.35.19 PM.png