• Resolved Yaroslav.CH

    (@yaroslavch)


    Hi,
    I have a parent/child structure of categories:
    Parent category
    – child category
    — sub-child category.

    When I add the [wpos_product_categories_slider] shortcode – it shows the blank space and no one category.
    When I add [wpos_product_categories] shortcode – it shows the Parent category only and that’s all.
    Is there a some shortcode setting or solution to resolve this situation?
    Thanks in advance.

    • This topic was modified 7 years, 12 months ago by Yaroslav.CH.
    • This topic was modified 7 years, 12 months ago by Yaroslav.CH.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Thank you for using our plugin.

    This shortcode dispaly default all parent category. If you want to display child category then you can pass parent id in parent paramenter in this shortcode. like [wpos_product_categories parent=’10’]

    Note: now 10 is parent id.

    Thread Starter Yaroslav.CH

    (@yaroslavch)

    Hi,
    thanks for your answer.

    I tried to add “parent” parameter to shortcode with different id’s, but unfortunately it’s not working. I received a blank place only instead of categories. I tried to use a child and sub-child categories – no success.

    https://joxi.ru/YmEYMaeHE0vRm6

    I tried it with [wpos_product_categories_slider parent=’186′] and [wpos_product_categories parent=’186′] shordcodes – the same situation.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    we got your query, you can add one more parameter in your short code:

    [wpos_product_categories parent=’186′ hide_empty=”false”]

    Note: This short code is taken only first level of parent child, not second level child also.

    • This reply was modified 7 years, 11 months ago by Anoop Ranawat.
    Thread Starter Yaroslav.CH

    (@yaroslavch)

    Hi,
    thanks for your answer.

    I did as you recommended – absolutely nothing, even no blank space as in previous situation. I tried to insert the Parent category ID, child category ID, sub-child category ID… no success.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    if you want to display all category(parent,child, sub child) then use below short code:

    [wpos_product_categories parent=”” hide_empty=”false”]

    note: no pass any ID in parent parameter, here parent is blank.

    if you facing any problem let me know.

    Thread Starter Yaroslav.CH

    (@yaroslavch)

    Hi,
    thanks for your answer.

    with this parameters [wpos_product_categories parent=”” hide_empty=”false”] I’m getting only Parent cateory and that’s all.

    Screenshot: https://joxi.ru/l2ZMkR8I4kDRmJ

    Thread Starter Yaroslav.CH

    (@yaroslavch)

    This is how my catalog looks: https://joxi.ru/n2YBxa7TxVo0A6

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    sorry this short code is not a free plugin, so this type of functionality is available in our pro plugin.

    Thread Starter Yaroslav.CH

    (@yaroslavch)

    Hi,

    so as I understand, in free version only the parent categories would be shown?

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    yes exactly..

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Does not show child and sub-child categories’ is closed to new replies.