Product filter widget placeholer change & translation problem

This topic has 10 replies, 2 voices, and was last updated 5 years, 10 months ago ago by Rose Tyler

  • Avatar: Pawel
    Pawel
    Participant
    January 9, 2019 at 12:21

    Hello, I want to delete a word “any” added in product filter placeholder, how can I do it? Also there are some untranslated words, everything shown on images below (highlighted). How can I replace them?

    Order page

    shop page

    Please, contact administrator
    for this information.
    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2019 at 13:05

    Hello,

    1) Try to change this text via translation.
    2) If you face problems with translation, you need to be sure that your translation files are synchronized. Button Sync (Loco Translate plugin http://prntscr.com/glemdq) allows you to synchronize your translation file with pot file.
    Also, you can disable “Special breadrumbs on cart, checkout, order page” in Theme Options > Breadcrumbs.

    Regards

    Avatar: Pawel
    Pawel
    Participant
    January 9, 2019 at 16:47

    1 Ok, its done but next, how can I delete those quotation marks in filter box? On the photo there is ” Dowolny obudowa” how change it to Dowolny obudowa (without quote marks)?

    Thanks

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 9, 2019 at 16:55

    Please provide temporary wp-admin access so I can take a closer look.

    Regards

    Avatar: Pawel
    Pawel
    Participant
    January 10, 2019 at 10:15

    Ok, thanks.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 10, 2019 at 10:37

    Hello,

    You are using one of default WC widgets and our theme doesn’t affect it, so it would be better to contact WooCommerce support.
    Feel free to ask if you have any other questions.

    Regards

    Avatar: Pawel
    Pawel
    Participant
    January 10, 2019 at 17:00

    ok, I will leave it like it is for now, but I have one more thing I still can’t figure out. I want to disable shop filters on main shop page but want them when you click on category.

    1 Jetpack widget visibility doesn’t work- they are still everywhere.

    2 I tried to configure shop to show specyfic category when entered shop page but then it wont show products in other categories when I click on them so this one doeasn’t work too.

    Maybe You know other solution? The thing is that there will be so many filters for every category so when someone enter shop page and it will by default show products from few categories there will be more than 10 filters, it may go to 20 even. It will also look bad and confusing when it will show filters that doesnt apply for every device on that page. How can I avoid this? I want filters to be shown only in category pages.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2019 at 08:38

    Hello,

    You can disable sidebar on Shop page only – http://prntscr.com/m5pff5
    Also, you can choose what to display on the main shop page http://prntscr.com/m5pfxw via Appearance > Customize > WooCommerce > Product catalog > Shop page display.

    Regards

    Avatar: Pawel
    Pawel
    Participant
    January 11, 2019 at 11:30

    Thanks but those options aren’t enogh. With the first one I have to write categories by myself or use widgets that doesn’t do what I need. And the second one, there would be only categories with no product, I dont want that either.

    Looking for solutions I’ve merged few solutions and finally got what I need. It’s not perfect in regard to optimalization but with no other option I have no choice. This function will hide specified widgets on specified sites. Maybe someone will need it too 🙂

    
    add_action('wp_head', 'hide_sidebar' ); 
    function hide_sidebar(){   
      if(is_shop()){     //choose site on which You want to hide widget
      ?>
      <style type="text/css">
       
       .woocommerce .widget_layered_nav {   /* choose widget class to hide */
        display: none;
    }
    
       </style>
      <?php
     }
    }
    
    
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    January 11, 2019 at 11:33

    Thanks for letting us know.
    I am glad that you sorted out.

    Regards

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

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

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