Help with Hiding Cigar Spotlight on Product Archive for Subcategories

This topic has 17 replies, 4 voices, and was last updated 2 weeks, 6 days ago ago by Andrew Mitchell

  • Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 20, 2025 at 16:23

    Dear XStore Support,

    I hope you’re doing well. I’m reaching out because I need assistance with modifying the display of the “Cigar Spotlight” section on my product archive pages.

    Currently, the “Cigar Spotlight” section is visible on all product archive pages, but I’d like to hide it when viewing product subcategories. Specifically, when browsing through a cigar brand and selecting a subcategory, I only want the products to be displayed first, without the additional “Cigar Spotlight” section showing up.

    Is there a way to either hide the “Cigar Spotlight” on these subcategory pages or move it below the product listings? Any guidance or code modifications to achieve this would be greatly appreciated.

    Thank you for your time and assistance!

    Best regards,

    Keesha

    Please, contact administrator
    for this information.
    16 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 21, 2025 at 09:58

    Hello, Regencycigaremporium,

    Thank you for reaching out to us.

    Archive products builder using Elementor offers Conditions settings for templates https://prnt.sc/koz-JjW6_Ahi Please try to use them to achieve the desired results.

    Best regards,
    8Theme’s Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 22, 2025 at 00:31

    Dear Rose,

    Thank you for your prompt response and the suggestion to use the Conditions settings for templates in Elementor.

    I tried to implement the method you recommended, but it doesn’t quite meet our requirements. Unfortunately, the “Edit Condition” settings currently don’t include options for specifying “subcategory” and “further subcategory.”

    This limitation would require manually assigning subcategories to the second product archive template every time a new one is added, which isn’t feasible for our needs.

    Could you please consider adding “subcategory” and “further subcategory” options to the “Edit Conditions” feature as a future enhancement?

    Alternatively, if there are any custom codes or workarounds we can use in the meantime, I would greatly appreciate your guidance.

    Thank you for your understanding and support.

    Truly grateful for your help as always!

    Warmly,

    Keesha

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 22, 2025 at 12:18

    Dear @regencycigaremporium,

    We hope this message finds you well.

    To address your request, you can simply duplicate the existing template and set the condition specifically for Product Categories Archive pages. In doing so, you can remove the spotlight widget from the top of the page.

    Alternatively, you may deactivate the Ajax functionality for Categories in the Theme Options and then apply the following custom CSS to hide the section on category taxonomy pages:

    .tax-product_cat .elementor-element-2461bda6 {  
        display: none;  
    }

    If you wish to hide the same element on other archive pages, such as brands or tags, you can use a similar CSS snippet. Please note that the class for these archive pages dynamically changes based on the taxonomy name. For example, if it is a product tag, the class would be .tax-product_tag. You can confirm the exact class by inspecting the page using your browser’s developer tools.

    Should you need further assistance, please do not hesitate to reach out.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 22, 2025 at 14:05

    Hi Jack,

    Thank you for your assistance. Unfortunately, the method didn’t work as expected. It removed the spotlight categories from all categories, but we only want the spotlight categories removed from the subcategories and further subcategories.

    I’ve uploaded a document in the private content area, where the exact subcategories that need the spotlight removed are highlighted. Kindly refer to it for further details.

    Please let me know if you need any more information.

    Best regards,

    Keesha

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 22, 2025 at 15:43

    Dear @regencycigaremporium,

    We hope this message finds you well.

    Could you kindly provide us with FTP access in a private message so that we can explore potential solutions tailored to your specific case? Based on our understanding, you would like to remove this section for certain category pages only (as shown in the screenshot: https://prnt.sc/HJ0glCro-gyf).

    If our understanding is incorrect, we kindly ask you to provide more details about the desired outcome you wish to achieve. This will help us assist you more effectively.

    Thank you for your cooperation.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 22, 2025 at 16:08

    Dear Jack,

    Thank you for your message. You understood correctly—we’d like to remove the “Cigar Spotlight” section for specific category pages only, as detailed in the screenshot you provided.

    The specific categories where we want the “Cigar Spotlight” section to be removed are the categories with checklists beside them from this document: https://docs.google.com/document/d/1-ZPAItvLNBf2PbaIvOzpSLGgfO5IHd_P2C8xzMUwkKs/edit?tab=t.0#heading=h.h01m80vbzm1w

    I have also provided you with our FTP access in the private content area.

    Please let me know if you need any further details or clarification.

    Thank you for assisting us with this!

    Truly grateful,

    Keesha

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 22, 2025 at 17:01

    Dear @regencycigaremporium,

    We hope this message finds you well.

    We are pleased to inform you that we have identified a specific solution tailored to your case. Here are the details of the implementation:

    1. Custom Snippet:
    We have created the following snippet: https://prnt.sc/QBlWvNJU6T1u.

    2. Custom CSS:
    Additionally, we have added the following custom CSS:

    .is-product-sub_taxonomy-page .elementor-element-2461bda6 {  
           display: none;  
       }

    This snippet automatically adds a custom class to the body, which identifies whether the current page belongs to a child category, tag, or similar taxonomy. If the conditions are met, the page is recognized as a sub-taxonomy, and the spotlight widget will not be displayed on those pages with an assigned as child category. You can see an example here: https://prnt.sc/kmoWUn5Y6pYK.

    Please note that this solution was specifically customized for your case. Should you require any additional customizations, we kindly ask that you explore our available services listed in the main menu of our website.

    If you have any further questions or need assistance, please do not hesitate to reach out.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 23, 2025 at 01:08

    Dear Jack,

    I hope you’re doing well. Thank you for providing the details regarding the recent custom snippet and CSS implementation. I truly appreciate the effort your team has put into addressing the issue.

    However, I’ve noticed a few concerns following the recent changes:

    1. When I navigate to WordPress Admin > XStore > Theme Builder > Click on anything, I now encounter the following error:

    “Error: Unexpected token ‘W’, ‘Warning: U’… is not valid JSON.”
    This issue didn’t occur prior to granting access to our FTP.

    2. Additionally, the product archive is not displaying properly anymore.

    To help us resolve these issues efficiently, could you kindly confirm if there were any other changes made to the site apart from the custom CSS and snippet? Also, could you let me know where the custom CSS has been implemented so I can review it?

    Thank you for your assistance, and I look forward to your response.

    Best regards,

    Keesha
    Regency Cigar Emporium

    Files is visible for topic creator and
    support staff only.
    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 23, 2025 at 10:29

    Hi Jack,

    I just wanted to let you know that I’ve resolved the issue by restoring the nearest backup. This seems to have undone the changes that caused the error to appear, so there’s no need to worry about it anymore.

    However, I noticed that the custom CSS you mentioned wasn’t in Appearance > Customize > Additional CSS. Could you let me know where it was added or where I should place it? I will try your method again.

    Thanks for your help, and I appreciate your guidance on this!

    Best regards,

    Keesha

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 23, 2025 at 15:08

    Dear Jack,

    I hope this message finds you well.

    Thank you for your continued assistance regarding the “Cigar Spotlight” section. Your guidance has been incredibly helpful, and I greatly appreciate the effort you’ve put into resolving our request.

    To clarify further, the categories listed in the document are 3rd-level categories, and we want the spotlight section to be hidden only from these 3rd-level categories and any categories below them.

    For example:

    Parent Category: Cigar
    Subcategory: Arturo Fuente
    Further Subcategories (where the spotlight should be removed):
    Arturo Fuente Hemingway
    Arturo Fuente Chateau Fuente
    Arturo Fuente Gran Reserva
    Arturo Fuente Magnum R
    Arturo Fuente Don Carlos
    Casa Cuba
    Arturo Fuente Anejo Maduro
    The goal is to ensure the spotlight section is displayed for parent categories and subcategories (like “Arturo Fuente”) but hidden for 3rd-level categories (like “Arturo Fuente Hemingway”) and any categories beneath that level.

    Thank you again for your patience and expertise. Please let me know if there’s anything further you need from my end to assist with this request.

    Best regards,

    Keesha
    Regency Cigar Emporium

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    January 23, 2025 at 16:45

    Dear @regencycigaremporium,

    We hope this message finds you well.

    Unfortunately, due to the backup you implemented, the solution we had previously created for you has been lost and cannot be improved. As we mentioned earlier, your request falls outside the scope of our standard support services. Regrettably, we are unable to provide a solution for this particular request through our support team.

    If you require further assistance with customizations, we kindly encourage you to submit your request via the following link: https://www.8theme.com/account/.

    Thank you for your understanding and for respecting our support privacy policy.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 24, 2025 at 03:39

    Dear Jack,

    Thank you for your response and for the assistance you’ve provided regarding the “Cigar Spotlight” section. I greatly appreciate the time and effort you’ve taken to address our concerns.

    I understand the situation, and I’ve just reached out to the customization services department via the provided link to proceed with the request.

    Thank you again for your guidance, and I look forward to resolving this through the customization team.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 24, 2025 at 16:25

    Dear @regencycigaremporium,

    Thank you for your understanding and cooperation.

    Warm Regards,
    The 8Theme Team

    Avatar: regencycigaremporium
    regencycigaremporium
    Participant
    January 27, 2025 at 01:27

    Dear XStore Support,

    I hope this message finds you well. I am following up regarding my request for assistance with modifying the display of the “Cigar Spotlight” section on product archive pages, submitted to the customization department three days ago.

    Could you kindly confirm if my email was received and whether the customization team is currently reviewing my request? I understand you may be busy, but I’d appreciate an update or any information about the expected timeline for a response.

    Thank you for your time and support!

    Best regards,
    Keesha
    Regency Cigar Emporium

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 27, 2025 at 08:54

    Dear @regencycigaremporium,

    Thank you for reaching out to us.

    Please note that matters related to emails and customization are handled by different teams. If you contact them on a Saturday and your inquiry is complex, it may take until Wednesday to receive a response, as additional time is required for thorough analysis.

    We kindly ask for your patience while awaiting a reply via email.

    Warm Regards,
    The 8Theme Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    January 28, 2025 at 07:16

    Dear regencycigaremporium,

    In the spirit of gratitude, we want to express our appreciation for your trust in our products. As a valued customer, your experience matters greatly. Would you consider sharing it by giving our theme a deserving 5-star rating on ThemeForest?

    Click here to share your thoughts: https://themeforest.net/downloads

    Being part of our community means a lot, and your feedback contributes immensely.

    Best Regards,
    The 8Theme Team

  • Viewing 17 results - 1 through 17 (of 17 total)

The issue related to '‘Help with Hiding Cigar Spotlight on Product Archive for Subcategories’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.