• I recently updated my WP installation to 6.2 and lost pretty much all the ability to show the brand information on product pages. I am running an online gallery and use brands to group artists works together. The catalog still works but I also have tabs on my product pages which feature the artist’s bio pulled from the brand description and with the upgrade that functionality stopped working. Is there any fix for this?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    Please provide shortcode with all optins that you have and we will check how it work on our test environment.

    Regards,
    Oleg

    Thread Starter carolusrex

    (@carolusrex)

    I’ve tried:

    [brb_description] : Results in nothing on the page (tab)

    [product_brands_info] : Results in the literal shortcode text shown on the page (tab)

    and

    [product_brands_info type=’name,description] : Results in the literal shortcode text shown on the page (tab)

    • This reply was modified 1 year, 6 months ago by carolusrex.

    Hi! We have the same problem. The shortcode PRODUCT_BRANDS_INFO is not working on the newest WordPress version:

    Doesn’t work for me either. Only works when I put in product page “Before All”, but that’s useless. I need shortcode, but it’s not rendering.

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    Checked [product_brands_info] shortcode with latest version of plugin and WordPress and it seems work correct.

    First of all check that in same place other shortcodes work correct, because if it is displayed as text, then maybe shortcodes not parsed in this place.

    Also check that Deprecated addon enabled, because [product_brands_info] is deprecated and new one must be used instead.

    Regards,
    Oleg

    Thread Starter carolusrex

    (@carolusrex)

    Enabling the deprecated addon feature fixed [product_brands_info type=’name,description] for me.

    However, the shortcode ignores the type filter and displays ALL information including the name, banner image, categories, image (in a huge size for some reason) and the description. I only want the some of the info displayed and not all of it.

    Is there a fix to the deprecated shortcut?

    I also tried just showing the banner and description with the new shortcode but it’s not showing anything on the product page. I’ve tried these iterations):

    [brb_description]

    [brb_description banner_display=1 display_description=1]

    [brb_description banner_display=’1′ display_description=’1′]

    [brb_description banner_display=”1″ display_description=”1″]

    Where the ID of the Product tied to the brand I want to show on the single product page is 865:

    [brb_description brand_id=865 banner_display=1 display_description=1]

    [brb_description brand_id=’865′ banner_display=’1′ display_description=’1′]

    [brb_description brand_id=”865″ banner_display=”1″ display_description=”1″]

    Where the Tag_ID of the brand I want to show on the single product page is 278 (The BrandID is not shown anywhere so I took the tagID from the URL of the particular brand I want to show, but I would rather it could automatically show the brand tied to the product on the single product page view)

    [brb_description brand_id=278 banner_display=1 display_description=1]

    [brb_description brand_id=’278′ banner_display=’1′ display_description=’1′]

    [brb_description brand_id=”278″ banner_display=”1″ display_description=”1″]

    Am I using this shortcode correctly?

    Hi!

    We have tried activating the deprecated addon but it doesn’t solve the problem. Somehow the shortcode:

    just returns empty string. What changed in the shortcode? Or is there new way to use these shortcodes to get product brand name by product id? We want to show the product brand on product page and in the store archive. Because I can’t figure out how to use these new shortcodes to show product brand.

    Thread Starter carolusrex

    (@carolusrex)

    Any updates??

    Problem still persist. Any update on this?

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    To use [product_brands_info] shortcode deprecated addon must be enabled in plugin settings.
    Old deprecated shortcodes do not changed at all, but you can download older version of plugin to use, it must also work correct.

    We are working on update for [brb_description] shortcode to use it on single product page.
    Right now it is work only with brand ID.

    Regards,
    Oleg

    @razyrx thanks for the info. But it doesn’t work even tho we have enabled the deprecated addon. It just prints empty string like I send a picture. So is there something else we need to do?

    We are using the shortcode on our theme like this:

    /**
    
    * Add brand before shop loop title
    
    */
    
    add_action('woocommerce_before_shop_loop_item_title', function() {
    
    global $product;
    
    $product_id = $product->get_id();
    
    $html = '<div class="product-brand">';
    
    $html .= do_shortcode('[product_brands_info id="' . $product_id . '" type="name"]');
    
    $html .= '</div>';
    
    echo $html;
    
    });
    Thread Starter carolusrex

    (@carolusrex)

    Any update on the [brb_description] shortcode to use it on single product page?

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[brb_description] and [product_brands_info] shortcodes NOT working on WP 6.2’ is closed to new replies.