Title: nvr21's Replies | WordPress.org

---

# nvr21

  [  ](https://wordpress.org/support/users/nvr21/)

 *   [Profile](https://wordpress.org/support/users/nvr21/)
 *   [Topics Started](https://wordpress.org/support/users/nvr21/topics/)
 *   [Replies Created](https://wordpress.org/support/users/nvr21/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/nvr21/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/nvr21/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/nvr21/engagements/)
 *   [Favorites](https://wordpress.org/support/users/nvr21/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/nvr21/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/nvr21/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/nvr21/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPC Frequently Bought Together for WooCommerce] WooCommerce + WPML – Syncing “Bought Together” Products Across Translations](https://wordpress.org/support/topic/woocommerce-wpml-syncing-bought-together-products-across-translations/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/woocommerce-wpml-syncing-bought-together-products-across-translations/#post-18452177)
 *     ```wp-block-code
       add_action('admin_init', function () {    if (!current_user_can('manage_woocommerce')) return;    if (!isset($_GET['imc_sync_woobt_bulk'])) return;    $args = [        'post_type'      => 'product',        'posts_per_page' => -1,        'post_status'    => 'publish',        'lang'           => 'en', // WPML specific        'fields'         => 'ids',    ];    $products = get_posts($args);    $success = 0;    $skipped = 0;    foreach ($products as $post_id) {        $original_id = apply_filters('wpml_object_id', $post_id, 'product', false, 'en');        if (!$original_id || $original_id == $post_id) {            $skipped++;            continue;        }        $woobt_data = get_post_meta($original_id, 'woobt_ids', true);        if (!$woobt_data) {            $skipped++;            continue;        }        $unserialized = maybe_unserialize($woobt_data);        if (!is_array($unserialized)) {            $skipped++;            continue;        }        $new_data = $unserialized;        $updated = 0;        foreach ($new_data as $key => &$item) {            if (!is_array($item)) continue;            if (!isset($item['sku']) || !isset($item['id'])) continue;            $original_product_id = wc_get_product_id_by_sku($item['sku']);            $translated_id = apply_filters('wpml_object_id', $original_product_id, 'product', false, 'ro');            if ($translated_id && $translated_id != $original_product_id) {                $item['id'] = (string) $translated_id;                $updated++;            }        }        $serialized_data = maybe_serialize($new_data);        global $wpdb;        delete_post_meta($post_id, 'woobt_ids');        $inserted = $wpdb->insert(            $wpdb->postmeta,            [                'post_id'    => $post_id,                'meta_key'   => 'woobt_ids',                'meta_value' => $serialized_data,            ],            ['%d', '%s', '%s']        );        if ($inserted) $success++;    }    wp_die("🟢 Sincronizare terminată.<br><br>Produse procesate: " . count($products) . "<br>Succes: $success<br>Ignorate: $skipped");});
       ```
   
 *     ```wp-block-code
       https://website.com/wp-admin/?imc_sync_woobt_bulk=1
       ```
   
 * Try this function, I have managed to sync my products.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Meta for WooCommerce] Slow site beacuse of this plugin](https://wordpress.org/support/topic/slow-site-beacuse-of-this-plugin/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/slow-site-beacuse-of-this-plugin/#post-18151511)
 * Subscribe, same thing happens to us too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Error when generating a feed](https://wordpress.org/support/topic/error-when-generating-a-feed/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/error-when-generating-a-feed/#post-18030988)
 * Hello,
 * I have some issue, but with your fix was solved.
 * Many thanks for updating this plugin and fixing the issues.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Rank Math SEO – AI SEO Tools to Dominate SEO Rankings] Woocommerce conflict with variable product stock level changes](https://wordpress.org/support/topic/woocommerce-conflict-with-variable-product-stock-level-changes/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/woocommerce-conflict-with-variable-product-stock-level-changes/#post-17268589)
 * Hello,
 * [@rankmathsupport](https://wordpress.org/support/users/rankmathsupport/).
 * Do you have any update regarding the issue describe above. We can replicate also
   on our live website.
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Smart Image Resize for WooCommerce] Deactivate the module restore defaults](https://wordpress.org/support/topic/deactivate-the-module-restore-defaults/)
 *  Thread Starter [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/deactivate-the-module-restore-defaults/#post-16903890)
 * Amazing thanks 😀
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[New User Approve] Any hook for disable all emails?](https://wordpress.org/support/topic/any-hook-for-disable-all-emails/)
 *  Thread Starter [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/any-hook-for-disable-all-emails/#post-16539094)
 * Thank you for your reply. I have changed some actions and disabled the emails.
 * Appreciate your response.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Complianz - GDPR/CCPA Cookie Consent] Delay the widget apperance](https://wordpress.org/support/topic/delay-the-widget-apperance/)
 *  Thread Starter [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/delay-the-widget-apperance/#post-15254054)
 * Many thanks for both answers and also for your interest in my issue.
    Really 
   appreciate it, as expected everything works perfectly. I just add the function
   in theme child everything seems to be perfect. Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce] Change separator on categories](https://wordpress.org/support/topic/change-separator-on-categories/)
 *  Thread Starter [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/change-separator-on-categories/#post-14958944)
 * Yes indeed. Sorry for late response. You can marked as solved
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] All Google Analytics traffic marked as ‘Direct’](https://wordpress.org/support/topic/all-google-analytics-traffic-marked-as-direct/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/all-google-analytics-traffic-marked-as-direct/#post-14894535)
 * Hello Hai. I have the same issue as signofgrey can you please be more explicit
   about where should those modifications be made?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Guest mode + WP All Import + CRON not working](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/#post-14843216)
 * Hello,
    [@qtwrk](https://wordpress.org/support/users/qtwrk/) Sorry for the late
   response. Actually, the issue still persists and I can confirm that guest mode
   is directly in conflict with cron. Waiting for your feedback.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Guest mode + WP All Import + CRON not working](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/#post-14797058)
 * Hey, I got an answer from the WP All import dev and it seems to work for me, 
   please go here:
 * I went to LiteSpeed Cache › Cache › Excludes and added “export_id” in the “Do
   Not Cache Query Strings” section: [https://d.pr/i/ERym8c](https://d.pr/i/ERym8c),
   and it fixed the cron URLs.
 * Let me know if works.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Guest mode + WP All Import + CRON not working](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/guest-mode-wp-all-import-cron-not-working/#post-14788849)
 * I confirm I have exactly same issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Apple Pay Button not showing](https://wordpress.org/support/topic/apple-pay-button-not-showing-9/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/apple-pay-button-not-showing-9/#post-14294995)
 * Hey I have same issue as you.
    Following
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] leave site? changes you made may not be saved.](https://wordpress.org/support/topic/leave-site-changes-you-made-may-not-be-saved/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/leave-site-changes-you-made-may-not-be-saved/#post-13806473)
 * [https://core.trac.wordpress.org/ticket/52038](https://core.trac.wordpress.org/ticket/52038)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] leave site? changes you made may not be saved.](https://wordpress.org/support/topic/leave-site-changes-you-made-may-not-be-saved/)
 *  [nvr21](https://wordpress.org/support/users/nvr21/)
 * (@nvr21)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/leave-site-changes-you-made-may-not-be-saved/#post-13779304)
 * Also same issue

Viewing 15 replies - 1 through 15 (of 32 total)

1 [2](https://wordpress.org/support/users/nvr21/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/nvr21/replies/page/3/?output_format=md) 
[→](https://wordpress.org/support/users/nvr21/replies/page/2/?output_format=md)