mytheory. Posted May 15, 2010 Share Posted May 15, 2010 Hello all,I need some assistance with the displayed price(s) in the specials block. First off, I have incorporated Tomerg's tax on one line modification (which is a great add and a must have for any retailers in the US). This modification solved alot of my tax issues except for this one issue in the specials block.So my shop only applies a state tax if the customer is registered from that state. As most of you already know, when a user logs in from a tax applicable state all the prices change to display a tax included price unless you change the preference settings in the BO (which isn't always perfect) or by using Tomer's modification.So the issue I am having is that with this mod. the sale/final price (larger font in red) in the specials block shows the price without the tax, but above that price in smaller font there is another price, the original price before reduction, with a line through it. This price still shows with the tax included... I am trying to make everything consistent throughout the site and for every user. How would I make this price show the original price (without reduction) and without tax included in this block (so at first glance the reduction amount is clearly determinable without odd/uneven numbers)??Thanks. Link to comment Share on other sites More sharing options...
mytheory. Posted May 20, 2010 Author Share Posted May 20, 2010 Ok... So I managed to figure this one out on my own. I wasn't able to find any related topics through the search function so I am going to post my solution here so that it may be of use to someone else. Please be advised that I am not an avid programmer... so there maybe a better way to accomplish this.Anyways in classes/Product.php I changed line #1991from $row['price_without_reduction'] = Product::getPriceStatic($row['id_product'], true, ((isset($row['id_product_attribute']) AND !empty($row['id_product_attribute'])) ? intval($row['id_product_attribute']) : NULL), 2, NULL, false, false); to $row['price_without_reduction'] = Product::getPriceStatic($row['id_product'], false, ((isset($row['id_product_attribute']) AND !empty($row['id_product_attribute'])) ? intval($row['id_product_attribute']) : NULL), 2, NULL, false, false); and in modules/blockspecials/blockspecials.tpl I changed/commented out line #12from {displayWtPrice p=$special.price_without_reduction} to {convertPrice price=$special.price_without_reduction} Pretty simple. Hope this helps someone. Link to comment Share on other sites More sharing options...
rocky Posted May 21, 2010 Share Posted May 21, 2010 Thanks for posting your solution. If this issue is resolved, please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
France Posted July 5, 2010 Share Posted July 5, 2010 Hi MytheroyI really don't have the samething in line 1991. I have 1.2.5 Prestashop. You can to tell me more information about this line for help to find.Excuse my bad english.Thank you Link to comment Share on other sites More sharing options...
France Posted July 5, 2010 Share Posted July 5, 2010 I have find the line but this code don't change the price on the product page.Have you a solution for the product page?Thank you Link to comment Share on other sites More sharing options...
mytheory. Posted July 5, 2010 Author Share Posted July 5, 2010 Have you already implemented Tomer's Tax on one line mod (from presto-changeo.com)? My solution is only a missing piece to his mod, it is his mod that fixes all the tax issues for everything else. Have you tried setting your prices to "Tax Excluded" in the BO... Preferences >> Product? It fixes some of the major issues, but not all especially for attributes and some minor details.Tomer's mod is a paid mod (only 20 bucks and well worth it) but since it is his commercial mod I don't feel comfortable giving that out.HTH! Link to comment Share on other sites More sharing options...
France Posted July 5, 2010 Share Posted July 5, 2010 All my price are without taxes on my website. The problem that I have and many other person too it's when the price is on reduction. The old price is with taxes.I have found a solution therehttp://www.prestashop.com/forums/viewreply/267502/Thank you 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