Szymon88 Posted September 7, 2018 Share Posted September 7, 2018 (edited) Hello, I got strange problem. After upgrade to 1.6.1.20 button "alert me when the product is available" appears on all product pages. When quantity is 0 and when quantity is > 0. I looked at product.tpl in my theme folder and everything looks fine: <!-- Out of stock hook --> <p id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </p> How can I fix it? Szymon Edited September 10, 2018 by Szymon88 (see edit history) Link to comment Share on other sites More sharing options...
Szymon88 Posted September 10, 2018 Author Share Posted September 10, 2018 Bump Link to comment Share on other sites More sharing options...
Szymon88 Posted September 10, 2018 Author Share Posted September 10, 2018 Solved! I had to change code from: <!-- Out of stock hook --> <p id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </p> to: <!-- Out of stock hook --> <div id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </div> 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