I think I have figured out #1. But I cannot get #2 above to work. I can't use GetTargetedCampaignItems() as I want to call it via Ajax. So SiteContext.Current.CatalogContext etc... is null.
I have the product SKU available to me? Surely I can pass in the SKU to a method to return the 'TargetedCampaignItems'? Anyone?
Bundle Deals + Example Code?
1) I want to be able to let my store managers, create offers for certain products. So for example, if you buy product X and product Y you get Z % off.
2) I also want to show this offer on the product details page, when one of the products matches a deal. So they see something like
"Buy X with this product and get 10% off" << I'll actually pull through the product and show it on the page
Could you please run me through #1 and also #2 (Example of how I use GetTargetedCampaignItems() to pass in the product ID/Sku?)
I think I have figured out #1. But I cannot get #2 above to work. I can't use GetTargetedCampaignItems() as I want to call it via Ajax. So SiteContext.Current.CatalogContext etc... is null.
I have the product SKU available to me? Surely I can pass in the SKU to a method to return the 'TargetedCampaignItems'? Anyone?
Hi Lee,
what are you using as your webservice platform? ServiceStack, WebApi, WCF?
Best regards Martin
is working on a reply...