marhor.hr Posted November 30, 2012 Share Posted November 30, 2012 When examining the product sheet (product.tpl) with firebg, i see a piece of code that shows the add to cart button: <p id="add_to_cart" class="buttons_bottom_block" style="display: block;"> <span></span> <input class="exclusive" type="submit" value="U košaricu" name="Submit"> </p> Depending on if the product is in or out of stock, the display style changes dynamicly between display:none and display:block. I'm rather inexperienced in php and can't find it in the product.tpl file, so can somebody please explain to me how this works? Thanks! Link to comment Share on other sites More sharing options...
marhor.hr Posted December 11, 2012 Author Share Posted December 11, 2012 Nobody? Nobody knows or just won't bother explaining? 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