day_dreamer Posted June 19, 2010 Share Posted June 19, 2010 Hi,Do you guys have any ideas how to make the "add to cart" option be available for the registered users only? Link to comment Share on other sites More sharing options...
bartman Posted June 19, 2010 Share Posted June 19, 2010 you should be able to wrap it as followsfind 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 homepageregardsChris Link to comment Share on other sites More sharing options...
Ioana Russo Posted July 3, 2010 Share Posted July 3, 2010 Hi,Do you guys have any ideas how to make the "add to cart" option be available for the registered users only? DID YOU SOLVED THE PROBLEM ? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now