How to set up WooCommerce per item shipping cost - wordpress

I want to set up shipping cost on per item basis, but in woocommerce plugin I only get 2 options with flat rate (per class basis & per order basis) there is no per item option.
How can i set up per item shipping cost.

In flat-rate cost field enter rule like -
10 * [qty]
This will add 10 per item.
For a little bit more advanced options you can try out the following plugin
[Updated link] https://www.pluginhive.com/per-product-add-on-for-woocommerce-shipping-pro/

Related

Woocommerce: How to change the item cost when editing orders?

I have default prices set for every product in the shop, but sometimes we agree on different prices per item with certain distributors, so I edit the prices in the order creation.
When editing, I would like to display the agreed price per item in the item_cost td and get the totals calculated in consecuence rather than editing the totals and getting the discount applied.
I thought this was a base feature of Woocommerce but apparently it isn't. Any ideas?
After so many time looking for a solution for the same problem, the support from Rednao team juste gave me the answer.
The light gray "before discount" field ("antes del descuento" in your case) is editable!
So just add your new price in the total field, add the same price in the "before discount" field, and that's it. The unit price will be OK now.

Split shipping cost in cart

I have Shipping costs based on the number of categories in cart. Base shipping is 250 and if the number of categories is more than 1 for every category is charged extra 50. At the moment everything is shown together in a cart, I would like to be extra cost visible with a label and new row.
It looks like you might need to modify the WooCommerce checkout template in the theme that you are using.

Woocommerce: Need to show shipping price and include it in the total [duplicate]

This question already has an answer here:
Get the Cart shipping label and cost in Woocommerce
(1 answer)
Closed 4 years ago.
I've inherited a custom built Woocommerce site and am having to make some upgrades but are getting a little stuck.
I can show the cart total before taxes:
WC()->cart->get_cart_total();
I can show the taxes to be applied:
WC()->cart->get_cart_contents_tax();
And the final with the taxes applied:
WC()->cart->get_cart_subtotal();
But I cannot find anyway to show the flat rate shipping I have and also the cart total with the shipping cost applied.
I only have one shipping item which is active, flat rate, with all continents applied to make it global. I'm logged in with an address registered but it doesn't display it.
I have tried multiple options including...
WC()->cart->calculate_totals();
WC()->cart->calculate_shipping();
$packages = WC()->shipping->get_packages();
...but still no shipping price or cart total with shipping.
To extract shipping cost, I would go like this, using get_cart_shipping_total:
$shipping_cost = WC()->cart->get_cart_shipping_total();
Have a try.

Add flat rate shipping fees in Woocommerce?

Hi , I am working in Woocommerce and I want to add shipping fees $7 on
the total order that less than $50 .
Could you please help me on this issue ?
Advanced Costs option under WC settings
The Cost field allows you to charge a flat rate per item, a percentage based cost or a minimum fee.
Available placeholders:
[qty] – Number of products in the cart
[fee] – An additional fee. This fee has two optional arguments.
percent – A percentage based on total order cost.
min_fee – A minimum amount. Useful when using percentages.
Examples
10 + ( 2 * [qty] ) – A base shipping cost of $10 plus $2 for each item in the cart.
20 + [fee percent="10" min_fee="4"] – A base shipping cost of $20 plus 10% of the order total, which is at least $4.
Check here

woocommerce shipping table rates per order + per cart

I am using woocommerce table rate shipping
In my current system I need to two types of shipping rates
1. Per Order (Based on category )
2. Per Item (Based on category )
The both categories are working fine if the products are separately added
But while I am adding and one products from each categories, in that senarioes I want to both shipping method summation.
Can anyone help me?
Thanks,
Denis
http://www.yiion.com
If you are using the Table Rate plugin from WooCommerce you have to check 'break' when setting up the shipping method.

Resources