purebeauty Posted August 12, 2010 Share Posted August 12, 2010 I need to have some product call for price when I put $0 in the back office panel it will automatic display call for price. I have tried to find price=0 in tools.php. Which file that I need to edit.Thanks Link to comment Share on other sites More sharing options...
tomerg3 Posted August 12, 2010 Share Posted August 12, 2010 Edit /themes/prestashop/product.tplChange {if !$priceDisplay || $priceDisplay == 2} {convertPrice price=$product->getPriceWithoutReduct()} {if $tax_enabled}{l s='tax incl.'}{/if} {/if} {if $priceDisplay == 1} {convertPrice price=$product->getPriceWithoutReduct(true)} {if $tax_enabled}{l s='tax excl.'}{/if} {/if} To {if $product.price > 0} {if !$priceDisplay || $priceDisplay == 2}{convertPrice price=$product->getPriceWithoutReduct()} {if $tax_enabled}{l s='tax incl.'}{/if} {/if} {if $priceDisplay == 1}{convertPrice price=$product->getPriceWithoutReduct(true)} {if $tax_enabled}{l s='tax excl.'}{/if} {/if} {else} {l s='Call for price'} {/if} Link to comment Share on other sites More sharing options...
purebeauty Posted August 12, 2010 Author Share Posted August 12, 2010 The product disappear and is still show $0 instead of call for price Link to comment Share on other sites More sharing options...
saikat Posted February 3, 2011 Share Posted February 3, 2011 I need help in this issue too. I want to display "Contact for price" text when I put 0 in price. 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