Apply coupon per product - wordpress

I want to apply coupon per product basis, not on whole complete cart. So that my coupon could subtract that specific amount form all item one by one.

Pretty straight forward if your woocommerce is up to date. When you go to Dashboard > Woocommerce > coupons and add new. You can select from several options including Cat Discount, Cart % Discount, Product Discount, Product % discount. You just select either product or product % and you're good to go. Only that product will be discounted leaving the rest of the cart at full price.

Related

Increase price of all products after every sale (WOOCOMMERCE)

I would like to increase the price by $20 of all products after every new sell in woocommerce
Exemple:
Starting prices $50
First order : all products prices become $70
Second order : all products prices become $90
Third : all products prices become $110
and so...
I believe this plugin should give you what you want it is a bit outdated so use at your own caution
https://wordpress.org/plugins/raise-prices-with-sales-for-woocommerce/

Woocommerce recalculating tax on completed orders ignores that VAT is included in product

Problem: When setting up a site I forgot to activate taxes. My accountant asked me to correct it so I tried the Woocommerce recalculating button on completed (older) orders. Unfortunately, it ignores the setting that VAT is included in the product price and adds tax to product price (increasing the total order amount incorrectly)
Activated taxes for new orders
Now when placing a new order, the tax (21%) gets show correctly on checkout and invoice. The tax is included in the price & order total.
Product price 14,95
Tax 3,14 (product price excl. tax 12,35)
Total: 14,95
Recalculating old orders
For older orders when tax was not enabled however it is a different story:
Woocommerce offers the ability to recalculate orders. If I do this for an old order: the tax is added to the product price instead of shown to be included in the product price.
Product price 14,95
Tax 3,14
Total: 18,09
As you can see recalculation ignores the setting that the product price includes VAT.
Have you seen this behaviour, or do you have an idea how to solve this problem?

Raise price of all products and product variations by category name in Woocommerce

I simply want to raise the price of all products and product variations in the category "T-Shirts" by 10%.
I have seen this question Woocommerce MySQL to update price of products in specific category
But therefore I need to find out the term_taxonomy_id of the category.
How do I achieve that?
Wordpress/Wocommerce DB structure is a mess.

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.

Two different prices for the one product on the checkout page (bug)

The correct price for the product is €38 and VAT is included to the price #23%
In the products page the price 30.89 plus 23% = 30.894*1.23 = 37.99962
But when I add a product and go tho the cart, the total price and the cart prices are out by a cent
the cart is €38 but the check out is €38.01
I tried every combination possible to get both prices correct and I can get €37.99 and €40.01 but I can't get €40 in both carts.
I'm not sure how they could be different I thought they would be going by the same calculation but obviously not.
It looks like a rounding issue. Try increasing the number of decimals in WooCommerce > Settings > General

Resources