Show Message On Product, Only For Users Not Logged In.


I've been looking to see if I can add a 'Login to see trade prices' message on the cart / products which is only displayed for people not logged in.

I could do this by selecting 'Hide Add to cart button' on the Allow shopping for unlogged customers and to change the text to say 'Login for trade prices'

However, I need both, so unlogged people can still add to cart but also have a message saying login for trade prices.

Does anyone know if this is possible?


I am afraid, this is not possible out of the box

You would need to utilize a hook for the position you want it with content similar to:

{if !$auth.user_id}
  your html content here

Suggest you put your hook in the my_changes addon.