• Resolved Tsakman

    (@tsakman)


    Hello.
    Is it possible somehow to do this?
    I have phones(products) with battery capacity attributes for example.
    The 1st has 5000mAh battery
    The 2nd has 3000mAh battery.
    The 3rd has 35000mAh battery etc.

    This is the filter(attribute) i am having now in my sidebar
    Battery capacity
    3000(1)
    3500(1)
    4000(1)
    5000(1)

    But i want if its possible an attribute like this(grouped filters or range filters)

    upto5000(4)

    or 3000-5000(4)

    or

    atleast3000(4)

    I cant find any plugin to do that or somehow to do this through woocommerce.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @tsakman! Attributes are not typically stored as “numbers” in a technical sense, meaning that if you save attribute values as “1,” “2,” and “3,” for example, the system doesn’t realize that these are numbers that can be compared. As such, you would likely need some sort of specialized plugin to allow you to both save attributes as numbers and then filter them using operations that would only make sense for numbers (e.g., less than, greater than, between x and y, etc.). I don’t know of any plugins that would allow for this, but I’ll leave the thread open in case others can chime in.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Group attributes’ is closed to new replies.