WC Lovers

WooCommerce Frontend Manager - Multivendor marketplace vendor dashboard

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Catagory widget can't work #85297
    clickeke
    Participant

    WCFM Marketplace – Multivendor Marketplace 3.2.3 fix this issue verified.
    Thank you for your helps.

    in reply to: Catagory widget can't work #83624
    clickeke
    Participant

    @Makers Thank you for the information, we’ve tried your workaround and the result is the same as yours.

    About the workaround, we use woocommerce to disable main category at first, and it’s useless.
    So we take a look about the $vendor_categories.

    Please refer our analysis as below
    1. The SQL query is in function “wcfmmp_get_vendor_taxonomy” under wc-multivendor-marketplace\core\class-wcfmmp-vendor.php
    2. There are a huge logic after query, so we skip to verify those code.
    But we think the problem is in that.
    3. We take a shortcut by modifying SQL query.

    You can make the $vendor_categories return correctly by adding code

    $sql .= ” GROUP BY term, parent ORDER BY parent“;

    right after $sql is assembled.

    The SQL will force query return the correct structure for the logic after assembled.
    Even though this problem should be piece of a cake without changing sql.

    Wish we can see the fix coming.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Catagory widget can't work #82982
    clickeke
    Participant

    Hi,

    We’ve checked that categories and sub-categories which associated with vendor are more than two sub-categories.
    And we don’t know why $vendor_categories in wcfmmp-view-store-category.php are only 1 category and 1 sub-category.
    Could you help us to check database by using sql or any way we can check that $vendor_categories is query correctly?

    Thank you for your quickly responding.

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