There is a plugin installed on my site that adds the ability to select paid add-ons to the product. When creating an order through the site, everything works fine, when I receive the same order through the REST API, I also see these additions in the product metadata, and the price of the product changes depending on the selected additions. But if I try to add an order via the REST API, even specifying additions in meta_data, wc does not take them into account and displays the usual price of the product.
How can I add add-ons so that the price changes?
P.S. I also tried to create a product first and then update it by adding add-ons, but it didn’t help
- You must be logged in to reply to this topic.