コード例 #1
0
 /**
  * Get Checkout form field.
  *
  * @param string $model
  * @param float  $order_total
  */
 protected function get_checkout_form($model = 'default', $order_total = 0)
 {
     woocommerce_get_template('debit-card/' . $model . '-payment-form.php', array('methods' => $this->get_available_methods_options(), 'discount' => $this->debit_discount, 'discount_total' => $this->get_debit_discount($order_total)), 'woocommerce/cielo/', WC_Cielo::get_templates_path());
 }
コード例 #2
0
 /**
  * Get Checkout form field.
  *
  * @param string $model
  * @param float  $order_total
  */
 protected function get_checkout_form($model = 'default', $order_total = 0)
 {
     $installments_type = 'icons' == $model ? 'radio' : 'select';
     woocommerce_get_template('credit-card/' . $model . '-payment-form.php', array('methods' => $this->get_available_methods_options(), 'installments' => $this->get_installments_html($order_total, $installments_type)), 'woocommerce/cielo/', WC_Cielo::get_templates_path());
 }