Troubleshooting: Missing Variation Attributes in BEAR with Oxygen Builder
Problem
Product variations are not displayed under the title field in BEAR bulk editor when Oxygen Builder theme is installed.
Cause
Oxygen Builder (version 6 Beta4 and higher) includes code in mods/cart.php (line 62) that disables variation attributes display in the admin area:
add_filter('woocommerce_product_variation_title_include_attributes', '__return_false');
Solution
Add this code to your theme’s functions.php file to re-enable variation attributes in the admin area:
// Fix: Enable product variation attributes in BEAR when using Oxygen Builder
add_action('init', function () {
if (is_admin()) {
remove_filter('woocommerce_product_variation_title_include_attributes', '__return_false', 10);
}
}, 999);
This code removes Oxygen Builder’s filter and restores the default WooCommerce behavior, allowing BEAR to display variation attributes correctly.
Source: https://wordpress.org/support/topic/two-website-same-bear-one-missing-variations-in-title-field/
