Update Wholesale Price with Code
-
Hello,
How can I use the plugin functions in order to update a wholesale price?
Or do I just would have to update it with: $product->update_meta_data( $role . ‘_wholesale_price’, $price );
Is it necessary to also update $product->update_meta_data( $role . ‘_have_wholesale_price’, ‘yes’ ); ?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.