ผู้ใช้นี้ไม่มีหัวข้อที่ชื่นชอบ.
หัวข้อฟอรัมที่ชื่นชอบ
หัวข้อฟอรัมที่สร้าง
| สถานะ |
หัวข้อ
|
ผู้สนับสนุน | เสียง | โพสต์ | ความใหม่ |
|---|---|---|---|---|---|
|
Translation Stock Status not updating after import
เริ่มโดย: brankoK
ใน: English Support
Problem: add_action('admin_init', function () {
// Only run for admins
if (!current_user_can('manage_woocommerce')) {
return;
}
// Fetch all published product IDs
$product_ids = get_posts([
'post_type' => 'product',
'post_status' => 'publish',
'posts_per_page' => -1,
'fields' => 'ids',
]);
foreach ($product_ids as $product_id) {
$product = wc_get_product($product_id);
if ($product) {
$product->save(); // Re-saves the product, triggering related hooks
}
}
echo '<div class="notice notice-success is-dismissible"><p>All published products have been re-saved.</p></div>';
});
3) Visit any page in your WP Admin (like Dashboard or Products page) to trigger the script. If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket at WPML support forum. |
|
1 | 4 | 6 months มาแล้ว | |
|
my product categories are out of sync
เริ่มโดย: brankoK ใน: English Support |
|
2 | 3 |
2 years, 5 months มาแล้ว
brankoK |
|
|
Duplicated products with Translated tag.
เริ่มโดย: brankoK ใน: English Support |
1 | 1 |
2 years, 5 months มาแล้ว
brankoK |
||
|
Translated (Child) Category Slug Doesn't Update Properly
เริ่มโดย: brankoK ใน: English Support |
|
2 | 2 | 3 years, 6 months มาแล้ว | |
|
Woodmart Layered Nav widget not showing in the translated shop page
เริ่มโดย: brankoK ใน: English Support |
|
2 | 3 |
4 years, 11 months มาแล้ว
brankoK |
|
|
Connecting multisite subfolders
เริ่มโดย: brankoK ใน: English Support |
|
2 | 3 | 4 years, 11 months มาแล้ว |