Commerce Rules i need helpp configuring shipping quotes like 1=13$ 2=14$ and 1-2=13$, also i dont understand how to discount 10$ off for buying more than 2. Log in or register to post a comment. wiodata Posted: Aug 22, 2011 Comments adding a field to the array wiodata on August 23, 2011 i not quite familiar if i can just add a 3 field to the array $form['shipping_base_price'] = array( '#type' => 'textfield', '#title' => t('Shipping base price rate'), '#description' => t('Configure what the base rate should be.'), '#default_value' => is_array($rules_settings) && isset($rules_settings['shippin<span id="cke_bm_112E" style="display:none"> </span>g_base_price']) ? $rules_settings<span id="cke_bm_113E" style="display:none"> </span>['shipping_base_price'] : 10, '#element_validate' => array('rules_ui_element_decimal_validate'), ); in CommerceShippingFlatRate.class.php Log in or register to post a comment.
adding a field to the array wiodata on August 23, 2011 i not quite familiar if i can just add a 3 field to the array $form['shipping_base_price'] = array( '#type' => 'textfield', '#title' => t('Shipping base price rate'), '#description' => t('Configure what the base rate should be.'), '#default_value' => is_array($rules_settings) && isset($rules_settings['shippin<span id="cke_bm_112E" style="display:none"> </span>g_base_price']) ? $rules_settings<span id="cke_bm_113E" style="display:none"> </span>['shipping_base_price'] : 10, '#element_validate' => array('rules_ui_element_decimal_validate'), ); in CommerceShippingFlatRate.class.php Log in or register to post a comment.
Comments
adding a field to the array
i not quite familiar if i can just add a 3 field to the array
$form['shipping_base_price'] = array( '#type' => 'textfield', '#title' => t('Shipping base price rate'), '#description' => t('Configure what the base rate should be.'), '#default_value' => is_array($rules_settings) && isset($rules_settings['shippin<span id="cke_bm_112E" style="display:none"> </span>g_base_price']) ? $rules_settings<span id="cke_bm_113E" style="display:none"> </span>['shipping_base_price'] : 10, '#element_validate' => array('rules_ui_element_decimal_validate'), );
in CommerceShippingFlatRate.class.php