• Resolved solarbotics

    (@solarbotics)


    I’m migrating data from one website to a fresh install, and need to adjust some product data (to which BEAR has been quite useful, thanks).

    I’m using BEAR 2.1.4.7 on both, but one (running on Woocommerce 10.4.3) does NOT show the variations below the title of a variable product:
    https://snipboard.io/gmND8o.jpg

    The one running on Woo v.10.1.1 does.
    https://snipboard.io/bSt8C7.jpg

    I have no idea what is different between the two. I’ve even found and implemented the ‘woocommerce_product_variation_title_include_attributes’ add_filter snippet on an old post I found googling for this problem.

    What setting am I missing that would allow me to see the variations under the title?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter solarbotics

    (@solarbotics)

    ISSUE IDENTIFIED (but not SOLVED). I searched the plugin for

    woocommerce_product_variation_title_include_attributes

    And I found this comment:
    // Do not include attributes if an attribute name has 2+ words and the
    // product has multiple attributes.

    I did add another product functionality attribute named “Availability” with the value “Available Online”, so that explains why it didn’t show ANY.
    Is there any possibility of a work-around other than converting my attribute value containing a space (one of a fair number) to “Available_Online”?

    • This reply was modified 5 months, 2 weeks ago by solarbotics. Reason: clarification of "solved"
    Thread Starter solarbotics

    (@solarbotics)

    Solved.

    Oxygen Builder 6 Beta4 has a snippet in their code (trying to get them to tell me where it live on the UI) that disables the attribute listing in their plugin subdirectory:
    mods/cart.php at lines
    61 // Remove variations from product title
    62 add_filter(‘woocommerce_product_variation_title_include_attributes’, ‘__return_false’);

    Manually adding this php snippet to override this corrects this.

    //Enable the attributes for display in BEAR
    add_action(‘init’, function () {
    if (is_admin()) {
    remove_filter(‘woocommerce_product_variation_title_include_attributes’, ‘__return_false’, 10);
    }
    }, 999);

    Plugin Support mediawebster

    (@mediawebster)

    Hello

    Thank you for cooperation!

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.