- Posts: 22
- Thank you received: 2
Special shipping case
- Christoph
- Topic Author
- Offline
- Junior Member
-
Less
More
4 weeks 23 hours ago - 4 weeks 22 hours ago #176362
by Christoph
Special shipping case was created by Christoph
Hi!
I have questions regarding my shipping plugins.
1. Question:
My shipping costs depend on weight only. So I have activated the eshop weight plugin and entered all Prices für all geozones which works fine. My special case: my shop should ship without insurance/tracking if the total goods price is BELOW 100 Euros, and always with insurace/tracking ABOVE.
How can I do this?
For weight shipping there is only a "Min Total" option. Do I need to set €100 there so the plugin is disabled above this amount and install a second weight plugin which get's the job after the first plugin is disabled? The sequence when the plugins are used is depending on the order id?
Another solution would be a new eshop_weight2 plugin with "max Total" which is active then over €100. In the plugin I found:
Replacing this and the corresponding XML entry for the min total paramter should do the job, or am i wrong?
2. Question:
I'm doing all the processing locally on my PC, so the only thing I get is the admins e-mail order notification with all needed data. Is there a way to include an id (or something else) which represents the shipping costs so my software can choose the correct shipping type when getting the label from DHL? For example:
For Germany the shipping costs are as following: 1|1000;3.11|2000;4.54|5000;7.82|10000;10.92|20000:19.33|31500;24.37
So when shipping 5kg, the price is €7.82 ... and the id in my e-mail should be something like "1-2" (geozone 1, position 2). which could be inserted by [SHIPPING_TYPE_ID] or similar.
I think I must program this but may be there is an internal variable I can choose for?
Best regards,
Christoph
I have questions regarding my shipping plugins.
1. Question:
My shipping costs depend on weight only. So I have activated the eshop weight plugin and entered all Prices für all geozones which works fine. My special case: my shop should ship without insurance/tracking if the total goods price is BELOW 100 Euros, and always with insurace/tracking ABOVE.
How can I do this?
For weight shipping there is only a "Min Total" option. Do I need to set €100 there so the plugin is disabled above this amount and install a second weight plugin which get's the job after the first plugin is disabled? The sequence when the plugins are used is depending on the order id?
Another solution would be a new eshop_weight2 plugin with "max Total" which is active then over €100. In the plugin I found:
Code:
if ($minTotal > 0 && $total >= $minTotal)
{
$status = false;
}
Replacing this and the corresponding XML entry for the min total paramter should do the job, or am i wrong?
2. Question:
I'm doing all the processing locally on my PC, so the only thing I get is the admins e-mail order notification with all needed data. Is there a way to include an id (or something else) which represents the shipping costs so my software can choose the correct shipping type when getting the label from DHL? For example:
For Germany the shipping costs are as following: 1|1000;3.11|2000;4.54|5000;7.82|10000;10.92|20000:19.33|31500;24.37
So when shipping 5kg, the price is €7.82 ... and the id in my e-mail should be something like "1-2" (geozone 1, position 2). which could be inserted by [SHIPPING_TYPE_ID] or similar.
I think I must program this but may be there is an internal variable I can choose for?
Best regards,
Christoph
Last edit: 4 weeks 22 hours ago by Christoph.
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
3 weeks 6 hours ago #176504
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Special shipping case
Hello Christoph,
Thank you for submitting the question here. I read your questions and default shipping plugins does not support all of that features. If you want to use them for your special case, I think you need to customize to the default weight shipping plugins / duplicated shipping plugins to meet your requirement.
Sincerely, Giang
Thank you for submitting the question here. I read your questions and default shipping plugins does not support all of that features. If you want to use them for your special case, I think you need to customize to the default weight shipping plugins / duplicated shipping plugins to meet your requirement.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
- Christoph
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 2
2 weeks 2 hours ago #176640
by Christoph
Replied by Christoph on topic Special shipping case
Hi Giang,
Yes, you are right. I'm currently creating a more common and very flexible shipping plugin ("eshop_flexible") with rates with much more options:
Geozone_id|MinWeight|MaxWeight|MinTotal|MaxTotal|MaxLength|MaxWidth|MaxHeight|Cost|Shipping_id|LangKey
So every line represents one shipping rate.
An entry like "1|0|1000|0|100|300|0|0|3.11|9902|ESHOP_SHIPPING_LARGE_LETTER" will be a hit for "Geozone 1, weight from 0-1000g, 0-100 €, maximum length of 300mm" and return €3.11 shipping costs together with "my shipping id" for large letters in Germany 9902 and the language key. The shipping_id is then placed in my admin notify e-mail ("[SHIPPING_SHIPPING_ID]") so my local software can easily choose the correct label form DHL.
The first hit is choosen so the order in the rates area is important.
But this plugin is extremely flexible - so that plugin can be the only one for my shop.
If it is finished I can place it here - may be there are so others with the need of such a shipping plugin.
Best regards,
Christoph
Yes, you are right. I'm currently creating a more common and very flexible shipping plugin ("eshop_flexible") with rates with much more options:
Geozone_id|MinWeight|MaxWeight|MinTotal|MaxTotal|MaxLength|MaxWidth|MaxHeight|Cost|Shipping_id|LangKey
So every line represents one shipping rate.
An entry like "1|0|1000|0|100|300|0|0|3.11|9902|ESHOP_SHIPPING_LARGE_LETTER" will be a hit for "Geozone 1, weight from 0-1000g, 0-100 €, maximum length of 300mm" and return €3.11 shipping costs together with "my shipping id" for large letters in Germany 9902 and the language key. The shipping_id is then placed in my admin notify e-mail ("[SHIPPING_SHIPPING_ID]") so my local software can easily choose the correct label form DHL.
The first hit is choosen so the order in the rates area is important.
But this plugin is extremely flexible - so that plugin can be the only one for my shop.
If it is finished I can place it here - may be there are so others with the need of such a shipping plugin.
Best regards,
Christoph
The following user(s) said Thank You: Giang Dinh Truong
Please Log in or Create an account to join the conversation.
- Giang Dinh Truong
-
- Offline
- Administrator
-
1 week 6 days ago #176657
by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Special shipping case
Hello Christoph,
Thank you so much for that. I think it will be useful for some cases and some customers. It's great if you can sharing and explain detail about the plugin once you completed it.
Sincerely, Giang
Thank you so much for that. I think it will be useful for some cases and some customers. It's great if you can sharing and explain detail about the plugin once you completed it.
Sincerely, Giang
Please Log in or Create an account to join the conversation.
Moderators: Giang Dinh Truong
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.