Answer the question
In order to leave comments, you need to log in
How to take price from custom fields?
Hello dear friends!
Can you please tell me how to make WooCommerce take the price of the product from custom fields?
When publishing a product, there are 3 fields with a price, the client can choose the Price Type in the product card, but how do I make WooCommerce take this price into account when placing an order?
Edit: From additional custom post type fields...
Please advise.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
There was an experience of substituting different prices from a special table in the database. The essence is the same. There are filter hooks that allow you to substitute prices and take them from anywhere. It is necessary to read the source codes and look for them.
The easiest option is to make variations with different prices.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question