标签: woocommerce
我想在产品页面中显示产品的所有可用优惠券,我需要优惠券详细信息,例如 product_category_ids 或 get_excluded_product_ids。我必须从这个地址“/wc-api/v3/coupons”使用woocommerce api吗?还有其他解决方案吗?