Home Forums WoodMart support forum Child categories inherit parent image

Child categories inherit parent image

Viewing 29 posts - 1 through 29 (of 29 total)
  • Author
    Posts
  • #384225

    ninja
    Participant

    Hi guys
    change log says:
    FIXED: Child categories did not inherit the image from the parent.(https://xtemos.com/forums/topic/header-image-cat/)
    our problem start here:
    we are using preset for define subcategories title background COLOR but now all these subcategories inherit parent background PICTURE by force.
    when we use color then there should be no image inheritance from parent categories.isn’t this?
    screenshot attached

    keep up the good work .

    Attachments:
    You must be logged in to view attached files.
    #384261

    Hello,

    You need to enter each category and set its own image: https://xtemos.com/docs-topic/product-category-menu/

    If you have any questions please feel free to contact us.

    Best Regards

    #384270

    ninja
    Participant

    it seems our issue is not clear or not described well .
    kindly we don’t ask how to set subcategory picture.
    we set COLOR for each subcategory by preset but they inherit parent picture (background image)

    #384393

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #384399

    ninja
    Participant

    Hi
    info attached

    #384476

    Hello,

    Please provide the login URL as well.

    Best Regards

    #384564

    ninja
    Participant

    sorry
    pelkat.com

    #384793

    Hello,

    I do not have access to the Product categories: https://gyazo.com/c046bcbf065a9a5ed821c4ade51ff7eb

    Please provide the same.

    Best Regards

    #384942

    ninja
    Participant

    now refresh and login please

    #385284

    Hello,

    You have inserted the featured image and you need to upload the image for the title: https://gyazo.com/254af636bd5d666a9c3006306147e91d

    Please check this manual: https://xtemos.com/docs-topic/product-category-menu/

    Best Regards

    #386295

    ninja
    Participant

    there is a clear issue which raised after recent update. and i don’t know how to describe it.
    this is the scenario that was working with no problem before update:
    1-i have a parent category with many subcategories
    2-i have to set an image for parent category page title and set color(not image) for subcategories page title background
    3-i set “image for the category page title” through Dashboard – > Products – > Categories – > Select and edit parent Category
    4-define a preset for whole subcategories and set page title color by Dashboard – > Theme setting – > Page title– > Page title Background and uncheck inherit and set a color in Select Color option
    now after update the step 4 has no more effect.
    theme has the ability to use page title color by preset but i am forced to make square image 1×1 pixel of colors and set for hundred subcategories because of last update.
    manual says:
    ” by default, the category page would inherit the settings from the shop page.”
    but why preset wont work on this default?

    #386691

    Hello,

    Please apply this patch 386491

    You can find the documentation here: https://xtemos.com/docs-topic/automatic-patcher/

    Then save the Theme Settings and Theme Settings presets which are not saved.

    If you have any questions please feel free to contact us.

    Best Regards

    #387935

    ninja
    Participant

    Hi
    thanks for update , btw patch installed and theme setting + preset saved but for subcategory image still loaded from parent category.
    may i ask help?

    #388591

    Hello,

    Please upload the image here: https://gyazo.com/a0f904d24cbe386421ba022600501dc4

    If it does not work, let us know.

    Best Regards

    #388697

    ninja
    Participant

    please have a look at attachment
    there is color set through preset and it has no effect.

    Attachments:
    You must be logged in to view attached files.
    #388706

    ninja
    Participant

    more attachment here .

    Attachments:
    You must be logged in to view attached files.
    #388947

    Hello,

    Could you give the title of the preset?

    Best Regards

    #389044

    ninja
    Participant

    1-/shop/skincare/sub

    #389254

    Hello,

    skincare category has ID =70 https://gyazo.com/e9dcf80b81fd9c94fc5515eb9d9eeb24

    I do not see its ID in the preset: https://gyazo.com/29e6fdee7e225475f0642007468139e8

    Please check the rules.

    Best Regards

    #389867

    ninja
    Participant

    because skincare is the parent category
    preset is for subcategories

    #389912

    Hello,

    It does not matter, preset does not differ between parent or child, it is applied to ID.

    Add the sub-category ID to the preset.

    If you have any questions please feel free to contact us.

    Best Regards

    #390099

    ninja
    Participant

    Hi
    thanks for your time and effort on following my issue.
    i can understand that the ID is the matter in preset.
    the screenshot you attached is from makeup category(1-/shop/makeup/sub) which is not mentioned and is from another preset, you could look at this please : 1-/shop/skincare/sub which i wrote above.

    sub-categories ID added to the 1-/shop/skincare/sub preset to show color but still they show image from parent categories ID(parent category).
    category with ID 70 should have image as background by category setting(parent)
    category with ID 75,76,77,78,79,80,81,82 should have color as background by preset setting(1-/shop/skincare/sub)

    well,i attached two screenshot: one from setting with proper ID setup and one from result in front-end
    can you clarify why preset setting is not working at there ?

    Attachments:
    You must be logged in to view attached files.
    #390489

    Hello,

    Please advise the preset and ID of the child category that is added to the preset and it does not work.

    Best Regards

    #391160

    ninja
    Participant

    1-/shop/skincare/sub
    ID 75

    #391373

    Hello,

    I have checked the styles of the rule for this sub-category.

    You have seen this color for the title: https://gyazo.com/2fee3fc0c3a960d58751abaf29c2710d

    And you have set the background color for the tile: https://gyazo.com/a02d24ac9bc294fbbc1ca0306b3567c9

    You need to check the settings you have configured for this rule.

    If you have any questions please feel free to contact us.

    Best Regards

    #391397

    ninja
    Participant

    Hi
    – everything fine with this one:

    You have seen this color for the title: https://gyazo.com/2fee3fc0c3a960d58751abaf29c2710d

    but

    And you have set the background color for the tile: https://gyazo.com/a02d24ac9bc294fbbc1ca0306b3567c9

    -kindly as you checked , we set color for “background color ” BUT we see a picture in title background! this is my issue after update that this color in not working in front- end. we set color but it show image in front-end .
    we don’t set that image anywhere for this subcategory but instead of color we have image in background.
    please have a look at attachment.

    • This reply was modified 1 year, 9 months ago by ninja.
    • This reply was modified 1 year, 9 months ago by ninja.
    Attachments:
    You must be logged in to view attached files.
    #392404

    Hello,

    Please find the file: ./inc/template-tags/template-tags.php and line 1280, then relace this code:

    } elseif ( ! empty( $cat->parent ) ) {

    for this one:

    } elseif ( ! empty( $cat->parent ) && apply_filters( 'woodmart_show_parent_category_page_title_image', true ) ) {

    and add this code:

    add_filter( 'woodmart_show_parent_category_page_title_image', '__return_false' );

    to the functons.php of the child theme.

    If you have any questions please feel free to contact us.

    Best Regards

    #392622

    ninja
    Participant

    this was great

    just to say we are so happy to start our fourth website using Woodmart here.
    thanks in advance

    #392635

    You are welcome! We are here to help.

    Wish you a wonderful day!

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

The topic ‘Child categories inherit parent image’ is closed to new replies.