bloggus Posted November 9, 2011 Share Posted November 9, 2011 I can't see anyway to get the price before reduction for a porduct in 1.4.5. Are there funktions that have been removed? Link to comment Share on other sites More sharing options...
tomerg3 Posted November 9, 2011 Share Posted November 9, 2011 Where are you trying to get it? .tpl file? You can have a look at product.tpl or ProductController.php Link to comment Share on other sites More sharing options...
bloggus Posted November 9, 2011 Author Share Posted November 9, 2011 Yes, but the one (code) in product.tpl file cannot be applied is seems in product.list.tpl Link to comment Share on other sites More sharing options...
bloggus Posted November 9, 2011 Author Share Posted November 9, 2011 Do you know how to apply {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} to {convertPrice price=$product.??????} instead? Link to comment Share on other sites More sharing options...
bloggus Posted November 9, 2011 Author Share Posted November 9, 2011 Could apply that in 1.3.x but it doesn't work anymore: {convertPrice price=$product.price_without_reduction} Link to comment Share on other sites More sharing options...
bloggus Posted November 9, 2011 Author Share Posted November 9, 2011 Can't find any useful in ProductController.php Link to comment Share on other sites More sharing options...
tomerg3 Posted November 10, 2011 Share Posted November 10, 2011 Do you mean this? {convertPrice price=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} Link to comment Share on other sites More sharing options...
bloggus Posted November 10, 2011 Author Share Posted November 10, 2011 {convertPrice price=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} Yes, but that can't be used in product-list.tpl , where I want to use it .... but works in product.tpl. Link to comment Share on other sites More sharing options...
bloggus Posted November 10, 2011 Author Share Posted November 10, 2011 where in the core should the function $product.price_without_reduction be fetched? Would be nice to check if it excist ... Link to comment Share on other sites More sharing options...
bloggus Posted November 10, 2011 Author Share Posted November 10, 2011 Ok, got it to work after reinstallation. Have no clue what was the problem, but I guess some upgrade issue from 1.3.x ... 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