• Resolved byukusenge

    (@byukusenge)


    i’m using dolan lite and when a vendor creates products, they’re shown on store page under product tab.i would like dokan to fetch categories and creates immediately tabs and display products under those tabs according to their categories.

    i tried to edit store.php on line 59 which is this line:

    <?php wc_get_template_part( 'content', 'product' ); ?>

    but i failed to know what to replace with ‘product’

    does anybody here have any solution for this please?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @byukusenge,

    Showing the products by category on the single store page is unavailable as a default feature of the Dokan plugin. If you want to have this feature, it will require proper customization. According to our support policy, we are unable to provide a custom solution.

    You can try using something like wc_get_template_part( 'content', 'product-' . $category_id ); Here, the category_id will be the term ID of the categories.

    I hope this information will help. Thanks!

    Thread Starter byukusenge

    (@byukusenge)

    Jahidul Hassan Mojumder

    (@jahidulhassan)

    nope, it didn’t work out

    Plugin Support Jahidul Hassan Mojumder

    (@jahidulhassan)

    Hi @byukusenge,

    It was supposed to work if used properly. I found documentation of wc_get_template_part, though it does not seem to be an official one. Here is the link to that.

    If you are still unable to achieve your goal, please contact WooCommerce support as they are the author of the function.

    Cheers!

    Thread Starter byukusenge

    (@byukusenge)

    ok, i’m reading through it and i will come back with a solution

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @byukusenge,

    Since there has been no recent activity, we are considering this matter resolved. If you have any additional questions, please don’t hesitate to create a new topic.

    Cheers!

    Thread Starter byukusenge

    (@byukusenge)

    sazdhossain

    (@sazdhossain), nope, it not solved yet but don’t worry i arranged myslef by creating a new page for every store and i created those tabs i wanted on those pages, without using dokan

    Plugin Support sazdhossain

    (@sazdhossain)

    Hi @byukusenge,

    Glad to know that you got things sorted out! So, I’m closing this topic now. If you have any other questions, feel free to create a new topic.

    Cheers!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘show products under tabs by category on store page instead of products directly’ is closed to new replies.