Minor changes of xstore elements are unchangeable

This topic has 4 replies, 2 voices, and was last updated 8 months ago ago by Luca Rossi

  • Avatar: scrumgum
    scrumgum
    Participant
    April 17, 2024 at 08:50

    Hello
    At my jewelry store page, I have theme elements I want to remove due to SEO issues and redundant use.
    The side popup button for the filter, the view buttons, and the number of items are to show in a page dropdown list.
    I went over the edit store options, widgets, and whatnot.
    Please assist.
    I have shared a screenshot of this for you to review and access.
    Thanks!

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    April 17, 2024 at 09:33

    Dear @scrumgum,

    We kindly request that you implement the following custom CSS by navigating to Theme Options, then selecting Theme Custom CSS, and finally entering it into the Global CSS section:

    
    .et-toggle-mob-sidebars-wrapper,
    .products-per-page.et-hidden-phone,
    .view-switcher {
        display: none !important;
    }
    

    We trust this will assist you with your needs.

    Warm regards,
    The 8Theme Team

    Avatar: scrumgum
    scrumgum
    Participant
    April 24, 2024 at 11:13

    Hi
    Thanks for the solution, but this is not the right fix.
    Although this is now hidden from the visitor’s front end, the element logic is still active, and the respected URLs are being generated. The result is a massive downgrade in SEO score due to hundreds of canonical pages and duplications.
    I want to remove the website’s visibility of view options and the number of products seen with dropdown options.

    Attached is an image of redundant URLs being generated due to unwanted filter elements.

    Please help me solve this.

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 24, 2024 at 12:20

    Hi @scrumgum,

    To completely remove those elements, please add the following codes under functions.php file locates in your child theme:

    
    add_filter('etheme_products_per_page_select_enabled', '__return_false');
    add_filter('etheme_grid_list_switcher_enabled', '__return_false');
    

    For the #1, please remove the sidebar on your shop page:

    https://prnt.sc/cWmClisooqut

    Hope it helps!

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

You must be logged in to reply to this topic.Log in/Sign up

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