ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
| สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
|---|---|---|---|---|---|
|
Cambio dati fatturazione
เริ่มโดย: valterC ใน: Assistenza in italiano |
|
2 | 3 | 3 years, 7 months มาแล้ว | |
|
no webhook sent when woocommerce multilingual is used for translation
เริ่มโดย: valterC
ใน: English Support
Problem: Solution: add_action('wp_insert_post', function($post_ID, $post, $update) {
if ($update || !in_array($post->post_type, ['product', 'product_variation'])) {
return;
}
$elem_details = apply_filters('wpml_element_language_details', null, [
'element_id' => $post_ID,
'element_type' => $post->post_type
]);
if (
(isset($elem_details->source_language_code) && !empty($elem_details->source_language_code))
|| (defined('REST_REQUEST') && REST_REQUEST) // For ATE
) {
$product = wc_get_product($post_ID);
do_action('woocommerce_new_product', $post_ID, $product);
}
}, 10, 3);If this solution doesn't seem relevant to your situation, please don't hesitate to open a new support ticket with us. |
|
2 | 14 | 4 years, 5 months มาแล้ว | |
|
Webhook nuovo prodotto non parte se creato da woocommerce multilingual
เริ่มโดย: valterC ใน: Assistenza in italiano |
|
2 | 2 | 4 years, 5 months มาแล้ว | |
|
Problema con simple xml
เริ่มโดย: valterC ใน: Chat Support |
|
1 | 2 |
4 years, 7 months มาแล้ว
|