Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Lee 1130 posts 3088 karma points
    Apr 09, 2014 @ 07:27
    Lee
    0

    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?)

  • Lee 1130 posts 3088 karma points
    Apr 09, 2014 @ 14:01
    Lee
    0

    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?

  • Martin 181 posts 740 karma points
    Apr 09, 2014 @ 17:51
    Martin
    0

    Hi Lee,

    what are you using as your webservice platform? ServiceStack, WebApi, WCF?

    Best regards Martin

Please Sign in or register to post replies

Write your reply to:

Draft