❝ |
[wfte_billing_address]
[wfte_shipping_address]
[wfte_order_count]
__[orders]__
__[Orders:]__
[wfte_order_number_list]
__[Printed on:]__
[wfte_printed_on]
[wfte_product_table_start]
__[שורה]__ |
__[תמונה]__ |
__[מק״ט]__ |
__[שם המוצר]__ |
__[כמות]__ |
__[Total Weight]__ |
[wfte_product_table_end]
|
|
add_filter( 'wf_pklist_alter_find_replace', function( $find_replace, $template_type, $order, $box_packing, $order_package, $html ) {
if ( 'picklist' === $template_type && is_a( $order, 'WC_Order' ) ) {
$billing_address = $order->get_formatted_billing_address();
$shipping_address = $order->get_formatted_shipping_address();
$billing_phone = $order->get_billing_phone();
$billing_email = $order->get_billing_email();
$shipping_phone = $order->get_shipping_phone();
$customer_note = $order->get_customer_note();
$shipping_method = $order->get_shipping_method(); // Shipping method title
if ( ! empty( $billing_address ) ) {
// Billing block
$find_replace['[wfte_billing_address]'] = '
' . $billing_address . '
';
if ( ! empty( $billing_phone ) ) {
$find_replace['[wfte_billing_address]'] .= '
' . __( 'טלפון לחיוב:', 'print-invoices-packing-slip-labels-for-woocommerce' ) . ' ' . esc_html( $billing_phone ) . '
';
}
if ( ! empty( $billing_email ) ) {
$find_replace['[wfte_billing_address]'] .= '
' . __( 'אימייל:', 'print-invoices-packing-slip-labels-for-woocommerce' ) . ' ' . esc_html( $billing_email ) . '
';
}
if ( ! empty( $customer_note ) ) {
$find_replace['[wfte_billing_address]'] .= '
' . __( 'הערות:', 'print-invoices-packing-slip-labels-for-woocommerce' ) . ' ' . esc_html( $customer_note ) . '
';
}
$find_replace['[wfte_billing_address]'] .= '
'; // Close billing wrapper
// Shipping block
$find_replace['[wfte_shipping_address]'] = '
' . $shipping_address . '
';
if ( ! empty( $shipping_phone ) ) {
$find_replace['[wfte_shipping_address]'] .= '
' . __( 'טלפון למשלוח:', 'print-invoices-packing-slip-labels-for-woocommerce' ) . ' ' . esc_html( $shipping_phone ) . '
';
}
if ( ! empty( $shipping_method ) ) {
$find_replace['[wfte_shipping_address]'] .= '
' . __( 'שיטת משלוח:', 'print-invoices-packing-slip-labels-for-woocommerce' ) . ' ' . esc_html( $shipping_method ) . '
';
}
$find_replace['[wfte_shipping_address]'] .= '
'; // Close shipping wrapper
} else {
$find_replace['[wfte_billing_address]'] = '';
$find_replace['[wfte_shipping_address]'] = '';
}
}
return $find_replace;
}, 10, 6 );{"id":31419,"date":"2023-04-17T11:47:55","date_gmt":"2023-04-17T08:47:55","guid":{"rendered":"https:\/\/toysim.co.il\/?post_type=product&p=31419"},"modified":"2025-03-27T08:49:06","modified_gmt":"2025-03-27T06:49:06","slug":"%d7%91%d7%99%d7%aa-%d7%91%d7%95%d7%91%d7%95%d7%aa-%d7%a8%d7%90%d7%a9%d7%95%d7%9f-%d7%9e%d7%a2%d7%a5-%d7%98%d7%91%d7%a2%d7%99","status":"publish","type":"product","link":"https:\/\/toysim.co.il\/product\/%d7%91%d7%99%d7%aa-%d7%91%d7%95%d7%91%d7%95%d7%aa-%d7%a8%d7%90%d7%a9%d7%95%d7%9f-%d7%9e%d7%a2%d7%a5-%d7%98%d7%91%d7%a2%d7%99\/","title":{"rendered":"\u05d1\u05d9\u05ea \u05d1\u05d5\u05d1\u05d5\u05ea \u05e8\u05d0\u05e9\u05d5\u05df \u05de\u05e2\u05e5 \u05d8\u05d1\u05e2\u05d9"},"content":{"rendered":"*\u05e9\u05d9\u05de\u05d5 \u05dc\u05d1 – \u05e2\u05e7\u05d1 \u05d2\u05d5\u05d3\u05dc \u05d4\u05de\u05d5\u05e6\u05e8, \u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05e9\u05dc\u05d5\u05d7 \u05d1\u05e9\u05d9\u05d8\u05ea \u05f4\u05d0\u05e7\u05e1\u05e4\u05e8\u05e1\u05f4 \u05d0\u05dc\u05d0 \u05e8\u05e7 \u05d1\u05de\u05e9\u05dc\u05d5\u05d7 \u05f4\u05e8\u05d2\u05d9\u05dc \u05e2\u05d3 \u05d4\u05d1\u05d9\u05ea\u05f4. \u05e0\u05d9\u05ea\u05df \u05dc\u05d1\u05d3\u05d5\u05e7 \u05d0\u05d5\u05e4\u05e6\u05d9\u05d4 \u05dc\u05de\u05e9\u05dc\u05d5\u05d7 \u05d0\u05e7\u05e1\u05e4\u05e8\u05e1 \u05de\u05d9\u05d5\u05d7\u05d3 \u05d1\u05ea\u05d9\u05d0\u05d5\u05dd \u05de\u05e8\u05d0\u05e9 \u05d5\u05d1\u05ea\u05e9\u05dc\u05d5\u05dd \u05e0\u05d5\u05e1\u05e3. \u05db\u05de\u05d5 \u05db\u05df, \u05d4\u05de\u05d5\u05e6\u05e8 \u05de\u05d2\u05d9\u05e2 \u05d0\u05e8\u05d5\u05d6 \u05d1\u05d0\u05e8\u05d2\u05d6 \u05e1\u05d2\u05d5\u05e8 \u05d5\u05dc\u05db\u05df \u05dc\u05d0 \u05e0\u05d9\u05ea\u05df \u05dc\u05e2\u05d8\u05d5\u05e3 \u05d0\u05d5\u05ea\u05d5.<\/p>\n","protected":false},"excerpt":{"rendered":"
\u05d1\u05d9\u05ea \u05d1\u05d5\u05d1\u05d5\u05ea \u05d1\u05d2\u05d5\u05d5\u05df \u05e2\u05e5 \u05d8\u05d1\u05e2\u05d9 \u05de\u05e2\u05e5 \u05d0\u05db\u05d5\u05ea\u05d9 \u05e9\u05dc \u05d4\u05de\u05d5\u05ea\u05d2 Plan Toys.<\/p>\n
\u05d1\u05d9\u05ea \u05de\u05e8\u05e9\u05d9\u05dd, \u05d3\u05d5 \u05e7\u05d5\u05de\u05ea\u05d9, \u05d1\u05df \u05d0\u05e8\u05d1\u05e2\u05d4 \u05d7\u05d3\u05e8\u05d9\u05dd, \u05db\u05d5\u05dc\u05dc \u05de\u05e8\u05e4\u05e1\u05ea, \u05d3\u05dc\u05ea\u05d5\u05ea \u05d4\u05d6\u05d6\u05d4 \u05d5\u05d2\u05d2 \u05e4\u05ea\u05d5\u05d7 \u05d4\u05de\u05d0\u05e4\u05e9\u05e8 \u05de\u05e9\u05d7\u05e7 \u05e9\u05dc \u05d4\u05d9\u05dc\u05d3\u05d9\u05dd \u05d1\u05db\u05dc \u05d7\u05dc\u05e7\u05d9 \u05d4\u05d1\u05d9\u05ea. \u05d4\u05e7\u05d9\u05e8\u05d5\u05ea \u05de\u05db\u05d5\u05e1\u05d9\u05dd \u05d1\u05d8\u05e4\u05d8 \u05e4\u05e8\u05d7\u05d5\u05e0\u05d9 \u05dc\u05d0\u05d5\u05d5\u05d9\u05e8\u05d4 \u05d7\u05de\u05d4 \u05d5\u05de\u05e9\u05e4\u05d7\u05ea\u05d9\u05ea.<\/p>\n
<\/p>\n
\u05d1\u05d9\u05ea \u05d4\u05d1\u05d5\u05d1\u05d5\u05ea \u05d4\u05e7\u05dc\u05d0\u05e1\u05d9 \u05d4\u05d5\u05d0 \u05dc\u05d0 \u05e8\u05e7 \u05de\u05e9\u05d7\u05e7 \u05de\u05d4\u05e0\u05d4 \u05e9\u05ea\u05d5\u05e8\u05dd \u05dc\u05d4\u05ea\u05e4\u05ea\u05d7\u05d5\u05ea \u05d4\u05d9\u05dc\u05d3, \u05d0\u05dc\u05d0 \u05d2\u05dd \u05e4\u05e8\u05d9\u05d8 \u05e2\u05d9\u05e6\u05d5\u05d1\u05d9 \u05de\u05e7\u05e1\u05d9\u05dd \u05d1\u05d7\u05d3\u05e8 \u05d4\u05d9\u05dc\u05d3\u05d9\u05dd.<\/div>\n
<\/div>\n
\u05d4\u05d1\u05d9\u05ea \u05de\u05d0\u05e4\u05e9\u05e8 \u05d0\u05d9\u05df \u05e1\u05d5\u05e3 \u05de\u05e9\u05d7\u05e7\u05d9 \u05d3\u05de\u05d9\u05d5\u05df, \u05d5\u05d4\u05d5\u05d0 \u05d0\u05d9\u05d3\u05d9\u05d0\u05dc\u05d9 \u05dc\u05e2\u05d9\u05d3\u05d5\u05d3 \u05d9\u05dc\u05d3\u05d9\u05dd \u05dc\u05d2\u05dc\u05dd \u05ea\u05e4\u05e7\u05d9\u05d3\u05d9\u05dd \u05d7\u05d3\u05e9\u05d9\u05dd, \u05dc\u05d4\u05d1\u05d9\u05e2 \u05d0\u05ea \u05e2\u05e6\u05de\u05dd \u05d1\u05d3\u05e8\u05db\u05d9\u05dd \u05e9\u05d5\u05e0\u05d5\u05ea \u05d5\u05d1\u05d8\u05d5\u05d7\u05d5\u05ea, \u05d5\u05dc\u05dc\u05de\u05d5\u05d3 \u05e2\u05dc \u05d4\u05d7\u05d1\u05e8\u05d4 \u05ea\u05d5\u05da \u05e4\u05d9\u05ea\u05d5\u05d7 \u05d3\u05de\u05d9\u05d5\u05df, \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9\u05d5\u05ea, \u05de\u05d9\u05d5\u05de\u05e0\u05d5\u05d9\u05d5\u05ea \u05ea\u05e7\u05e9\u05d5\u05e8\u05ea \u05d5\u05d9\u05db\u05d5\u05dc\u05ea \u05e8\u05d1\u05d4 \u05d9\u05d5\u05ea\u05e8 \u05dc\u05e8\u05d9\u05db\u05d5\u05d6 \u05d5\u05e7\u05e9\u05d1.<\/div>\n
\n
\u05d1\u05d9\u05ea \u05d4\u05d1\u05d5\u05d1\u05d5\u05ea \u05de\u05ea\u05d0\u05d9\u05dd \u05d2\u05dd \u05dc\u05d2\u05e0\u05d9 \u05d9\u05dc\u05d3\u05d9\u05dd \u05d5\u05db\u05df \u05dc\u05e4\u05e1\u05d9\u05db\u05d5\u05dc\u05d5\u05d2\u05d9\u05dd, \u05de\u05e8\u05e4\u05d0\u05d9\u05dd \u05d1\u05e2\u05d9\u05e1\u05d5\u05e7, \u05e7\u05dc\u05d9\u05e0\u05d0\u05d9 \u05ea\u05e7\u05e9\u05d5\u05e8\u05ea \u05d5\u05e2\u05d5\u05d3.<\/p>\n
\u05d4\u05d1\u05d9\u05ea \u05de\u05d2\u05d9\u05e2 \u05dc\u05dc\u05d0 \u05e8\u05d4\u05d9\u05d8\u05d9\u05dd \u05d5\u05dc\u05dc\u05d0 \u05d1\u05d5\u05d1\u05d5\u05ea.<\/p>\n
\u05dc\u05d4\u05d5\u05e1\u05e4\u05ea \u05d7\u05d3\u05e8\u05d9\u05dd, \u05e8\u05d9\u05d4\u05d5\u05d8, \u05d3\u05de\u05d5\u05d9\u05d5\u05ea \u05dc\u05d1\u05d9\u05ea \u05d5\u05e2\u05d5\u05d3 \u05db\u05e0\u05e1\u05d5 \u05dc\u05db\u05d0\u05df<\/a>!\ud83c\udfe0<\/p>\n<\/div>\n","protected":false},"featured_media":31679,"comment_status":"open","ping_status":"closed","template":"","meta":[],"product_brand":[8510],"product_cat":[104,122,129],"product_tag":[575,369,370,372,2215,3453,3452,3451,3450,3454,1436,58,947,373,944,1650],"class_list":{"0":"post-31419","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_brand-plan-toys","7":"product_cat-all","8":"product_cat-wooden-toys","9":"product_cat-doll-houses-and-accessories","10":"product_tag-plan-toys","11":"product_tag-369","12":"product_tag-370","13":"product_tag-372","14":"product_tag-2215","15":"product_tag-3453","16":"product_tag-3452","17":"product_tag-3451","18":"product_tag-3450","19":"product_tag-3454","20":"product_tag-1436","21":"product_tag-58","22":"product_tag-947","23":"product_tag-373","24":"product_tag-944","25":"product_tag-1650","26":"product_shipping_class-courier-only","27":"pa_age-age-3","28":"pa_age-2499","29":"pa_age-2277","30":"pa_age-2216","31":"pa_brand-plan-toys","32":"pa_gander-boys","33":"pa_gander-girls","34":"pa_gander-both","35":"pa_interest-interest-imagination","37":"first","38":"instock","39":"taxable","40":"shipping-taxable","41":"purchasable","42":"product-type-simple"},"yoast_head":"\n\u05d1\u05d9\u05ea \u05d1\u05d5\u05d1\u05d5\u05ea \u05e8\u05d0\u05e9\u05d5\u05df \u05de\u05e2\u05e5 \u05d8\u05d1\u05e2\u05d9 - \u05d8\u05d5\u05d9\u05e1\u05d9\u05dd - Toysim<\/title>\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n\n\n\t\n