Special shipping case

  • Christoph
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 days 14 hours ago - 4 days 13 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:
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 days 13 hours ago by Christoph.

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong