Here are examples of orders
http://cabinet.b2bframes.com/admin/customorder/order/39827/edit/
- the product got into the box at the price from the product card, taking into account the discount [file]4660[/file]
https://ebay.ossaframes.com/wp-admin/post.php?post=9452&action=edit
- on the website of the product, the price is different [file]4661[/file]
Question - from where should the price be pulled up according to the logic of the order import action? If not from the site, can it be improved so that the price is drawn from the site?
If variation - the price is taken from the OneBox product card (filter markup, if any). If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
If variation - the price is taken from the OneBox product card (filter markup, if any).
If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
Tyndyk Maxim Vadimovich wrote: If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
Checked on another base. Like there is, then there will be First SELECT * FROM `wpat_woocommerce_order_items` WHERE `order_id` = '230627' Then SELECT * FROM `wpat_woocommerce_order_itemmeta` WHERE `order_item_id` = '5710'
[quote]
Tyndyk Maxim Vadimovich wrote:
If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
[/quote]
Checked on another base. Like there is, then there will be
First [file]4706[/file]
SELECT * FROM `wpat_woocommerce_order_items` WHERE `order_id` = '230627'
Then [file]4707[/file]
SELECT * FROM `wpat_woocommerce_order_itemmeta` WHERE `order_item_id` = '5710'
Tyndyk Maxim Vadimovich wrote: If variation - the price is taken from the OneBox product card (filter markup, if any). If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
Let's start, we need it, so that the price is raised by the promotion on the site. We have 4 more paid years.
[quote]
Tyndyk Maxim Vadimovich wrote:
If variation - the price is taken from the OneBox product card (filter markup, if any).
If you have a price for the variation in postmeta.meta_key = _line_subtotal - we can make a setting so that the price is taken from wordpress from the specified value - this setting will take 1 hour of refinement
[/quote]
Let's start, we need it, so that the price is raised by the promotion on the site.
We have 4 more paid years.
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up