Articles on: Troubleshooting & Support

Coupon Not Displaying on Product Page – How to Update Element Paths

If your coupon is not appearing on a product page, it may be due to element paths needing an update. Follow these steps to ensure the product and Add to Cart selectors are correctly configured.



1. Go to Product Page Settings

  1. In your Klip Coupons dashboard, go to Settings → Advanced → Coupon placements → Product page.



2. Open Your Browser Developer Console

  1. Go to the product page where the coupon should appear.
  2. Right-click anywhere on the page and select Inspect (or press F12).
  3. Make sure the Elements tab is active.


3. Locate the Add to Cart Form

  1. In the Elements tab, use the Select Element tool (cursor icon).
  2. Hover over and click the Add to Cart button.
  3. Look for the <form> element that wraps the Add to Cart button. It should look like:


<form method="post" action="/cart/add">



4. Update the Product Form Selector

Check the Product form selector field; the default is form[action*="/cart/add"]. To find and set a different selector, follow Coupon Not Showing on the Product Page: Set the Placement with the Product Form Selector.



5. Update Add to Cart Button Selector

This selector tells Klip which button adds the product. With Enable coupons for alternate payment methods on, a clipped coupon goes into the cart with that product.


  1. In Product Page settings, locate the Add to Cart button selector field.
  • By default, it is set to:
form[action*="/cart/add"] [type=submit], form[action*="/cart/add"] .add_to_cart


  1. Inspect the Add to Cart button on your product page.
  2. Find a unique class for the button.



  • Example:
class="product-form__submit button button--full-width button--secondary"
  • Use product-form__submit as the unique class.


  1. Replace .add_to_cart in the selector field with your unique class:
form[action*="/cart/add"] [type=submit], form[action*="/cart/add"] .product-form__submit



  1. Click Save.


6. Update Compact Add to Cart Button Selector

  1. In Product Page settings, locate the Compact Add to Cart button selector field.


  • By default, it is set to:


form[action*="/cart/add"] [type=submit], form[action*="/cart/add"] .add_to_cart


  1. Inspect the Quick Add to Cart button on your product page. The product page's main Add to cart button uses the selector in step 5.



  1. Find a unique class for the button.


  • Example:
class="quick-add__submit button button--full-width button--secondary"
  • Use quick-add__submit as the unique class.
  1. Replace .add_to_cart in the selector field with your unique class:


form[action*="/cart/add"] [type=submit], form[action*="/cart/add"] .quick-add__submit



  1. Click Save.


7. Verify

Refresh your product page, tick the coupon and click Add to cart. The cart should show the discounted price. If it shows the full price, check the Add to Cart button selector in step 5.


Need Help?

If your coupon still isn’t showing or you have any questions, feel free to contact our support team. We’re happy to help!


See also


Updated on: 24/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!