このユーザーにはお気に入りのトピックがありません。
お気に入りのフォーラムトピック
作成したフォーラムトピック
| ステータス |
トピック
|
サポーター | 声 | 投稿 | 新着度 |
|---|---|---|---|---|---|
|
Cambio dati fatturazione
開始者:valterC カテゴリ:Assistenza in italiano |
|
2 | 3 | 3年、 7ヶ月前 | |
|
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年、 5ヶ月前 | |
|
Webhook nuovo prodotto non parte se creato da woocommerce multilingual
開始者:valterC カテゴリ:Assistenza in italiano |
|
2 | 2 | 4年、 5ヶ月前 | |
|
Problema con simple xml
開始者:valterC カテゴリ:Chat Support |
|
1 | 2 |
4年、 7ヶ月前
|