Jump to content

Coupon Code as a link


Recommended Posts

I want to create a coupon code that has the following condition:

 

If you purchase a specific item (item "A"), then you get a free item "B".

 

My questions:

 

1. Can I create a coupon/voucher code that follows this logic? (Item "B" is ONLY free if the cart also includes item "A")

 

2. Can coupon codes be embedded in URLs, so that if I email someone a coupon, they can click on the link in their email, and it takes them to my store and the coupon code is already applied.

 

Link to comment
Share on other sites

  • 2 years later...

Bonjour, 

 

Comment créer un url incluant un code promo activé de la boutique ?

 

Nous en avons besoin pour envoyer des liens / newsletter qui inclut directement le code promo.

 

D'avance merci pour votre aide

Bien cordialement

 

 

Angela

Link to comment
Share on other sites

  • 9 months later...

Bonjour, 

 

Comment créer un url incluant un code promo activé de la boutique ?

 

Nous en avons besoin pour envoyer des liens / newsletter qui inclut directement le code promo.

 

D'avance merci pour votre aide

Bien cordialement

 

 

Angela

 

Bonjour,

 

J'ai besoin de faire la même chose, t'as réussi à trouver une solution ?

 

Merci

Link to comment
Share on other sites

2. Can coupon codes be embedded in URLs, so that if I email someone a coupon, they can click on the link in their email, and it takes them to my store and the coupon code is already applied.

Yes, I've tried to use a GitHub VoucherUrl and it works:

 

https://github.com/pgarcpri/voucherUrl

 

Keep in mind that you need to put the file in a folder and create a zip file before upload as a module to PS.

 

Have fun.

  • Thanks 1
Link to comment
Share on other sites

  • 3 months later...

Yes, I've tried to use a GitHub VoucherUrl and it works:

 

https://github.com/pgarcpri/voucherUrl

 

Keep in mind that you need to put the file in a folder and create a zip file before upload as a module to PS.

 

Have fun.

 

I put that PHP file into a folder of the same name, created a zip, and installed it via the PS modules page. It doesn't appear in the modules list, and it isn't in the /modules folder. Am I doing something wrong?

Link to comment
Share on other sites

  • 2 months later...
  • 1 year later...
On 8/14/2017 at 12:39 PM, kirubanidhi said:

This module is working or not.

 

 

https://github.com/pgarcpri/voucherUrl

 

Hi,

Maybe answer is very late, but I've tried this module and it works fine. 

This is important to check if the name of unpacked folder equals to "voucherUrl" (without "-master").

Edited by Nadia (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...