Not HPOS compatible
-
Hi, I was just checking your code in the plugin and its not HPOS compatible, you’re using :
delete_post_meta( $order_id, ‘_partial_pay_through_wallet_compleate’ );
update_post_meta( $order_id, ‘_woo_wallet_partial_payment_refunded’, true );
Which is not HPOS compatible, you’re also using shop_order in many places
Need to use
$order->get_meta(‘metakey’, true);
$order->update_meta_data(‘meta_key’, ‘value’);
$order->save();
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Not HPOS compatible’ is closed to new replies.