robchef Posted August 28, 2012 Share Posted August 28, 2012 (edited) help how do you modify the quantity discount so it let you leave discount 00 amount and starting at on so it but the normal price in you quanity discount as i modify mine to show wholesale bulk order pricing Workwear Bulk Order Pricing 20 + 10 + 5 + £5.51 Each £6.21 Each 6.99each but really want to but 1+ 7.95 each please help here a link to my site so you can see what im trying to do http://www.custom-fu...i-vis-vest.html Edited August 29, 2012 by robchef (see edit history) Link to comment Share on other sites More sharing options...
robchef Posted August 29, 2012 Author Share Posted August 29, 2012 hope some one kind enought to help me please it driving me mad think i need to change a rule somew were but dont know where and what i need to put Link to comment Share on other sites More sharing options...
El Patron Posted August 29, 2012 Share Posted August 29, 2012 Ok, this is one of the many area's that I am weak at. And I have not done this or tested it. Try this. Add a new price or apply a discount starting at your unit level. For example you could try 5 units with lower price than say one unit or 5 units with a discount in currency or percentage. See how that works for you and let us know. back office-->product-->edit your product http://screencast.com/t/NhxGJNCimvX5 Link to comment Share on other sites More sharing options...
robchef Posted August 29, 2012 Author Share Posted August 29, 2012 even doing this it want let me put 1 with 0.00 discount it put an error when you try and do it Link to comment Share on other sites More sharing options...
El Patron Posted August 29, 2012 Share Posted August 29, 2012 (edited) doing nothing gives you the 0 discount by default..and is dispalyed in your product...but not of course where you have your bulk pricing...honestly I don't know how you got the other fields with bulk pricing there...is that custom code or prestashop? Edited August 29, 2012 by elpatron (see edit history) Link to comment Share on other sites More sharing options...
robchef Posted August 29, 2012 Author Share Posted August 29, 2012 it prestashop modifyed with tutoral i got from the forum but know one put how to do the last bit im trying to do Link to comment Share on other sites More sharing options...
El Patron Posted August 29, 2012 Share Posted August 29, 2012 The code is in classes/SpecificPrice.php I modified the code and can get the 1 quantity to display, but not the correct price. function getQuantityDiscounts code.. foreach ($res as $specific_price) { if (!isset($last_quantity)) $last_quantity = $specific_price['from_quantity']; else if ($last_quantity == $specific_price['from_quantity']) break; $last_quantity = $specific_price['from_quantity']; --> if ($specific_price['from_quantity'] > 1) $targeted_prices[] = $specific_price; } If I comment out the --> code, then it will display on the product 1 quantity but under that the price is 0.00 (should be 66.00. It's late for me...I travel tomorrow 6,000 KM's, so I may not get back to this until Sunday or Monday... Link to comment Share on other sites More sharing options...
robchef Posted August 29, 2012 Author Share Posted August 29, 2012 ok thankyou look forward to your help on this soon then thankyou mate i been trying to do it all day Link to comment Share on other sites More sharing options...
Recommended Posts