'."\n"; $html .= '
'."\n"; $html .= '
'."\n"; $html .= ''."\n"; $html .= '
'."\n"; $html .= '
'."\n"; if( usces_the_itemCprice('return') > 0 ){ $usces_listprice = __('List price', 'usces') . usces_guid_tax('return'); $html .= '
' . apply_filters('usces_filter_listprice_label', $usces_listprice, __('List price', 'usces'), usces_guid_tax('return')) . '
'."\n"; $html .= '
' . usces_the_itemCpriceCr('return') . '
'; } $usces_sellingprice = __('selling price', 'usces') . usces_guid_tax('return'); $html .= '
' . apply_filters('usces_filter_sellingprice_label', $usces_sellingprice, __('selling price', 'usces'), usces_guid_tax('return')) . '
'."\n"; $html .= '
' . usces_the_itemPriceCr('return') . '
'."\n"; $html .= '
'."\n"; $singlestock = '
' . __('stock status', 'usces') . ' : ' . esc_html(usces_get_itemZaiko( 'name' )) . '
'."\n"; $html .= apply_filters('single_item_stock_field', $singlestock); $item_custom = usces_get_item_custom( $post->ID, 'list', 'return' ); if($item_custom){ $html .= '
'."\n"; $html .= $item_custom; $html .= '
'."\n"; } $html .= $content."\n"; $html .= '
'."\n"; $html .= usces_the_itemGpExp('return'); $html .= '
'."\n"; if (usces_is_options()) { $html .= "\n"; while (usces_have_options()) { $opttr = ""; $html .= apply_filters('usces_filter_singleitem_option', $opttr, usces_getItemOptName(), NULL) . "\n"; } $html .= "
" . apply_filters('usces_filter_single_item_options_caption', __('Please appoint an option.', 'usces'), $post) . "
" . esc_html(usces_getItemOptName()) . '' . usces_the_itemOption(usces_getItemOptName(),'','return') . "
\n"; } if( !usces_have_zaiko() ){ $html .= '
' . apply_filters('usces_filters_single_sku_zaiko_message', esc_html(usces_get_itemZaiko( 'name' ))) . '
'."\n"; }else{ $html .= '
'.__('Quantity', 'usces').usces_the_itemQuant('return') . esc_html(usces_the_itemSkuUnit('return')) . usces_the_itemSkuButton(__('Add to Shopping Cart', 'usces'), 0, 'return') . '
'."\n"; $html .= '
' . usces_singleitem_error_message($post->ID, usces_the_itemSku('return'), 'return') . '
'."\n"; } $html .= '
'."\n"; $html .= apply_filters('single_item_single_sku_after_field', NULL); } elseif(usces_sku_num() > 1) { //some SKU usces_have_skus(); $html .= '

' . usces_the_itemName( 'return' ) . '  (' . usces_the_itemCode( 'return' ) . ')

'."\n"; $html .= '
'."\n"; $html .= $content."\n"; $item_custom = usces_get_item_custom( $post->ID, 'list', 'return' ); if($item_custom){ $html .= '
'."\n"; $html .= $item_custom; $html .= '
'."\n"; } $html .= '
'."\n"; $html .= '
'."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; if( usces_the_itemCprice('return') > 0 ){ $usces_bothprice = '('.__('List price', 'usces').')'.__('selling price', 'usces') . usces_guid_tax('return'); $html .= ''."\n"; }else{ $usces_sellingprice = __('selling price', 'usces') . usces_guid_tax('return'); $html .= ''."\n"; } $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; do { $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; $html .= ''."\n"; if( !usces_have_zaiko() ){ $html .= ''."\n"; }else{ $html .= ''."\n"; } $html .= ''."\n"; $html .= ''."\n"; } while (usces_have_skus()); $html .= ''."\n"; $html .= '
'.__('order number', 'usces').''.__('Title', 'usces').''.apply_filters('usces_filter_bothprice_label', $usces_bothprice, __('List price', 'usces'), __('selling price', 'usces'), usces_guid_tax('return')) . ''.apply_filters('usces_filter_sellingprice_label', $usces_sellingprice, __('selling price', 'usces'), usces_guid_tax('return')) . '
'.__('stock status', 'usces').''.__('Quantity', 'usces').''.__('unit', 'usces').' 
' . esc_html(usces_the_itemSku('return')) . '' . apply_filters('usces_filter_singleitem_skudisp', esc_html(usces_the_itemSkuDisp('return')))."\n"; if (usces_is_options()) { $html .= "\n"; while (usces_have_options()) { $opttr = ""; $html .= apply_filters('usces_filter_singleitem_option', $opttr, usces_getItemOptName(), NULL) . "\n"; } $html .= "
" . apply_filters('usces_filter_single_item_options_caption', __('Please appoint an option.', 'usces'), $post) . "
" . esc_html(usces_getItemOptName()) . '' . usces_the_itemOption(usces_getItemOptName(),'','return') . "
\n"; // while (usces_have_options()) { // $html .= '
' . usces_the_itemOption(usces_getItemOptName(),'', 'return'); // } } $html .= '
'."\n"; if( usces_the_itemCprice('return') > 0 ){ $html .= '(' . usces_the_itemCpriceCr('return') . ')'."\n"; } $html .= '' . usces_the_itemPriceCr('return') . '
' . usces_the_itemGpExp('return') . '
' . usces_get_itemZaiko( 'name' ) . '' . usces_the_itemQuant('return') . '' . usces_the_itemSkuUnit('return') . '' . apply_filters('usces_filters_single_sku_zaiko_message', esc_html(usces_get_itemZaiko( 'name' ))) . '' . usces_the_itemSkuButton(__('Add to Shopping Cart', 'usces'), 0, 'return') . '
' . usces_singleitem_error_message($post->ID, usces_the_itemSku('return'), 'return') . '
'."\n"; $html .= '
'."\n"; $html .= apply_filters('single_item_multi_sku_after_field', NULL); } $html .= '
'."\n"; $imageid = usces_get_itemSubImageNums(); foreach ( $imageid as $id ) { $html .= 'ID)) { $org_opst = $post; $html .= ''."\n"; $post = $org_opst; setup_postdata($post); } $html = apply_filters('usces_filter_single_item_inform', $html); $html .= ''."\n"; $html .= apply_filters('usces_filter_single_item_outform', NULL); $html .= '
'."\n"; ?>