שינוי טקסט "אזל מהמלאי" לוריאציות

PHOTO EMBED

Tue May 18 2021 20:51:37 GMT+0000 (Coordinated Universal Time)

Saved by @Shesek #checkout

/**
*  Out of stock message for product variations.
* @param string $text default message.
* @return string
*/
function puri_out_of_stock_message( $text ){
 $text = 'המוצר אזל מהמלאי, לכניסה לרשימת המתנה, אנא צרו קשר!';
 return $text;
}
add_filter( 'woocommerce_out_of_stock_message', 'puri_out_of_stock_message', 999);
content_copyCOPY