note ?> : condition_order_items_note ?>

$value) { if (is_int($key)) { $default_operator = isset($value['operator']) ? $value['operator'] : 'must_in'; $default_value = isset($value['value']) ? $value['value'] : array(); $item_list = array(); $already_added_products = array(); if (!empty($default_value)) { foreach ($default_value as $key) { if (!isset($already_added_products[$key])) { $product = $product_model->getTitle($key); $already_added_products[$key] = '#' . $key . ' ' . $product->post_title; } $item_list[$key] = $already_added_products[$key]; } } ?>
condition_must ?> condition_order_items ?> action ?>
dropdown('conditions[order_items][row][' . $i . '][operator]', $in_list_condition_arr, $default_operator, array('style' => ' width: 30%;')) ?> multiselect('conditions[order_items][row][' . $i . '][value][]', $item_list, $default_value, array('class' => 'has-multi-select', 'data-selecttype' => 'ajax', 'data-selectmethod' => 'product')) ?> button('', $language->remove, array('class' => 'remove-clone-btn warning', 'data-action' => 'remove', 'data-remove' => 'condition-order-items-clone-row-' . $i, 'data-row' => $i)); ?>
button('', $language->add, array('class' => 'info clone-content-btn', 'data-clonefrom' => 'condition-order-items-cloneable-container', 'data-cloneto' => 'condition-order-items-clone-container', 'data-action' => 'add', 'data-nextrow' => $i++)); ?>