• Resolved shenalorlof

    (@shenalorlof)


    Why all the coupons available are showing on the product page? I want to show the coupon code only in the related product page not in every product. How to fix this issue?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Shenalorlof,

    IMO this sounds more like a feature request rather than an issue, please allow me to explain why.
    The validity of a coupon depends on the cart contents and therefore when you are rendering coupons on a product page, it is normal to get all the codes. When we are setting restrictions for a coupon and then try to apply it to the cart, WC Core will check the cart contents and decide whether the coupon should be added to the cart or not.

    However, and as I already mentioned this is perhaps a feature that could fit in the plugin.

    Kind regards,
    George

    Plugin Contributor Kento

    (@proaktion)

    FYI there’s a premium extension that allows to show coupon info on applicable products: https://woocommerce.com/document/volume-discount-coupons/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display coupon only on related product page’ is closed to new replies.