PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Description Content doesnt change

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

If i change the description of the product the changes don´t apply in the product.

i already deactivated cache plugins.

thanks for the help,

chris

Hello Chris

I just did tests, its still works. I suggest you do test: disable all plugins exept BEAR & WooCommerce and try, then one by one enable plugins to find one making issue

You can do such experiments if the site is alive using stage site created by https://wordpress.org/plugins/duplicator/

thanks for the support. it has probably to do with elementor. on other products which are not designed with elementor plugin it works well. would be great to get compatibility with this plugin because its used from many designers yet i think.

thanks,

chris

Hello Chris

Elementor uses its own page builder structure and caching system. When you edit the product description through BEAR, the data is saved correctly in the database, but Elementor continues to display the cached version of the page.

I can suggest you some code to reset the cache after fields updated, add next code to your theme's functions.php:

// Clear Elementor cache after product update
add_action('woocommerce_update_product', 'woobe_clear_elementor_cache_on_product_update', 10, 1);

function woobe_clear_elementor_cache_on_product_update($product_id) {
if (!did_action('elementor/loaded')) {
return;
}

if (class_exists('\Elementor\Plugin')) {
$elementor = \Elementor\Plugin::instance();

if (method_exists($elementor->files_manager, 'clear_cache')) {
$elementor->files_manager->clear_cache();
}

delete_post_meta($product_id, '_elementor_css');

$elementor_data = get_post_meta($product_id, '_elementor_data', true);
if (!empty($elementor_data)) {
update_post_meta($product_id, '_elementor_data', $elementor_data);
}
}
}

// Alternative: Clear all Elementor cache after bulk edit
add_action('woobe_after_bulk_edit', 'woobe_clear_all_elementor_cache');

function woobe_clear_all_elementor_cache() {
if (!did_action('elementor/loaded')) {
return;
}

if (class_exists('\Elementor\Plugin')) {
\Elementor\Plugin::instance()->files_manager->clear_cache();
}
}

Try please them and give me know if they are works on your side ...

 

thanks a lot for the help

the first code works, the second not. problem is that all the elementor formatting is gone after the change so i can not use it.

thanks,

chris

Hello Chris

Thank you for the signal, in this case I will create task for dev let they invistigate it, and when I will get info I will back here with additional information, thank you ...