Support » Plugin: Brands for WooCommerce » Featured Brand section

  • Resolved davideno

    (@davideno)


    I’d like to create a featured brand section on my home page. In this instance only one brand will ever be featured.

    I am currently having to use:
    [brands_info id=”25″ type=”name”]
    [brands_info id=”25″ type=”image”]
    [brands_info id=”25″ type=”description”]
    to display the info I want. (I’d also like a shortcode to display ALL the products for the featured brand.)

    This section may be repeated elsewhere on the site which means that the brand id will need to be manually changed in multiple places when the featured brand changes. Much simpler if this could be made to work for the featured brand as selected under brands.

    I’d be quite happy with shortcodes but I’m using Divi and none of the modules seem to provide this functionality either.

    Thanks

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

    (@razyrx)

    Hello,

    You can use WooCommerce products shortcode with brand attribute like this [products brand=25] https://docs.woocommerce.com/document/woocommerce-shortcodes/#section-9

    Regards,
    Oleg

    Thread Starter davideno

    (@davideno)

    Hello Oleg
    Thanks very much for your quick reply, but is there a way to make all these shortcodes respond to the featured brand, instead of specifying an id? This would mean the client wouldn’t have to get into any code in multiple places but instead could just tick the checkbox in the brand details?

    EG something like:
    [brands_info featured_brand=1 type=”name”]
    [brands_info featured_brand=1 type=”image”]
    [brands_info featured_brand=1 type=”description”]
    [products featured_brand=1]

    Thanks
    Regards
    David

    Plugin Author RazyRx

    (@razyrx)

    Hello,

    No, plugin do not have option like this.

    Regards,
    Oleg

    Plugin Author Dima Holovnia

    (@dholovnia)

    Hello David,

    Your request was added to the pull. We will add it asap.

    Regards,
    Dima

    Thread Starter davideno

    (@davideno)

    Hi Dima

    That will be fantastic!

    Thanks very much

    David

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.