WebSite X5Help Center

 
Derek K.
Derek K.
User

E commerce coupon query  en

Autore: Derek K.
Visite 661, Followers 1, Condiviso 0  

Is it possible to set up a product that can only be purchased when someone enters a coupon code

Postato il
8 RISPOSTE
Axel  
Axel  
User

Hello Derek,

Coupon can be global to the order or also by product

Enjoy!
Axel

Leggi di più
Postato il da Axel  
Derek K.
Derek K.
User
Autore

Hi Axel,

Thanks for this however it does not acheive what i want as the product can still be purchased without the coupon code. My understanding is that the coupon code only allows a product discount after the item has been selected.

Regards

Derek

Leggi di più
Postato il da Derek K.
Axel  
Axel  
User

HA ok... You would like to control if the coupon code is fulfilled before to add it into the cart 

is it ?

Leggi di più
Postato il da Axel  
Derek K.
Derek K.
User
Autore

Hi Axel,

I am setting a web page that has customer offers and I can control this by giving customers access by logging in but I am thinking it would be easier to manage by giving customers a coupon that would allow them to buy the product thus avoiding them to have to log in. I am thinking though that this may not be possible with WebsiteX5.

Leggi di più
Postato il da Derek K.
Axel  
Axel  
User

OK I undertsand.

But now, it is not really in relation, but with my just test now not possible to have x different coupons for x different products in same order !!!! We can use just ONE coupon.

https://helpcenter.websitex5.com/it/post/250866

With your solution of customer access by a login, (it is a little bit heavy), it is possible if there is ONLY ONE product on the page after the authentication. But your approach is better by a coupon (simple).

Leggi di più
Postato il da Axel  
Axel  
Axel  
User

Hello Derek,

I will ask to our nice expert if he has a little code to do that

Hey @KolAsim,

Do you have solution on my demo by example to check if the coupon code is not empty during an order to force the user to put a coupon code. Just if something is fulfilled.

The coupon code itself will be checked by the activate button

Demo: https://wsx5demo.Afsoftware.fr/boutik.php

And these products at the bottom of the page  have a coupon code

And your order is like:

The goal is to check if the coupon code is not empty. the activate button will check if the coupon is OK or not.

So just to check if the coupon field is fulfilled.

Thanks you 

Enjoy!
Axel

Leggi di più
Postato il da Axel  
Axel  
Axel  
User

@Giuseppe, Andreas,

An idea by scripting wink

Leggi di più
Postato il da Axel  
Axel  
Axel  
User

Hello Derek,

Answer is here. Only ONE coupon by order !!!!! yell

https://helpcenter.websitex5.com/it/post/250866

So now, hope one of specified experts can be help you with a little code to control the content of the coupon before to pay.wink

Enjoy!
Axel

Leggi di più
Postato il da Axel