Re: View Only - Until logged in
Had a look at your thread which makes sense....altered
customer/main/product.tpl - I have made some minor changes to the templates in the past in terms of positioning and coding I can cope with at a minor level at the beginning and then I seem to pick it up quick.
So I opened the template with Notepad ++ and found the code for Add to Cart and pasted you code top and bottom.
{if login ne ""}
<form name="orderform" method="post" action="cart.php?mode=add" onsubmit="javascript: return FormValidation();">
{/if}
Still the add to cart is showing..Its looks okay to me but maybe I'm missing something here.
__________________
Cheers
Stuart
-----------------------
X-Cart Version
Gold 5.4.2
|