andreicos82 Posted July 17, 2010 Share Posted July 17, 2010 It seems add to cart button does not appear to products out of stock. Example http://sanita.ro/cabina-dus/154-cabina-dus.html is out of stock and no add to cart button appears to mention is out of stock. The add to chart button apears if the product is in stock.How to make the add to chart button and out of stock text appear to the products not in stock? I'm interested to appear and write normally....out of stock.Thank YouAnd sry for my english... Link to comment Share on other sites More sharing options...
Pshopic Posted July 25, 2010 Share Posted July 25, 2010 Edit product.tpl and find line 283; 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> change it with: {if !$allow_oosp && $product->quantity != 0} <input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> {else} {l s='Out of Stock' mod='homefeatured'} {/if} I think it will work, just you have to make some change in global.css 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