woocommerce / pinterest-for-woocommerce

A native Pinterest integration for WooCommerce. Development is managed by Ventures.
https://woo.com/products/pinterest-for-woocommerce/
GNU General Public License v3.0
22 stars 9 forks source link

Fix/fetch correct coupons information #997

Closed budzanowski closed 2 months ago

budzanowski commented 2 months ago

Changes proposed in this Pull Request:

Closes #996 .

Get proper data for discounts processing.

Detailed test instructions:

  1. Set a breakpoint in process_available_discounts
  2. trigger hourly action.
  3. step through the code to verify that correct array is fetched for discounts processing.