Jump to content

Hide gift vouchers in shopping cart associated to product


Recommended Posts

Hello and sorry if this has already been answered.

 

I have a doubt and i hope someone has the answer. When i create a voucher associated to a single article and the voucher includes a free gift, i want it to appear in the shopping cart summary. Ok i can do this by checking the "highlight" when i create the voucher. The problem is that the voucher appears always, no matter what article you have in the cart. Then when you select a voucher and click OK, an error message appears if that voucher was not intended for that article.

 

What i want is that in the cart summary only the vouchers appear if they are associated to some of the items in the cart, and if possible, only those with stock.

 

An example would be selling smartphones and having a voucher for a single model that includes a case, but i only want that voucher to appear in the cart summary if the customer selects that smartphone and not the others.

 

I know there are some modules that can do this but i think we can get more from the vouchers functionality in PS, so i hope someone has the answer. Would be appreciated.

 

Best regards and merry christmas.

 

Link to comment
Share on other sites

×
×
  • Create New...