</td> <td class="text-red"><?php echo number_format($usces_entries['order']['usedpoint']); ?> </td> </tr> <?php } ?> <tr> <th colspan="4"><?php _e('Total Amount', 'usces'); ?> </th> <th><?php usces_crform($usces_entries['order']['total_full_price'], true, false); ?> </th> </tr> </tfoot> </table> <?php if (usces_is_member_system() && usces_is_member_system_point() && usces_is_login()) { ?> <form action="<?php usces_url('cart'); ?> " method="post" onKeyDown="if (event.keyCode == 13) {return false;}"> <p class="error_message text-center"><?php usces_error_message();
function blanc_filter_confirm_row($row, $cart, $materials) { extract($materials); $row = ''; if (empty($options)) { $optstr = ''; $options = array(); } $row .= '<tr> <td>'; $cart_thumbnail = wp_get_attachment_image($pictid, array(60, 60), true); $row .= apply_filters('usces_filter_cart_thumbnail', $cart_thumbnail, $post_id, $pictid, $i, $cart_row); $row .= '</td><td>' . $cartItemName . '<br />'; if (is_array($options) && count($options) > 0) { $optstr = ''; foreach ($options as $key => $value) { if (!empty($key)) { $key = urldecode($key); if (is_array($value)) { $c = ''; $optstr .= esc_html($key) . ' : '; foreach ($value as $v) { $optstr .= $c . nl2br(esc_html(urldecode($v))); $c = ', '; } $optstr .= "<br />\n"; } else { $optstr .= esc_html($key) . ' : ' . nl2br(esc_html(urldecode($value))) . "<br />\n"; } } } $row .= apply_filters('usces_filter_option_confirm', $optstr, $options); } $row .= '</td> <td class="text-right">' . usces_crform($skuPrice, true, false, 'return') . '</td> <td class="text-center">' . $cart_row['quantity'] . '</td> <td class="text-right">' . usces_crform($skuPrice * $cart_row['quantity'], true, false, 'return') . '</td> </tr>'; return $row; }
<?php if ($usces_gp) { ?> <i class="fa fa-tag fa-fw"></i><?php _e('The price with this mark applys to Business pack discount.', 'usces'); ?> <?php } ?> <?php $num = $this->options['postage_privilege'] - $this->get_total_price(); if (0 < $num) { ?> <div class="panel panel-postage medium-text-center"> <?php echo sprintf(__('Get Free Shipping with <b>%s</b> more parchase.', 'blanc'), usces_crform($num, true, false, 'return')); ?> </div> <?php } ?> </div><!-- end of cart --> <?php } else { ?> <div class="panel panel-default"> <p class="medium-text-center"><?php _e('There are no items in your cart.', 'usces'); ?> </p>