Adding to WooCommerce Product Price based on Custom Fields - wordpress

I have a WooCommerce Simple product called Tour and tour price is 500
I have a couple of advanced custom fields, for example Hotel Dropdown and Departure Point Dropdown. Hotel Dropdown has 3 hotels and each hotel has a price. Similarly, Departure Point Dropdown has a few options and each option has a price.
What I am trying to achieve is when you select a hotel on the product details page, hotel price should be added to the product price, e.g. product price 500 plus hotel price 200, so product should show a total of 700. Similarly if you select a departure point, its price should be added to the the total. Any help will be much appreciated.

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?

replace price in woocommerce product page based on a formula

can someone let me know how can i modify the product price of a woocommerce individual product page.
what i want to do is replace the product price with a new price and show several other prices.
for an example,
i want to increase the price shown by 10%
show installment price
show paypal price
i want to only display these and i dont want a full code, i want a guide on how to do this coz im new to wordpress/woocommrce and want to learn.
any help will be appreciated

Woocommerce not showing price excluding tax on product detail page

I have 2 products on the site and using tax on them. One product has priced $38.00 and showing price excluding tax on product detail page that is $34.55. The other product has $88.00 price but on the detail page, it is showing $88.00 instead it should show price excluding tax i.e $80.00.
Here are the Tax settings I am using:
When adding product I set Tax status as Taxable and set Tax class as Standard. Both the products have same settings but one is showing price excluding tax and other is showing price including tax on the detail page. I don't understand what is the issue.
UPDATE
Here is the price configuration of both the products:
The product whose price is not showing excluding Tax:
The product whose price is showing excluding Tax:
Can anyone help me to get this issue fixed?
Thanks in Advance

Disable Variable Product Price When Select a Variable of Woocommerce Products

i want to display price when user select a variable of product one time,but woocommerce shows price twice.
if prices between variables different replace variable price to product price and dosnt show price of a selected variable ,if not shows price difference also in product price.
some body help me

Resources