Jump to content

Products added to cart as user only


day_dreamer

Recommended Posts

you should be able to wrap it as follows

find in yourtheme/product.tpl

quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>



and change to

{if $logged}
quantity == 0} style="display:none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p>{/if}




should work but not tested, of course you will have to do the same with anywhere else that displays an add to cart button for examaplem featured products on homepage


regards



Chris

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...