deech123 Posted July 5, 2010 Share Posted July 5, 2010 Hi,I found out that when you change a product to a reduction product without entering a reduction price it is not shown at the price_drop page.I import a hugh xml catalogue where reduction are set by the reduction_from / reduction_to date and the on_sale parameter to 1.is there any possibility to show all those special product without a need of a reduction price?thx Link to comment Share on other sites More sharing options...
rocky Posted July 6, 2010 Share Posted July 6, 2010 Try editing classes/Product.php and changing line 1224 (in PrestaShop v1.3.1) from: AND (`reduction_price` > 0 OR `reduction_percent` > 0) to: AND `on_sale` = 1 and line 1246 from: WHERE (`reduction_price` > 0 OR `reduction_percent` > 0) to: WHERE `on_sale` = 1 Link to comment Share on other sites More sharing options...
deech123 Posted July 6, 2010 Author Share Posted July 6, 2010 works thx Rocky Link to comment Share on other sites More sharing options...
YoannB Posted July 9, 2010 Share Posted July 9, 2010 Hi Rocky,I have modified classes/Product.php but I always wrong10 erreurs 1. ADDER - AVIP208-EURO (ID 5) ne peux être enregistré 2. Product -> reduction_from = 0000-00-00 00:00:00... Link to comment Share on other sites More sharing options...
rocky Posted July 9, 2010 Share Posted July 9, 2010 The "reduction from" must be a real date, not 0000-00-00 00:00:00. Link to comment Share on other sites More sharing options...
YoannB Posted July 9, 2010 Share Posted July 9, 2010 OK but i don't use this field in my CSV ! however i have this error :# ADDER - AVIP208-EURO (ID 5) ne peux être enregistré# Product -> reduction_from = 0000-00-00 00:00:00 Link to comment Share on other sites More sharing options...
rocky Posted July 9, 2010 Share Posted July 9, 2010 This bug has been reported and fixed in PrestaShop v1.3.2. Perhaps you should add that field to your CSV and put in dates until v1.3.2 is released. Link to comment Share on other sites More sharing options...
YoannB Posted July 9, 2010 Share Posted July 9, 2010 OK thanks a lot. Link to comment Share on other sites More sharing options...
YoannB Posted July 12, 2010 Share Posted July 12, 2010 OK !I add two fields in my csv :- reduction from- reduction towith the same date 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