HARVIE Posted October 25, 2010 Share Posted October 25, 2010 Hello,I used the wholesale price (from the back office) in order to show this price as a "Catalogue Price" in the product description. To do this, I add these lines below in product.tpl: {if $product->wholesale_price != 0} {l s='Prix Catalogue'}{l s=' : '} {convertPrice price=$product->wholesale_price} {l s='tax excl.'} {/if} I'd like to do the same thing, so showing the wholesale price, but this time, in the products list (product-list.tpl). I guess I should add a few lines in product-list.tpl similar to these ones, but I can't find how to do. If anybody could help me on this, that would be great!Thanks,Harvey Link to comment Share on other sites More sharing options...
rocky Posted October 25, 2010 Share Posted October 25, 2010 Do the same, except use {$product.wholesale_price} instead of {$product->wholesale_price} Link to comment Share on other sites More sharing options...
HARVIE Posted October 25, 2010 Author Share Posted October 25, 2010 It works! Thanks a lot... Link to comment Share on other sites More sharing options...
-rudy- Posted May 6, 2012 Share Posted May 6, 2012 Hello ! Does this trick still supposed to work on 1.4.7 ? Because I can't get the wholesale_price on the product-list.tpl as well... but even with $product.wholesale_price (instead of $product->wholesale_price as mentioned) Is there a new way (or any other way) to show the Wholesale price on PS 1.4.7 ? Thank you very much for your help ! Link to comment Share on other sites More sharing options...
meekinsr Posted September 5, 2018 Share Posted September 5, 2018 On 5/6/2012 at 6:51 AM, -rudy- said: Hello ! Does this trick still supposed to work on 1.4.7 ? Because I can't get the wholesale_price on the product-list.tpl as well... but even with $product.wholesale_price (instead of $product->wholesale_price as mentioned) Is there a new way (or any other way) to show the Wholesale price on PS 1.4.7 ? Thank you very much for your help ! This worked for me perfectly on PS 1.7. Not sure why I was trying to make it more difficult than it should have been. Just make sure that you also create a new table header in your themes/default/template/controllers/orders/helpers/view/view.tpl to line up with a new <td> in your _product_line.tpl 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