public CatalogPromotionExpressionBlock(IExpressionViewModel promotionViewModel)
			: base(null, promotionViewModel)
		{
			ConditionBlock = new ConditionAndOrBlock("if".Localize(), promotionViewModel, "of these conditions are true".Localize());
			ActionBlock = new ActionBlock("They get:".Localize(), promotionViewModel);
			InitializeAvailableExpressions();
		}
 public CatalogPromotionExpressionBlock(IExpressionViewModel promotionViewModel)
     : base(null, promotionViewModel)
 {
     ConditionBlock = new ConditionAndOrBlock("if".Localize(), promotionViewModel, "of these conditions are true".Localize());
     ActionBlock    = new ActionBlock("They get:".Localize(), promotionViewModel);
     InitializeAvailableExpressions();
 }
		public CartPromotionExpressionBlock(IExpressionViewModel promotionViewModel)
			: base(null, promotionViewModel)
		{
			ConditionCutomerSegmentBlock = new ConditionAndOrBlock("For visitor with".Localize(), promotionViewModel, "of these eligibilities".Localize());
			ConditionCartBlock = new ConditionAndOrBlock("if".Localize(), promotionViewModel, "of these conditions are true".Localize());
			ActionBlock = new ActionBlock("They get:".Localize(), promotionViewModel);

			InitializeAvailableExpressions();
		}
Пример #4
0
        public CartPromotionExpressionBlock(IExpressionViewModel promotionViewModel)
            : base(null, promotionViewModel)
        {
            ConditionCutomerSegmentBlock = new ConditionAndOrBlock("For visitor with".Localize(), promotionViewModel, "of these eligibilities".Localize());
            ConditionCartBlock           = new ConditionAndOrBlock("if".Localize(), promotionViewModel, "of these conditions are true".Localize());
            ActionBlock = new ActionBlock("They get:".Localize(), promotionViewModel);

            InitializeAvailableExpressions();
        }