Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve never seen anyone do this yet, it’s not a feature of WC Vendors, but I’m sure you could code it up in some fashion with page templates. Category queries can be quite expensive on resources, so I would’t try this if you have a few thousand products. ??

    Thread Starter DoodleDogCody

    (@doodledogcody)

    Just in case anyone needs this, I figure I will show everyone what I did.

    Basically I am using Advanced custom fields to assign information to the users profile. In their I created for in my instance a color field. They can select the colors they want to belong too.

    Now on a page I query for all vendors and then filter by the custom field value.

    Awesome. Glad you found an easy method!

    Ben

    Thread Starter DoodleDogCody

    (@doodledogcody)

    Thanks, glad I did too.

    One more question. This is not 100% related so might deserve it’s own thread but what is the easiest way to change where the Store Settings link on the dashboard page links to. I know I can change the page that controls this and select that page in the WC Vendors settings but I would rather it just go to the wp-admin profile page since that is where these extra fields are. Anyway to do this easily?

    Filter or anything like that?

    Thread Starter DoodleDogCody

    (@doodledogcody)

    Nvm, that was easy, Its in the /dashboard/links.php template file.

    Thanks for making these templates so easily accessible

    ?? ?? Glad you got that sorted, too! ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘categorizing vendors and querying for that category’ is closed to new replies.