How do I: add a setup a "shop by brand" widget area? (5 posts)

  1. Forest Skills
    Posted 3 years ago #

    Hello again!

    I use Woocommerce and although the main shop page filters by category, I'd like to add a widget in the sidebar (using the woo sidebars plugin) which shows manufacturers logos and contains hyperlinks to the products I have which are made by them. I assume I'd have to use the manufacturers names as tags as a method of linking them to the manufacturers image.

    This can't be rocket science, but I can't get my head round how to do it.

    Anyone any ideas?

    Thanks in advance (again!!).



  2. Stacy (non coder)
    Posted 3 years ago #

    You might want to make all the brand names product attributes. Then use the layered navi widgets for filtering.

  3. Forest Skills
    Posted 3 years ago #

    Hi, thanks - that has worked a treat.

    Next question is; how do I remove the quantity number of each of the returns from the widget?

    Firebug gives this;

    .woocommerce .widget_layered_nav ul small.count, .woocommerce-page .widget_layered_nav ul small.count {
    	color: #777777;
    	float: right;
    	font-size: 1em;
    	margin-left: 6px;
    	padding: 1px 0px;

    I've done a 'quick and dirty' by changing the text colour to match the background colour, but what do I need change so that this function doesn't work at all?


  4. Stacy (non coder)
    Posted 3 years ago #

    Sry I can't try this. I've had to reinstall the theme bc just trying to change the term "featured products" gave big issues. But have you tried deleting the the word " count," ?
    (I'm not a coder)

    Btw is this widget showing up for you on the home or category pgs? That's what I'm trying to accomplish.

  5. Forest Skills
    Posted 3 years ago #

    Hi Stacy,

    I've changed the term without any problems; not sure why it didn't work for you.

    The widget is set to come up in a Woo Sidebar (ie a plugin which you set so that it replaces another on a certain page/when a set criteria is met) on my shop page and all subsequent pages. For some reason it doesn't work on product pages, only shop and shop/category pages, but I can live with that.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic