Developer forum

Forum » Ecommerce - Standard features » Voucher discounts

Voucher discounts

Jesse Bakker
Reply

Hi,

I'm trying to get the voucher based discount to work on a DW 9.2.17 solution.

I created a Voucher list with some voucher codes. And I created a Sales Discount with discounttype 'Order field discount unique voucher' (see attached screenshots).
When I add a newly created code to my cart on the checkout page, I see it is being added to the record in the database in the column 'OrderVoucherCode' in the 'EcomOrders' table. But there is no discount being calculated. Also there is no data changed on the 'EcomVouchers' table.

Is there some setting that i'm missing?

Maybe also interesting is that there is no validation on the code itself. I can add any non existing code and it will still be added to the cart.
Also other Sales Discount rules based on users or product work fine.

BR, Jesse

salesdiscount.JPG voucherlist.JPG

Replies

 
Nicolai Pedersen
Reply

What name does the input field for the voucher have in your template?

 
Jesse Bakker
Reply

The field name is: EcomOrderVoucherCode
It is being picked up and added to the cart record in the database. 
Where I also can retrieve it again with GetString("Ecom:Order.Customer.VoucherCode")

 
Jesse Bakker
Reply

Hi,

I upgraded the solution 9.3.1. But unfortunately same results as before.
Any other suggestions where this can be fixed? 

BR, Jesse

 
Nicolai Pedersen
Reply

Hi Jesse

We need a URL to see what you have misconfigured...

BR Nicolai

 
Jesse Bakker
Reply

Hi Nicolai,

That would be great. It's still on a test environment: http://shop.plymovent.bde03.bluedesk.nl/ 
But it has a IP-filter on it, so if you could give me your ip-adres I can whitelist you.

BR, Jesse

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Jesse

You would need to move the discount type to Order discounts

The Sales Dicount -> Voucher flow does not work at the moment. (#39025)

Sorry for the inconvenience this may have caused

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

 

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply

Hi Jesse

The problem TFS#39025 "Sales Discount Voucher flow does not work" has now been fixed in version 9.3.2

You are able to find this build in the download section:

http://doc.dynamicweb.com/releases-and-downloads/releases

Please contact Dynamicweb Support if you need any additional help regarding this.

Kind Regards
Dynamicweb Support
Kristian Kirkholt

 

You must be logged in to post in the forum