Add status filter to hide products out of stock

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

  • Avatar: filiphdan
    filiphdan
    Participant
    November 22, 2022 at 11:04

    Hello,

    I have found that you can add a status filter so the user can opt to not show products out of stock, like this:

    https://prnt.sc/RdDCOpGVHFQf

    Were can i set the options to use this on my website?

    Thank you!

    9 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2022 at 11:31

    Hello,

    Theme Options > General > Enable Classic Widgets Panel > On. Then go to Appearance > Widgets > add the Status widget into the Shop sidebar area

    Regards

    Avatar: filiphdan
    filiphdan
    Participant
    November 22, 2022 at 13:35

    Thank you, its working, just one small change, is it possible to rename the word filters to stock:

    https://prnt.sc/m9vOKEJ2wKR8

    Thanks for the help

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2022 at 13:55

    This text comes from XStore, there is no option to change it, so you can use translation files to change it. Install and activate Loco Translate plugin > create a translation for the theme > change English text and disable the Loco plugin https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/
    When you will need to change the text back, activate the Loco plugin and do this, or just delete translation files.

    Regards

    Avatar: filiphdan
    filiphdan
    Participant
    November 22, 2022 at 14:54

    I use wpml for translating, but i cant find were to change the filters word, i tried searching in the wpml string translation but could not find it, do you know how can i locate the word to translate it?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2022 at 15:05

    Hello,

    WPML > Theme and plugins localization > Strings in the themes and Strings in the plugins > scan XStore theme and Core plugin, then find and translate strings via String Translation.
    If this doesn’t help, contact support of WPML plugin.

    Regards

    Avatar: filiphdan
    filiphdan
    Participant
    November 22, 2022 at 15:27

    Perfect, thank you!

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2022 at 15:37

    Hello,

    If you do not mind, can you please leave 5 stars rating for our Theme & Customer and Technical Support by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in the future. It would encourage our work a lot. If you like our Theme and Support.

    Regards

    Avatar: filiphdan
    filiphdan
    Participant
    November 22, 2022 at 16:05

    Done!?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 22, 2022 at 16:07

    Thank you!

    Regards

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

The issue related to '‘Add status filter to hide products out of stock’' 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.