# New: Discount Code Rejection Extension

Rescue failed coupon attempts and keep shoppers in checkout

April 14, 2026

## How It Works

When a shopper enters an invalid coupon code at checkout, Shopify rejects it. PDQ's Web Pixel picks up on that rejection instantly and displays a replacement offer- either as a banner with the discount details, or as a clickable widget where the shopper can apply the new code in one click.

You set the rules: match specific codes (exact match, prefix, or regex), choose the replacement discount type (percentage or fixed amount), set expiry and combination rules, and decide whether the new discount auto-applies or requires a click.

## What You Can Do With It

- **Rescue abandoned checkouts**: failed coupon codes are one of the top reasons shoppers leave checkout. Now you can catch them before they go.

- **Run flexible replacement rules**: match by exact code, prefix, or regex pattern. Offer a generated one-time-use coupon or point to an existing store discount.

- **Personalize the message**: use dynamic fields like **{replacement_discount}** and **{customer_name}** to make the offer feel personal.

- **Choose how it looks**: pick between a banner (informational) or clickable widget (with an "Apply Discount" button). Customize colors, button style, and CTA text.

The extension is live now. Reach out to [support@prettydamnquick.com](mailto:support@prettydamnquick.com) if you have questions.

[coupon code rejection.mp4](https://prettydamnquick-db7e01f55561.intercom-attachments-1.com/i/o/ztnp7xnj/2273267002/ff3705cfebcf7a8bbeabf4e27353/coupon+code+rejection.mp4?expires=1784357100&signature=f71a6b0a2bb8036a4247df98deba43ee22380d15e1a02722a4ccb25356e927e7&req=diIgFct4moFfW%2FMW1HO4zY6lDMO3EfkI6sQnnFNZQyClRXXqE71fA1hTMutj%0AAzZnkiyWTiY%3D%0A)
