Weird numbers when using Manual (Fixed or By Weight and By Total) plugin.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi.
I am trying to use the Manual (Fixed or By Weight and By Total) plugin that comes with NopCommerce 4.2 but it is showing me some weird numbers. All the products in my shop are 200 grams and I can ship 2 products together so I want to charge X for each 2 products in the cart. For example: you put 2 products in the cart then the shipping is X, if you add one more product to your cart then the shipping is 2X, if you add 5 more (total 8 products) then the shipping is 4X.
This is how I have it now in the configuration for the shipping by weight:
1:
Order weight from: 0.00
Order weight to: 400.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 300.00
Rate per weight unit: 0.00
Lower weight limit: 0.00
Charge percentage (of subtotal): 0.00
2:
Order weight from: 401.00
Order weight to: 1000000.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 0.00
Rate per weight unit: 300.00
Lower weight limit: 401.00
Charge percentage (of subtotal): 0.00

1: Is supposed to mean that the first 2 products cost 300.
2: Is supposed to mean that for each additional 400 grams there is supposed to be added 300 to the shipping.
I get total shipping cost of 59700 for 3 products.

What am I missing here?
4 years ago
Check your Measures  (/Admin/Measure/List)
Is grams the Primary Weight?  Are you entering weight in grams on products?


I don't think you need two separate records in the configuration.    Look at formula:
[additional fixed cost] + ([order total weight] - [lower weight limit]) * [rate per weight unit] + [order subtotal] * [charge percentage]

RE:  "for each additional 400 grams"
What about just additional 200 grams?  (I.e.  what should rate be for 3 products?)
4 years ago
Simmisj wrote:
Hi.
I am trying to use the Manual (Fixed or By Weight and By Total) plugin that comes with NopCommerce 4.2 but it is showing me some weird numbers. All the products in my shop are 200 grams and I can ship 2 products together so I want to charge X for each 2 products in the cart. For example: you put 2 products in the cart then the shipping is X, if you add one more product to your cart then the shipping is 2X, if you add 5 more (total 8 products) then the shipping is 4X.
This is how I have it now in the configuration for the shipping by weight:
1:
Order weight from: 0.00
Order weight to: 400.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 300.00
Rate per weight unit: 0.00
Lower weight limit: 0.00
Charge percentage (of subtotal): 0.00
2:
Order weight from: 401.00
Order weight to: 1000000.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 0.00
Rate per weight unit: 300.00 per additional gram !!!
Lower weight limit: 401.00
Charge percentage (of subtotal): 0.00

1: Is supposed to mean that the first 2 products cost 300.
2: Is supposed to mean that for each additional 400 grams there is supposed to be added 300 to the shipping.
I get total shipping cost of 59700 for 3 products.

What am I missing here?

You have not formulated (2) properly. For this range you are saying to charge fixed cost of $0.00 + $300 per each additional gram above lower limit, which gives= $0 + $300 * (600-401)= $300 * 199 =$59700
Try as follows:
2:
Order weight from: 400.00
Order weight to: 800.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 600.00
Rate per weight unit: 0.00
Lower weight limit: 400.00

3:
Order weight from: 800.00
Order weight to: 120000.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 900.00
Rate per weight unit: 0.00
Lower weight limit: 800.00

And so on...
4 years ago
Tecnofin wrote:
Hi.
I am trying to use the Manual (Fixed or By Weight and By Total) plugin that comes with NopCommerce 4.2 but it is showing me some weird numbers. All the products in my shop are 200 grams and I can ship 2 products together so I want to charge X for each 2 products in the cart. For example: you put 2 products in the cart then the shipping is X, if you add one more product to your cart then the shipping is 2X, if you add 5 more (total 8 products) then the shipping is 4X.
This is how I have it now in the configuration for the shipping by weight:
1:
Order weight from: 0.00
Order weight to: 400.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 300.00
Rate per weight unit: 0.00
Lower weight limit: 0.00
Charge percentage (of subtotal): 0.00
2:
Order weight from: 401.00
Order weight to: 1000000.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 0.00
Rate per weight unit: 300.00 per additional gram !!!
Lower weight limit: 401.00
Charge percentage (of subtotal): 0.00

1: Is supposed to mean that the first 2 products cost 300.
2: Is supposed to mean that for each additional 400 grams there is supposed to be added 300 to the shipping.
I get total shipping cost of 59700 for 3 products.

What am I missing here?
You have not formulated (2) properly. For this range you are saying to charge fixed cost of $0.00 + $300 per each additional gram above lower limit, which gives= $0 + $300 * (600-401)= $300 * 199 =$59700
Try as follows:
2:
Order weight from: 400.00
Order weight to: 800.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 600.00
Rate per weight unit: 0.00
Lower weight limit: 400.00

3:
Order weight from: 800.00
Order weight to: 120000.00
Order subtotal from: 0.00
Order subtotal to: 1000000.00
Additional fixed cost: 900.00
Rate per weight unit: 0.00
Lower weight limit: 800.00

And so on...


Ahh. PER gram!  :D  That makes sense. Now it is working.
BUT, it is still annoying to have to specify so many steps. Isn't it possible to simply add 300 to the price of shipping for every 400 grams in one step?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.