panagiotaros Posted December 16, 2009 Share Posted December 16, 2009 Hello all!Im brand new here and i want your helpful advise!I want to set up a price range for a carrier but i don't know how it works...I want if the total price is out of the price ranges the customer cannot select it.Now I have set up a price range, but the carrier CAN be selected even if the total ammount is OUT of the price range.Please help me with my problem...Thank you very muchPS:sorry for my bad english Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 16, 2009 Share Posted December 16, 2009 Carrier can be set for disable orders out of range....But you need to set on product his weight....And in BO - Shipping -> Billing - According to total weight Link to comment Share on other sites More sharing options...
panagiotaros Posted December 17, 2009 Author Share Posted December 17, 2009 I don't want to set up a weight range. I want the carrier to be disabled if the total price of the order is under 60.00 Euro.Do you have any idea how to do it?thank you very much for your help! Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 17, 2009 Share Posted December 17, 2009 Its same as with weight....BO – Shipping -> Billing – According to total price, and set price rangeBtw... what version do you use? I think in version 1.1 it was bug, maybe in version 1.2 it was fixed. So when it doesnt work, try to do this:Edit classes/Carrier.php and in function checkDeliveryPriceByPrice replace the condition AND '.floatval($orderTotal).' >= r.`delimiter1` I think, it help Link to comment Share on other sites More sharing options...
panagiotaros Posted December 17, 2009 Author Share Posted December 17, 2009 I think this option is for setting the minimum total price for free-shipping .I don't want to do that.I have 2 carriers. Both of them are free.The first carrier will be visible always independent of the total price.The second carrier I want to be visible for selection only if the order is over 60 euro.I hope you understand. Thank you again!I have version 1.2.0.1 Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 17, 2009 Share Posted December 17, 2009 ITS EASY!1) BO - Shipping - Billing: According to total price2) BO - Shipping - Carriersa) Create a Carrier name 1 and set Out-of-range behavior: Apply the cost of the highest defined range Create a Carrier name 2 and set Out-of-range behavior: Disable carrier3) BO - Shipping - Price rangesa) Carrier 1 set for range 0 - 10000 eur Carrier 2 set for range 60 - 10000 eurWhen Carrier 2 always appear when order is under 60 eur, you need to fix your bug what i posted with presta 1.1 and maybe in version 1.2. Link to comment Share on other sites More sharing options...
panagiotaros Posted December 17, 2009 Author Share Posted December 17, 2009 That's exactly what I have done! But the second carrier keeps being visible even if the total price is under 60 euros I don't know what I do wrong....I'll try to make the change you told me at carrier.php Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 17, 2009 Share Posted December 17, 2009 Yes, i am trying to explain you, its bug...http://www.prestashop.com/bug_tracker/view/2605/There is fixed file: Carrier.php Link to comment Share on other sites More sharing options...
panagiotaros Posted December 17, 2009 Author Share Posted December 17, 2009 YES you are very right!I just made the change in the file and everything is working PERFECT!All credicts go to you jakcrabbit! THANK YOU VERY MUCH!I searched before posting but I didn't find anything... maybe i didn't search enough!THANK YOU AGAIN! Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted December 17, 2009 Share Posted December 17, 2009 YES you are very right!I just made the change in the file and everything is working PERFECT!All credicts go to you jakcrabbit! THANK YOU VERY MUCH!I searched before posting but I didn't find anything... maybe i didn't search enough!THANK YOU AGAIN! No problem Link to comment Share on other sites More sharing options...
bogulom Posted March 15, 2010 Share Posted March 15, 2010 helo. my first post with my (not first) problem so....look at the screen shots:the problem is that price range does not work. when i have very light products and high price a can choose all delivery options. help me please.edit: i forgot, presta 1.2.2 PL Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 16, 2010 Share Posted March 16, 2010 What? you cant use both options (price & weight), you need to choose one of this. Then you have carriers calculated by price or weight, not both. Link to comment Share on other sites More sharing options...
bogulom Posted March 16, 2010 Share Posted March 16, 2010 for example.1 product:price 30zlweight 0.1kgprice range:carry1: 0-10zlcarry2: 0-1000zlweight range:carry1: 0-0.5kgcarry2: 0-100kgWhen i have 2 products in my basket (60zl and 0,2kg) a can choose carry1 and carry2. Price range does not work. When i have 6 products (240zl and 0.6kg) in my basket i can choose only carry2.I have priceTOship module. maby thats the problem. Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 16, 2010 Share Posted March 16, 2010 Why you have modul PriceToShip, when you dont need it? Uninstal it. I think, it will solve your problem, cause price and weight ranges works 100%. Link to comment Share on other sites More sharing options...
bogulom Posted March 16, 2010 Share Posted March 16, 2010 name of module is: ship2pay sorryi need it.to install this module i had to replace order.php, add module.php, add order.php.patch, add Module.php.patchi'm not sure that this module is a reason of errors. Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 16, 2010 Share Posted March 16, 2010 This module is without problem, problem is you, because you dont understand pricips of shipping. Link to comment Share on other sites More sharing options...
bogulom Posted March 16, 2010 Share Posted March 16, 2010 1 product:price 30zlweight 0.1kgprice range:carry1: 0-10zlcarry2: 0-1000zlweight range:carry1: 0-0.5kgcarry2: 0-100kgWhen i have 2 products in my basket (60zl and 0,2kg) a can choose carry1 and carry2. Price range does not work. When i have 6 products (240zl and 0.6kg) in my basket i can choose only carry2. explain me please. price range are use only to make ship cost? Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted March 16, 2010 Share Posted March 16, 2010 I dont know... try to upgrade to release 1.2.5.... maybe problems dissapear... 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