UCommerce 7.13 - Marketing and Promocodes

How the heck’a’roony does one get Promocodes to work?!

I have created a Default Campaign. It lasts for 200 years, staring 1900 and ending 2100…should be long enough.

I have created the discount item “100OFF FOR Fun”.
I “Advertise” on the Product Catalog Group
I “Act” on the Product Catalog Group + Promocode of “100OFF” + the product in the shop
I “Award” Amount off order line total 100.00

In my checkout I have the discount box
Entering 100OFF calls my ApplyDiscount method:

// Adding a voucher to the current basket.
if (MarketingLibrary.AddVoucher(Discount))
{
    TransactionLibrary.ExecuteBasketPipeline();
    response.Message = "OK";
}

but I don’t see anything being added to the basket. There is no discount value, nothing, zip!

And I can’t find any code examples out there beyond some of the most basic. There are no templates!

So no wonder the previous developer on the job has made a hooky custom discount set up.

Can anyone point me to something that can help me further as I want to use ucommerce’s inbuilt promocodes. It give the client more control.

Help?

You’re probably better off asking the uCommerce support people instead: