Support » Plugin: WP-Lister Lite for Amazon » $product->save() trigger listing update?

  • Resolved howy



    is product update on amazon when calling save() method on WC_Product or WC_Product_Variation?


Viewing 1 replies (of 1 total)
  • Hey @howy

    I first want to apologize for the late response here. Our development team has been busy and we have had a few unforeseen issues come up that caused some delays as well.

    To answer your question no, not by itself. If the price or stock was changed, then WP-Lister for Amazon would pick that up and mark the listing as changed. To be sure, just add this line after the WC_Product::save() method in your code:

    do_action( 'wpla_product_has_changed', $wc_product_id );

    Kind regards,

Viewing 1 replies (of 1 total)
  • The topic ‘$product->save() trigger listing update?’ is closed to new replies.