Solved

Problems with URL Coupon codes

  • 29 December 2022
  • 5 replies
  • 156 views

Badge +1

Hi everyone, I have a problem with coupon codes on shopify, when I try to use the link on the store I get a 400 Bad Request (cloudflare) error.

I followed klaviyo's procedure step by step to generate the link but it doesn't work.

 

I already checked is the name of the coupon was correct, and it’s! :)

 

THIS DOESN’ T WORK

https://www.bonbonsdolcisardi.it/discount/{% coupon_code 'BENVENUTO10' %}  

THIS ARE NOT APPLIYNG ANITHING

  1. https://www.bonbonsdolcisardi.it//discount/BENVENUTO10
  2. https://www.bonbonsdolcisardi.it//?discount=BENVENUTO10
icon

Best answer by Manny Singh 4 January 2023, 15:00

View original

5 replies

Userlevel 7
Badge +58

Hi @saintstar ,

Welcome to the Community.

This could be for multiple reasons so let me just lay out some ideas.

For auto-applying a static coupon, the URL setup would be the following: 
mysite.com/discount/CouponName
For auto-applying a dynamic coupon, it would look like this: 
mysite.com/discount/{% coupon_code 'your_code' %} 

You would not need to add https:// before your link. Please note that the auto apply will only work once live and not in preview. It's worth sending a test profile through the flow whilst in manual mode to check.

 

Related Articles:

Add a Single Static Coupon Code For Everyone
How to Add Link that Applies a Coupon Code to a Shopify Cart
Unique Coupon Codes for Shopify

 

Hope that helped,

Alex


 

Badge +1

Hello thank you for your help, but it doesn't work

  1. I created a coupon 
  2. I used the link I tell you above: mysite.com/discount/{% coupon_code 'your_code' %} OR mysite.com/discount/CouponName in LIVE CAMPAIGN 
  3. It redirects me on 404 error on the website 

How can i fix?

Userlevel 7
Badge +38

Hey @saintstar, to provide more context, which email are using this in? Could you send a screenshot of how you have this?

Badge +1

this is the site: https://www.bonbonsdolcisardi.it/

this is one of the code: bonbonsdolcisardi.it/discount/BENVENUTO10

this is the other one: bonbonsdolcisardi.it/{% coupon_code 'BENVENUTO10' %}

 

Here below you can find the coupon 

 

which other kind of info do you need?

Userlevel 7
Badge +38

@saintstar for the static code: BENVENUTO10

 

I just tried it on your site without the link at the checkout and it says the discount code is not an active one. 

 

For the dynamic version, I believe the format needs to be like this: bonbonsdolcisardi.it/discount/{% coupon_code 'BENVENUTO10' %}

Reply