I would like an option to turn off logging TikTok sales in the WooCommerce website orders page.
Having TikTok orders logged into WooCommerce really isn’t helpful. We manage TikTok orders through the TikTok store website, not our website. Having those orders duplicated in WooCommerce buries orders placed through the website, making it easy to miss orders.
We have also had problems with with TikTok orders being entered multiple times into WooCommerce orders, producing bogus sales numbers and lowering inventory unnecessarily. Having the option to turn off TikTok order logging would solve that problem as well.
Open
Last updated: July 4, 2023
Log in to comment on this feature request.
A useful improvement for the TikTok for WooCommerce integration would be an option to turn off TikTok sales logging in WooCommerce orders. While syncing products to TikTok Shop, creating TikTok ads, installing the TikTok Pixel and Events API, and measuring campaign performance can make selling easier, duplicate TikTok orders in WooCommerce can clutter the order dashboard, create inaccurate sales figures, and unnecessarily reduce inventory. An option to manage TikTok orders exclusively through the TikTok Shop dashboard would help store owners keep website orders organized and avoid duplicate records. As an additional useful tool, a TikTok earning check or TikTok Money Calculator could help sellers and creators estimate potential earnings from views, engagement, and product sales while tracking their overall TikTok performance.
@nathaneldo
Where do I place the code.
Can we get an update or a setting option to disable the TikTok orders from showing in WooCommerce. A turn off or on setting would be ideal.
Thanks
In case this is helpful to anyone, below is some code that will delete TikTok orders when they are placed:
// Delete TikTok orders when they are placed
add_action(‘woocommerce_new_order’, ‘action_woocommerce_new_tiktok_order’, 10, 2);
function action_woocommerce_new_tiktok_order( $order_id, $order ) {
$order_id = $order->get_id();
if ($order->get_meta( ‘tiktok_order’ )) {
wp_delete_post($order_id);
} else {
return;
}
}