We're building a site where customers can choose to pay in pounds, dollars or euros. When a campaign item is created and any of the "Amount off..." discounts chosen as the award, there is no way to set the award in the different currencies. When the discount is then applied to a product, the price is reduced by a fixed amount regardless of currency.
Eg. "Amount of order line: 50" results in £50, $50 or €50 being taken of the price.
When working with multiple currencies you can set up multiple campaign items and combine the Act section with tthe Product Catalog Group target for the store in question.
We're aware that this will cause duplication so a better approach will probably be to add a more advanced Award type, which will let you specify discounts for multiple currencies.
I'm not sure using multiple campaing items and the Product Catalog Group target is an option our case as we only have 1 store and each product has three prices against it.
Which class(es) will i need to implement to add a custom award?
Could you provide some extra information on how to implement my own awards?
I believe that need to recreate the "Amount off..." awards with three discount values (one for each currency) and have the Apply function use the correct value depending on the billing curerncy of the order.
I've done this by extending the 'Award' class but I get an NHibernate mapping exception every time I try to add the award in the uCommerce interface.
You'll want the IAward interface to avoid getting NHibernate into the mix.
You'll basically need three separate piece to make it work: The IAward implement for the actual logic, the IAwardResolver for loading your custom award as part of a campaign item, and the configuration UI as described in the article for configuration and storing your award in the database.
"Amount off..." discounts don't handle multiple currencies
Hi,
We're building a site where customers can choose to pay in pounds, dollars or euros.
When a campaign item is created and any of the "Amount off..." discounts chosen as the award, there is no way to set the award in the different currencies. When the discount is then applied to a product, the price is reduced by a fixed amount regardless of currency.
Eg. "Amount of order line: 50" results in £50, $50 or €50 being taken of the price.
Hi Matt,
When working with multiple currencies you can set up multiple campaign items and combine the Act section with tthe Product Catalog Group target for the store in question.
We're aware that this will cause duplication so a better approach will probably be to add a more advanced Award type, which will let you specify discounts for multiple currencies.
Extending Marketing Foundation: Adding A New Advertise and Act Target will tell you how to add a custom target. The process is much the same for Awards.
Please let me know if you need additional help with this.
I'm not sure using multiple campaing items and the Product Catalog Group target is an option our case as we only have 1 store and each product has three prices against it.
Which class(es) will i need to implement to add a custom award?
You want the IAward and IAwardResolver.
The resolver concept is covered in the article I mention. Same thing for the UI to configure your custom award.
Thanks.
EDIT: I went to create my own award and I'm getting a confused. Do I really only need to implement 3 functions or am i missing something?
Hi Soren,
Could you provide some extra information on how to implement my own awards?
I believe that need to recreate the "Amount off..." awards with three discount values (one for each currency) and have the Apply function use the correct value depending on the billing curerncy of the order.
I've done this by extending the 'Award' class but I get an NHibernate mapping exception every time I try to add the award in the uCommerce interface.
Hi Matt,
You'll want the IAward interface to avoid getting NHibernate into the mix.
You'll basically need three separate piece to make it work: The IAward implement for the actual logic, the IAwardResolver for loading your custom award as part of a campaign item, and the configuration UI as described in the article for configuration and storing your award in the database.
I didn't realise I needed to create my own version of the uCommerce_Award table so was using that and ending up with errors.
All working now tho.
Thanks for all your help Soren
is working on a reply...