2

Product Filters Element search button settings

  • Done

Avatar
welead

Hello!
I want to set the search button of the Product Filters Element. When no search item is selected, click the search button to display “you must select an item to search” to prevent the page from going to the search page.
Or how to do it? When no search condition is selected, click the search button to display the page of “can’t search for products” or make the search button click without any response, or each condition can be set as a mandatory field, click search you will be prompted to select the required fields.
Thanks.

A

Activity Newest / Oldest

Avatar

Jack Richardson

Status changed to: Done

Avatar

Jack Richardson

Hello @welead,
Sorry for the delay in answering !
It is impossible to do such "required fields" in simple way but possible to make it as option, I guess.
What do you think if we add kinda "required field" option -> prnt.sc/HPrbrwtzFKpT ? If this switcher is active for item then this item will get "star" char (that shows this field is required)
and will be parsed by JS code for having selected value or not.

Waiting for your reply on our idea !

Kind regards, Jack Richardson


  • Avatar
Avatar

welead

Thanks for the reply,
this method can solve the problem that bothered me!
Thanks for your help!


  • Avatar
Avatar

Jack Richardson

Hello everyone,

Recently, we introduced new update and this improve is already included inside the update package :)

All sweet features we built you may check here -> xstore.8theme.com/update-history/

Regards, Jack Richardson


Avatar

welead

Or how to do it? When no search condition is selected, click the search button to display the page of “can’t search for products” or make the search button click without any response, or each condition can be set as a mandatory field, click search you will be prompted to select the required fields.