jonarve Posted November 10, 2011 Share Posted November 10, 2011 I've installed prestashop 1.4.5.1 using the default theme without any modifications, and found an issue displaying original price in Product details. I want to display Current price and the Original price of a product. In the product.tpl there is variable called $productPriceWithoutRedution but the value there is the price of the product with discount (same as $productPrice). Example: A product with regular price of 100$ has been discounted from the Price tab by adding a rule where the new price is 80$. There is no extra discounts for the group. {$productPriceWithoutRedution} is 80$ instead of 100$. Any clue what's wrong? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Hi jonarve, First of all, welcome to PrestaShop! This forum will be a great resource for you as you build out your online store. As for your issue with price reductions, can you please post a screenshot of the Back Office settings where you are setting this reduction? -Mike Link to comment Share on other sites More sharing options...
jonarve Posted November 10, 2011 Author Share Posted November 10, 2011 Hi Mike Thanks for the quick response. I've tried to define a reduction in several ways. -> As a special price on a single product (edit product -> prices -> added special price for a custom user group. logged in with a user in the custom group and tested) -> As a 10% off for the default user group - which gives all visitors the reduction Here's a screenshot of the latter The reduced price is shown, but not the original one. Sorry that the screenshot is in Norwegian. I can change to English if you'd like. Link to comment Share on other sites More sharing options...
jonarve Posted November 10, 2011 Author Share Posted November 10, 2011 By the way, I just noticed a similar post here: http://www.prestashop.com/forums/topic/141182-get-price-before-reduction-and-override-group-discount/ Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Would you mind PMing me with your Back Office login credentials so that I can check this out for you? -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Hi jonarve, I'm trying to look into this for you, but I'm unable to login to the Back Office you provided me. Additionally, there doesn't appear to be a site attached to this specific page you gave me. In order to fix this for you, I will need you to send me the login information for your live site, not a test admin panel that doesn't have a working Front Office associated with it. -Mike Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Hi jonarve, Is this what you were looking to set up for your products? -Mike Link to comment Share on other sites More sharing options...
jonarve Posted November 10, 2011 Author Share Posted November 10, 2011 Yes. As far as I can tell this can only be done by defining a price reduction in percent or amount? If I define a new "Product price (tax excl.):" under Specific prices (no reduction) - can this be displayed like this then as well? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Hi jonarve, From what I've seen on your shop, if you set a specific price rather than a reduction, it will not display as it does for an amount or percentage reduction. As for your login, which Back Office is not working for you: The test page or the active one? -Mike Link to comment Share on other sites More sharing options...
jonarve Posted November 10, 2011 Author Share Posted November 10, 2011 From what I've seen on your shop, if you set a specific price rather than a reduction, it will not display as it does for an amount or percentage reduction. Is there any way to present the original price (before setting a specific one) in the template when you "set a specific price"? As for login, nevermind. The active site is working. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted November 10, 2011 Share Posted November 10, 2011 Is there any way to present the original price (before setting a specific one) in the template when you "set a specific price"? Unfortunately, not if you set a specific price. However, if you have a specific price in mind, you can just create a reduction amount for the difference and you will get the same result. -Mike Link to comment Share on other sites More sharing options...
g0nzo Posted July 23, 2012 Share Posted July 23, 2012 Thanks for all the good info Mike. My issue with amount-based price reductions is that in Canada we only charge tax on the discounted price, not the original price. I have thoroughly researched this through these forums and it appears that if I use a percentage based discount, I won't have an issue. However, I don't think I can use percentage discounts because I am also using a combination price modifier that I don't want reduced. I have noticed that I can use specific pricing and just set the final price (not using a reduction) and it works as I would like (charges taxes correctly and does not affect the combination price modifier). However, I can't seem to show the original price to the user. If I could this, I think it would be the easiest solution. In my case, what would you recommend doing? Link to comment Share on other sites More sharing options...
g0nzo Posted July 24, 2012 Share Posted July 24, 2012 I managed to tackle this without modifying too much Prestashop code. The Prestashop team has gone to great lengths to make sure this product is usable in many different countries, however this method of tax calculation is not used in many countries, including US and Canada. Prestashop should consider making this a configurable option. In this case it helps anyone, see the below post for a workaround on using specific price reductions and getting tax calculations on the reduced price: http://www.prestashop.com/forums/index.php?/topic/174302-specific-price-tax-included/page__view__findpost__p__886892 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