Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (
- [DELIVERY_LIST] => Array
- (
- )
- [SHIPMENT_LIST] => Array
- (
- )
- [APPLY_BLOCKS] => Array
- (
- [0] => Array
- (
- [BASKET] => Array
- (
- )
- [BASKET_ROUND] => Array
- (
- [11041455] => Array
- (
- [APPLY] => Y
- [ROUND_RULE] => Array
- (
- [PRICE] => 0.0000
- [ROUND_TYPE] => 1
- [ROUND_PRECISION] => 1.0000
- [CATALOG_GROUP_ID] => 1
- )
- )
- )
- [ORDER] => Array
- (
- [0] => Array
- (
- [DISCOUNT_ID] => 300
- [COUPON_ID] => VSSH-T34O7
- [RESULT] => Array
- (
- [BASKET] => Array
- (
- [11041455] => Array
- (
- [APPLY] => Y
- [DESCR] => скидка 5% (500 ₽)
- [DESCR_DATA] => Array
- (
- [0] => Array
- (
- [TYPE] => 2
- [VALUE] => 5
- [VALUE_TYPE] => P
- [VALUE_ACTION] => D
- [RESULT_VALUE] => 499.5
- [RESULT_UNIT] => RUB
- )
- )
- [MODULE] => catalog
- [PRODUCT_ID] => 3285
- [BASKET_ID] => 11041455
- [ACTION_BLOCK_LIST] => Array
- (
- [0] => 0
- )
- )
- )
- )
- )
- )
- )
- )
- [DISCOUNT_LIST] => Array
- (
- [300] => Array
- (
- [ID] => 300
- [NAME] => Социальная скидка
- [MODULE_ID] => sale
- [DISCOUNT_ID] => 300
- [REAL_DISCOUNT_ID] => 21
- [USE_COUPONS] => Y
- [ACTIONS_DESCR] => Array
- (
- [BASKET] => скидка 5%
- )
- [ACTIONS_DESCR_DATA] => Array
- (
- [BASKET] => Array
- (
- [0] => Array
- (
- [TYPE] => 2
- [VALUE] => 5
- [VALUE_TYPE] => P
- [VALUE_ACTION] => D
- )
- )
- )
- [APPLY] => Y
- [EDIT_PAGE_URL] => /bitrix/admin/sale_discount_edit.php?lang=ru&ID=21
- )
- )
- [COUPON_LIST] => Array
- (
- [VSSH-T34O7] => Array
- (
- [COUPON] => VSSH-T34O7
- [TYPE] => 4
- [COUPON_ID] => 4064
- [DATA] => Array
- (
- [COUPON] => VSSH-T34O7
- [MODE] => 2
- [MODULE] => sale
- [MODULE_ID] => sale
- [ID] => 4064
- [DISCOUNT_ID] => 21
- [TYPE] => 4
- [ACTIVE] => Y
- [USER_INFO] => Array
- (
- [USER_ID] => 0
- [MAX_USE] => 0
- [USE_COUNT] => 30
- [ACTIVE_FROM] =>
- [ACTIVE_TO] =>
- )
- [DISCOUNT_ACTIVE_FROM] =>
- [DISCOUNT_ACTIVE_TO] =>
- [SORT] => 0
- )
- [ORDER_DISCOUNT_ID] => 300
- [ID] => 0
- [APPLY] => Y
- )
- )
- [PRICES] => Array
- (
- [BASKET] => Array
- (
- [11041455] => Array
- (
- [BASE_PRICE] => 9990
- [PRICE] => 9491
- [DISCOUNT] => 499
- )
- )
- [DELIVERY] => Array
- (
- [BASE_PRICE] => 0
- [PRICE] => 0
- [DISCOUNT] => 0
- )
- )
- [FULL_DISCOUNT_LIST] => Array
- (
- [21] => Array
- (
- [ID] => 21
- [PRIORITY] => 1
- [SORT] => 100
- [LAST_DISCOUNT] => Y
- [LAST_LEVEL_DISCOUNT] => N
- [UNPACK] => function($arOrder){return ((1 == 1)); };
- [APPLICATION] => function (&$arOrder){$saleact_0_0=function($row){return (((isset($row['CATALOG']['PARENT_IBLOCK_ID']) ? ((isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 1) || $row['CATALOG']['PARENT_IBLOCK_ID'] == 1) : (isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 1)) && (isset($row['CATALOG']['PROPERTY_35_VALUE']) && !in_array(323, $row['CATALOG']['PROPERTY_35_VALUE'])) && (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE']))) || ((isset($row['CATALOG']['PARENT_IBLOCK_ID']) ? ((isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 10) || $row['CATALOG']['PARENT_IBLOCK_ID'] == 10) : (isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 10)) && (isset($row['CATALOG']['PROPERTY_306_VALUE']) && !in_array(1452, $row['CATALOG']['PROPERTY_306_VALUE'])) && (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE']))) || ((isset($row['CATALOG']['PARENT_IBLOCK_ID']) ? ((isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 11) || $row['CATALOG']['PARENT_IBLOCK_ID'] == 11) : (isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 11)) && (isset($row['CATALOG']['PROPERTY_385_VALUE']) && !in_array(1710, $row['CATALOG']['PROPERTY_385_VALUE'])) && (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE']))) || ((isset($row['CATALOG']['PARENT_IBLOCK_ID']) ? ((isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 8) || $row['CATALOG']['PARENT_IBLOCK_ID'] == 8) : (isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 8)) && (isset($row['CATALOG']['PROPERTY_148_VALUE']) && !in_array(967, $row['CATALOG']['PROPERTY_148_VALUE'])) && (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE']))) || ((isset($row['CATALOG']['PARENT_IBLOCK_ID']) ? ((isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 9) || $row['CATALOG']['PARENT_IBLOCK_ID'] == 9) : (isset($row['CATALOG']['IBLOCK_ID']) && $row['CATALOG']['IBLOCK_ID'] == 9)) && (isset($row['CATALOG']['PROPERTY_229_VALUE']) && !in_array(3959, $row['CATALOG']['PROPERTY_229_VALUE'])) && (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE']))) || (isset($row['CATALOG']['PROPERTY_63_VALUE']) && !in_array("true", $row['CATALOG']['PROPERTY_63_VALUE'])));};\Bitrix\Sale\Discount\Actions::applyToBasket($arOrder, array (
- 'VALUE' => -5.0,
- 'UNIT' => 'P',
- 'LIMIT_VALUE' => 0,
- ), $saleact_0_0);};
- [USE_COUPONS] => Y
- [EXECUTE_MODULE] => all
- [NAME] => Социальная скидка
- [ACTIVE_FROM] =>
- [ACTIVE_TO] =>
- [PREDICTIONS_APP] =>
- [PREDICTION_TEXT] =>
- [PRESET_ID] =>
- [CURRENCY] => RUB
- [LID] => s1
- [SHORT_DESCRIPTION] => a:4:{s:4:"TYPE";s:8:"Discount";s:5:"VALUE";d:5;s:11:"LIMIT_VALUE";i:0;s:10:"VALUE_TYPE";s:1:"P";}
- [SHORT_DESCRIPTION_STRUCTURE] => Array
- (
- [TYPE] => Discount
- [VALUE] => 5
- [LIMIT_VALUE] => 0
- [VALUE_TYPE] => P
- )
- [COUPON] => Array
- (
- [COUPON] => VSSH-T34O7
- [MODE] => 2
- [STATUS] => 2
- [CHECK_CODE] => 0
- [MODULE] => sale
- [MODULE_ID] => sale
- [ID] => 4064
- [DISCOUNT_ID] => 21
- [DISCOUNT_NAME] => Социальная скидка
- [TYPE] => 4
- [ACTIVE] => Y
- [USER_INFO] => Array
- (
- )
- [SAVED] => N
- [DISCOUNT_ACTIVE] => Y
- [DISCOUNT_ACTIVE_FROM] =>
- [DISCOUNT_ACTIVE_TO] =>
- [SORT] => 0
- [BASKET] => Array
- (
- )
- [DELIVERY] => Array
- (
- )
- )
- [CONDITIONS] => Array
- (
- [CLASS_ID] => CondGroup
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- )
- )
- [ACTIONS] => Array
- (
- [CLASS_ID] => CondGroup
- [DATA] => Array
- (
- [All] => AND
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => ActSaleBsktGrp
- [DATA] => Array
- (
- [Type] => Discount
- [Value] => 5
- [Unit] => Perc
- [Max] => 0
- [All] => OR
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => ActSaleSubGrp
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => CondIBIBlock
- [DATA] => Array
- (
- [logic] => Equal
- [value] => 1
- )
- )
- [1] => Array
- (
- [CLASS_ID] => CondIBProp:1:35
- [DATA] => Array
- (
- [logic] => Not
- [value] => 323
- )
- )
- [2] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- [1] => Array
- (
- [CLASS_ID] => ActSaleSubGrp
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => CondIBIBlock
- [DATA] => Array
- (
- [logic] => Equal
- [value] => 10
- )
- )
- [1] => Array
- (
- [CLASS_ID] => CondIBProp:10:306
- [DATA] => Array
- (
- [logic] => Not
- [value] => 1452
- )
- )
- [2] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- [2] => Array
- (
- [CLASS_ID] => ActSaleSubGrp
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => CondIBIBlock
- [DATA] => Array
- (
- [logic] => Equal
- [value] => 11
- )
- )
- [1] => Array
- (
- [CLASS_ID] => CondIBProp:11:385
- [DATA] => Array
- (
- [logic] => Not
- [value] => 1710
- )
- )
- [2] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- [3] => Array
- (
- [CLASS_ID] => ActSaleSubGrp
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => CondIBIBlock
- [DATA] => Array
- (
- [logic] => Equal
- [value] => 8
- )
- )
- [1] => Array
- (
- [CLASS_ID] => CondIBProp:8:148
- [DATA] => Array
- (
- [logic] => Not
- [value] => 967
- )
- )
- [2] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- [4] => Array
- (
- [CLASS_ID] => ActSaleSubGrp
- [DATA] => Array
- (
- [All] => AND
- [True] => True
- )
- [CHILDREN] => Array
- (
- [0] => Array
- (
- [CLASS_ID] => CondIBIBlock
- [DATA] => Array
- (
- [logic] => Equal
- [value] => 9
- )
- )
- [1] => Array
- (
- [CLASS_ID] => CondIBProp:9:229
- [DATA] => Array
- (
- [logic] => Not
- [value] => 3959
- )
- )
- [2] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- [5] => Array
- (
- [CLASS_ID] => CondIBProp:1:63
- [DATA] => Array
- (
- [logic] => Not
- [value] => true
- )
- )
- )
- )
- )
- )
- [PREDICTIONS] =>
- [MODULE_ID] => sale
- [MODULES] => Array
- (
- [0] => catalog
- )
- )
- )
- [CONVERTED_ORDER] => N
- [BASKET] => Array
- (
- )
- [ORDER] => Array
- (
- [0] => Array
- (
- [DISCOUNT_ID] => 300
- [COUPON_ID] => VSSH-T34O7
- [RESULT] => Array
- (
- [BASKET] => Array
- (
- [11041455] => Array
- (
- [APPLY] => Y
- [DESCR] => скидка 5% (500 ₽)
- [DESCR_DATA] => Array
- (
- [0] => Array
- (
- [TYPE] => 2
- [VALUE] => 5
- [VALUE_TYPE] => P
- [VALUE_ACTION] => D
- [RESULT_VALUE] => 499.5
- [RESULT_UNIT] => RUB
- )
- )
- [MODULE] => catalog
- [PRODUCT_ID] => 3285
- [BASKET_ID] => 11041455
- [ACTION_BLOCK_LIST] => Array
- (
- [0] => 0
- )
- )
- )
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment