Numerice range won't work as you suspect, and for search not need to do
that. You can simply tag a feature with "> 1000" and "< 1000" as string.
You can use category or feature or even atrribute. And once search is
enable of that feature then you simply need show the tagged products. Which
can be done by all routes, the catalog manager or product creation code
needs to make sure all products tagged properly.

In this way no custom code would be required. HTH!

Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Tue, Aug 11, 2020 at 6:33 PM Jason RJ <[email protected]> wrote:

> Hi Randy
>
> We have done something similar but using Product Features to drive the
> dropdown and Product Variants for each type, this supports search as
> expected too since features are added to search criteria as product
> keywords. Turning on layered navigation and creating custom filters in
> LayeredNavBar.ftl gives you a filter list, it might be possible to build
> a range filter that way.
>
> Jason
>
>
> On 10/08/2020 15:15, Jacques Le Roux wrote:
> > Hi Randy,
> >
> > I think this is what you are looking for
> > https://markmail.org/message/c5kxv6snztxwqwxk
> >
> > HTH
> >
> > Jacques
> >
> > Le 07/08/2020 à 22:29, Randy Evans a écrit :
> >> I am evaluating OFBiz and have set up a test instance.
> >>
> >> I am trying to enter a product that I need to add some data, one of
> >> which is numeric and the other should be selectable from a dropdown
> >> list.
> >>
> >> An example of this would be resistors which have a footprint and would
> >> be selectable from a dropdown list like "throughole","0603", "0402"
> >>
> >> The other data would be keyed in as a numeric value (the resistance).
> >>
> >> I would need to be able to search for a specific product like
> >> "throughole" and a range for the resistance like ">1000 and <10000"
> >> for example.  In "Find Product" there is an advanced search but I'm
> >> not sure you can search for Attributes.
> >>
> >> It looks like CATALOG MANAGER/Products/Attributes may be what I am
> >> looking for but it is not clear if I can specify a numeric value only
> >> and also if I can set up a dropdown list.
> >>
> >>
> >>
> >> Is this type of entry and search possible with OFBiz (without custom
> >> programming)?
> >>
> >> Thanks for any information.
> >
>

Reply via email to