# Deduct the cheapest shipping costs

Viewing 11 posts - 1 through 11 (of 11 total)
• Author
Posts
• #94573
Alan
Guest

Good evening,
I am looking for a solution to deduct the cheapest shipping costs if a customer buys 4 items.
Deduct the least expensive flat price on the purchase of 4 products in are basket.
Do you think this is possible with your plugin
Thank you

#94574
Tom Anbinder
Moderator
Plugin Support

Hi Alan,

I’m not sure if I understood the task correctly. Do you mean that if, for example, the customer adds 4 products (product A, product B, product C and product D) to the cart and if, for example, product’s A price is the lowest of 4 products, then we need to deduct product’s A price from the totals, is that correct?

#94575
Alan
Guest

Hello,
it is exactly that
you have understood very well,
I can not find a solution to this problem
Clients often have requests that are not expected
Sorry to get back late
Thank you

#94576
Alan
Guest

Hello,
I think I was a little fast.
The idea is to deduct the cheapest shipping price on 4 purchases made. Each product has a flat rate shipment.

this is possible
Thank you
Alan

#94577
Tom Anbinder
Moderator
Plugin Support

Hi Alan,

I’m sorry but I’m still not sure if I understand it correctly. Maybe you can give me an example? And by “… on 4 purchases made…” – do you mean 4 different orders?

#94578
Alan
Guest

Hello,
Let’s take an example
I order :
• a product A – (fixed price € 2)
• a product B – (fixed price of 3 €)
• a product C – (fixed price 4 €)
• a product D – (fixed price 5 €)
Normally I will have to pay in Postage 2 € + 3 € + 4 € + 5 € = 14 €
But as I ordered 4 products – I would like to remove the price of sends the cheapest one ie 2 €
If who makes 3 € + 4 € + 5 € = 12 €
Sorry to mis explain me
Thank you
Alan

#94579
Tom Anbinder
Moderator
Plugin Support

Hi Alan,

By shipping’s “fixed price” for a product – you mean you are using product “shipping classes”, correct?

#94580
Alan
Guest

Good evening,
yes I use “shipping classes” of the plugin to set lump sum shipping prices
cordially

#94581
Tom Anbinder
Moderator
Plugin Support

Hi Alan,

Hopefully I’ve understood you correctly. First of all – please update to the latest plugin version 1.4.0 that we have just released. Now as your task is rather specific, I’ve decided to add a filter, so you could add a PHP snippet to your site. The snippet is in the “Developers” tab on the current page. Please take a look and let me know if something is not working as expected or if you have any questions.

P.S. And if you like the plugin, please consider leaving me a rating.

#94582
Alan
Guest

Too bad not being able to put six stars to this awesome plugin.
I searched a lot of plugin for functions
dispatch management.
Custom Shipping Methods for WooCommerce is the best.
Thanks Tom

#94583
Tom Anbinder
Moderator
Plugin Support

Thank you, I really appreciate it!

Viewing 11 posts - 1 through 11 (of 11 total)
• You must be logged in to reply to this topic.