MartyW Posted July 26, 2013 Share Posted July 26, 2013 Hi, I am having a bit of trouble configuring Prestashop to reflect the way my shipping system currently works. If I have a parcel and it weighs <=1kg I pay my shipping company's rate for a 1kg parcel it’s the right through they have a rate for 2kg, 5kg 10kg and so on. I have entered the weights of all my items how can I get PrestaShop to calculate the total weight and assign a default shipping charge connected to that weight? Any help on this would be greatly appreciated Marty Link to comment Share on other sites More sharing options...
mimpro Posted July 26, 2013 Share Posted July 26, 2013 (edited) 'I have entered the weights of all my items...' okay.. did you set any carriers, and the weight ranges? if you did it, could you share what are the settings. or if not, then you have to start from there.. the weight ranges. Edited July 26, 2013 by mimpro (see edit history) Link to comment Share on other sites More sharing options...
MartyW Posted July 26, 2013 Author Share Posted July 26, 2013 Hello Mimpro, Thanks for replying. Yes I added the carriers to the product. When I buy the product both carriers come up but the come up as "Free shipping" I have attached a few images Any thoughts? Link to comment Share on other sites More sharing options...
vekia Posted July 26, 2013 Share Posted July 26, 2013 1) and what about shipping configuration? Have you selected: 2) what about weight ranges? Link to comment Share on other sites More sharing options...
MartyW Posted July 26, 2013 Author Share Posted July 26, 2013 (edited) Yes this is what I have see attached. I think i need to say somewhere if the order weighs X Carrier A will charge the default amount of £Y Or am I thinking of prestaShop in completley the wrong way? Where do you enter shipping prices/costs for each carrier? Thanks Martyn Edited July 26, 2013 by MartyW (see edit history) Link to comment Share on other sites More sharing options...
mimpro Posted July 26, 2013 Share Posted July 26, 2013 (edited) Obviously you haven't set anything yet at weight ranges. .. for each carrier.. that is 0kg--1kg (so you can put how much charge for this range later) 1kg--2kg (so you can put how much charge for this range later) 2kg--5kg (so you can put how much charge for this range later) 5kg--10kg (so you can put how much charge for this range later.... and so on.) there is a tutorial on how to do this i'll try to find the links for you. But somehow you can google such as 'setting price range prestashop'.. ------ Oh i see it. it's a wrong configuration in your weight ranges. Edited July 26, 2013 by mimpro (see edit history) Link to comment Share on other sites More sharing options...
MartyW Posted July 26, 2013 Author Share Posted July 26, 2013 (edited) I didnt see where to put the price in so I thought I was missing something ile give a go, thank you both Edited July 26, 2013 by MartyW (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted July 26, 2013 Share Posted July 26, 2013 you can also take a look on this thread: http://www.prestashop.com/forums/topic/262056-why-is-my-shop-offering-free-shipping-to-items-over-1kg/page__p__1305949__hl__weight%20__fromsearch__1?do=findComment&comment=1305949 Link to comment Share on other sites More sharing options...
mimpro Posted July 26, 2013 Share Posted July 26, 2013 So it is quite detail settings there if want to learn. But after you understand it, it is a relief. I'll try to make it a brief here: if you want to set delivery charge based on total item weight.. 1- make sure all of your product have specified the unit weight there each. 2- in Shipping->Carriers - set a Carrier with appropriate details - make sure you assigned the correct zone for that carrier services - at the billings --> set to 'according to total weight - and you would rather consider the out-of-range behavior (you will understand at later - skip first) 3. in Shipping->Weight Ranges (in this case, your rules in your first post here) - add new ---> select the specific carrier from the dropdown ---> and fill from : 0 to 1 (kg or whatever weight unit) ----> save - add new ---> select the specific carrier from the dropdown ---> and fill from : 1 to 2 ----> save - add new ---> select the specific carrier from the dropdown ---> and fill from : 2 to 5 ----> save - add new ---> select the specific carrier from the dropdown ---> and fill from : 5 to 10 ----> save - you may stop here or you want to continue until you satisfy. 4. in Shipping->Shipping - go to last section: Fees by carrier, geographical zone and ranges. - select the specific carrier from the drop down list - you will clearly see the matrix table based on your zone selected VS weight range you defined previously. - fill in the blanks with your rate. - note: default values each will be 0.00, and you have to fill your value, and if you don't have any value to put, don't let it 0.00. Delete it, make it blank and your cart knows it isn't apply for that particular matrix. if you leave it 0.00, it is considered free shipping. if it is blank, it is not available. 5. remember the out-of-range behavior? So you see your matrix now and ask what happens if total weight is more than max values in this table? So go to Shipping->Carriers and find the out-of range behaviour. You decide what to do from the list 6. If you have any other carrier.. repeat all from step 2-->5. Make sure each step you do select correctly the carrier. Well, I hope this brief is good enough for you to start. You may explore the rest later. . 2 Link to comment Share on other sites More sharing options...
MartyW Posted July 27, 2013 Author Share Posted July 27, 2013 Thanks for that I didnt realise you had to fill out the prices on the "SHIPPING" page as per the courier selected from the drop down list. I have another question surrounding shipping that I hope you can help with I have searched google and found nothing apart from this http://www.prestashop.com/forums/topic/109579-how-to-set-shipping-cost-for-additional-items-in-prestashop-using-usps/ If a customers buys 2 items that individually are below my couriers weight and volume restrictions but together are over the volume restrictions I will have to send 2 parcels and I need to charge an additional fee for this. How do I reflect this in the shipping settings? There is an "Additional shipping cost (per quantity):" but this setting adds it to all items 1st, 2nd 3rd etc but Im looking for a setting that will add a shipping cost to the 2nd, 3rd, 4th, item only does such a setting exist. The only other way I can get around this is to base the courier charges on the price. Any help on this would be great Marty Link to comment Share on other sites More sharing options...
mimpro Posted July 28, 2013 Share Posted July 28, 2013 Hi Marty. This matter is easier if you do set a carrier, and set all the required details, and put your product weight too.. and with all the settings try to make a 'purchase' and record each case (test data-result). This really have to be done as you will see is it following your rules set or not? without tested data, the discussion will be so hard to justify as so many possibilities we might talking about. So let's understand this: if your product weight is 0.3kg each; and you set you rules -> 0-1kg charges $4. and 1-2kg charged $6 then if a customer buys 1 -- total weight is 0.3kg ---> total charges is $4. then if a customer buys 2 -- total weight is 0.6kg ---> total charges is $4. then if a customer buys 3 -- total weight is 0.9kg ---> total charges is $4. then if a customer buys 4 -- total weight is 1.2kg ---> total charges is now $6. since you choose billings are according to total weight-- so it follows the total weight,regardless how many quantities there. so you see.. it really depends on how you plan your shipping rules at all. and don't forget to test it. ps: additional shipping cost is different story. If you want to charge extra, let say your packaging needs box and fillers, so this is the extra charge regardless carriers shipping charge matrix. It's good to ignore this first (by put value=$0) if you a going to learn the basic shipping rules first. Don't make it complicated at early learning. Hope this gonna help you.. Link to comment Share on other sites More sharing options...
MartyW Posted July 28, 2013 Author Share Posted July 28, 2013 (edited) Hey everyone, I get how the weight settings work i.e. for an order below X kg's the price is Y but the problem I am having is when a customer buys 2 bulky items the total weight stays below the threshold of 30kg (My couriers limit per parcel) but when the size of the parcel goes above the volumetric cm3 size per parcel I have to send 2 parcels. This is a question on cm3 volume not weight kg. Can I set an additional cost per order should an order go beyond a certain size (volume cm3 wise) I can see that prestaShop allows you to enter the package size of each item. Is there a setting for additional volume? I am sure the PrestaShop developers have thought about this topic and I have seen other similar posts that have been left unresolved am I just missing somthing in the back office? To me and my BASIC programming skills the PrestaShop developers could implement this with a simple if, if else statement in the prestaShop programming i.e. in the back office there would be a box similar to - "Additional shipping cost (per quantity):" but it would be called somthing like - Additional shipping cost (per additional item): +2,+3, +4 etc users would enter the additionalItemShippingCost in the back office "perAdditionalItem" box; and within the PrestaShop code an ifStatement like this would be implemented //Adding additional items by volume setting up a +2 cost int x = itemQuantity; double y = additionalItemShippingCost; //if the item count is equal to 2 if (x == 2){ // then increment default cost for y/additionalItemShippingCost y+1; } //nested if statment if (x == 3){ // then increment default cost for y/additionalItemShippingCost y+2; } //+3, +4, +4 etc //else if else if (x <2){ //do nothing } or using boolean's i.e. itemQuatity = 2 (True) AdditionalItemCost+; There are more efficient ways to program this (ArrayList for example) but the above is as far as my programming skills go Best regards and thanks for any the help on this topic Marty Edited July 28, 2013 by MartyW (see edit history) Link to comment Share on other sites More sharing options...
mimpro Posted July 28, 2013 Share Posted July 28, 2013 (edited) Wow.. may I know what are you selling? Sounds like big things here. Well frankly i don't know about dimension limits of a certain carrier. I never have to do this for my clients before. But in your case, there is a setting here in carrier: which are referred from each product detail form: -------------------------- i don't know about this since never experience it yet. But this is opportunity to learn here. Have you go through the dimension limit settings on that particular sections above? Then after testing what results you get? I am interested to know more especially in your case here. .. and for the coding part, that actually can be done. But then this is customized to your shop. you might hightlight those to the rest of developers here, maybe your suggestion is useful for the next development. Cheers. Edited July 28, 2013 by mimpro (see edit history) Link to comment Share on other sites More sharing options...
MartyW Posted July 28, 2013 Author Share Posted July 28, 2013 Heading out now, ile mess about with the maximum dimensions later when I get back and post the results Link to comment Share on other sites More sharing options...
MartyW Posted July 29, 2013 Author Share Posted July 29, 2013 (edited) Hey mimpro, I tried messing about with the maximum sizes but they don't seem to work as i placed an order well beyond the CARRIERS dimension limits and the order stayed at the amount for 1 parcel. Although it would be nice to figure this out I don't think it will happen without the help of the PrestaShop team and to be honest ile be happy to get an order that requires 2 parcels Ive posted the question within the development area of the forums under "Additional Shipping Cost Per Item.... +2, +3, +4 items etc" there are no replies yet but we can hope I also sent a message to PrestaShop and messaged Bruno Leveque but nothing yet Thanks for all your help Edited July 29, 2013 by MartyW (see edit history) Link to comment Share on other sites More sharing options...
mimpro Posted July 29, 2013 Share Posted July 29, 2013 I'm glad that you'd testing it and share the problem.. IMHO this is another things for the developers to look into. Well i think we gotta give time to the team to evaluate the problems and perhaps, this would comes to a solution. Link to comment Share on other sites More sharing options...
aprotogeros Posted March 24, 2016 Share Posted March 24, 2016 Hello all,I have a question about a shipping scenario i would like to apply to my eshop. The idea is to calculate shipping costs, based on total order weight and it look like this. for orders up to 2kg there is a cost of 2.2 eurosfor every extra kg there is an extra charge of 0.7 eurosi.e.if the total order weight is up to 2kg the charge will be 2.20 eurosif the total order weight is 3kg the charge will be 2.90 eurosif the total order weight is 4kg the charge will be 3.60 eurosetcI know i can achieve this using the default Prestashop weight ranges, but it is not so usable as i should (theoretically) create unlimited ranges. Plus if there is change in the future, you can understand that it would be really difficult.i tried to find a module that would help me, without any luck.I would appreciate any help or this (module,custom code ideas).Thank you Link to comment Share on other sites More sharing options...
mimpro Posted March 24, 2016 Share Posted March 24, 2016 The idea is to calculate shipping costs, based on total order weight and it look like this. for orders up to 2kg there is a cost of 2.2 euros for every extra kg there is an extra charge of 0.7 euros i.e. if the total order weight is up to 2kg the charge will be 2.20 euros if the total order weight is 3kg the charge will be 2.90 euros if the total order weight is 4kg the charge will be 3.60 euros etc Do you mean, if order weight is 4kg, and each kilo additional will add 0.7 euro no limit, it sounds like this 4 kg -> (3.60 Euros) + (4-4) x 0.7 = 3.60 Euros + [(0) x 0.7 Euros] = 3.6 Euros 5 kg -> (3.60 Euros) + (5-4) x 0.7 = 3.60 Euros + [(1) x 0.7 Euros] = 4.3 Euros 10 kg -> (3.60 Euros) + (10-4) x 0.7 = 3.60 Euros + [(6) x 0.7 Euros] = 7.8 Euros 100 kg -> (3.60 Euros) + (100-4) x 0.7 = 3.60 Euros + [(96) x 0.7 Euros] = 70.8 Euros .. and so on? I see, this configuration will have never-ending formula in normal backoffice configuration. I foresee this only can be solved by custom module with the formula, and easy to update/change value at any time Do you want this kind of solution? I would like to offer module construction based on this solution. PM me if so. Cheers 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