Mister Denial Posted August 11, 2011 Share Posted August 11, 2011 Hello, even with stock management disabled, the product detail will show "Availability: this item is not in stock" for a brief moment while the page loads. It is long enough to confuse the customer, and very annoying. Is there any way to hard-code remove that line? I am using PS 1.4.4 and the TNT2 Atchworks template. Thank you in advance for your help! Dan Link to comment Share on other sites More sharing options...
Andy1 Posted September 17, 2011 Share Posted September 17, 2011 I am also interested in removing all stock details from the product page. Any help on this would be great. Many Thanks Andy Link to comment Share on other sites More sharing options...
Mister Denial Posted September 19, 2011 Author Share Posted September 19, 2011 Hi Andy1, here is what I did: I removed following line from Product.tpl of my template: "<span id="availability_value"{if $product->quantity <= 0} class="warning_inline"{/if}> {if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} </span>" "<span id="availability_value"{if $product->quantity <= 0} class="warning_inline"{/if}> {if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} </span>" Hope that helps! 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