CampainActions in litium 8

I can’t find a Campaign.Actions objects in Campaign object.
In litium 7 it worked like on screen shot

What are you trying to do since CampaignActions no longer exists in L8. You have Sales.Discount and Sales.DiscountTypes instead.
See here.

We are porting code from Litium 7 that, among other things,

  • Iterates over all active campaigns
  • Takes different actions depending on the “campaign action” (i.e. ignores “free shipping” campaigns, but not “price reduced” campaigns)
  • Finds all variants affected by campaigns

The code then indexes the results, to use this information in various ways in the storefront.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.