• Resolved white-tiger

    (@ddoscomputers)


    hello guys.
    i have an e-commerce for selling computers.
    currentley i have 1200 products in store, all from one importer, and in the next months i’ll import more products from more importers.
    the products imported to side using python scrapper. it scainng the importer site, take all the data, then put it all in my site.
    the problem is, i created filters to help customers find products. but the list of values to filter is very long and make it useless. for example:
    in CPU filter, there should be the folowing options – i3, i5 and i7. instead, we countless models like i3-1035u, i3-1135u, i3-8010u etc.
    the customer will not going on all the list and check every separate model of i3 just for filtering i3. it should be all values of i3 grouped as ‘i3’ checkbox.
    it sounds simple and trivial problem, but after days of research i can’t find any way to group values of attributes to filter them as one value.
    please help me if you have any advice.
    tnx!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there,

    Just to confirm, the actual attributes on the products in the original site and the imported site have the full model number (i.e. the attribute on original and imported product is i3-1035u, not just i3) — is that correct?

    If so, and you wanted to use the WooCommerce attribute filtering, then you would need to add a separate attribute with an i3 term to all the different i3 models, then filter by that instead. The easiest way to bulk update the products would be to use the built-in export/import functionality to edit them in a CSV file, then re-import them to update:
    https://docs.woocommerce.com/document/product-csv-importer-exporter/

    Thread Starter white-tiger

    (@ddoscomputers)

    hi. tnx a lot for your replay.
    if i’ll add this attributes for filtering, for example – i3 attribute, and i’ll make it invisible to the visitors. it will still be filtered?
    the reason i asking is becouse i need to do the same foe CPU, GPU, RAM. color, OS and hard drive, and i don’t want all that mess in attributes table.
    if i can add this attributes only for filtering purpose, and make them unvisible, it will be better.
    also, this solution require coding, becouse as i told, there is lot of products that imported and sync every hour. so i can’t do it manually even with woocommerce importer.
    if i can just make a ‘rule’ for filtering, that group all i3 models into i3, and all i5 modles into i5, it will be the best and simplest way to solve it.

    last word: i thought maybe create filter that based on text search. then when visitor will click on ‘i3’, it actually will show him results based on text search. it’s good idea, but i can’t find any way to make the search filtering looks like attributes filtering, without a typing box.
    tnx!

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @ddoscomputers,

    if i’ll add this attributes for filtering, for example – i3 attribute, and i’ll make it invisible to the visitors. it will still be filtered?

    Yes, the attributes should work in filters.

    if i can just make a ‘rule’ for filtering, that group all i3 models into i3, and all i5 modles into i5, it will be the best and simplest way to solve it.

    Just to ask, would Categories be more viable instead?

    Here’s a documentation on Categories – https://docs.woocommerce.com/document/managing-product-taxonomies/#section-1
    Here’s an explanation of a Widget you can use to filter products by categories – https://docs.woocommerce.com/document/woocommerce-product-search/widgets/product-filter-categories/

    i thought maybe create filter that based on text search. then when visitor will click on ‘i3’, it actually will show him results based on text search.

    Have you considered using the inbuilt Product Filter Search?

    Alternatively, you can use more advanced product filters like:
    * https://woocommerce.com/products/woocommerce-product-search/
    * https://www.ads-software.com/plugins/woocommerce-products-filter/

    Let us know if the above would work for you.
    Thanks.

    Thread Starter white-tiger

    (@ddoscomputers)

    hi tnx a lot for helping me.
    in the end i just created a new categories for all values that i need, and add them at ones with yith bulk edit plugin.
    for example: i created new category called ‘i3’, then i add al products with i3 to it with the plugin.
    i’ll do the same to i5 and i7 etc. and also to screen sizes, hard drive sizes, colors etc.

    the last quation is if i can create multiple categories filters, so when i choose ‘laptop’ and then ‘i3’, it will show only laptops with i3 and not all computers in i3 category.
    if you know how to do that please tell me.

    tnx again!

    Thread Starter white-tiger

    (@ddoscomputers)

    ok i finally solve it, and i want to share everyone that facing the same situation.
    step 1: i created a new attribute called ‘filtering’. this attribute is invisible for users, and use only for filtering.

    step 2: i created values for this attributes, for all options that i need to be exist in filters. for example: i3, i5, i7, i9, 256GB, 512GB, 1TB, 14, 15.6 etc.

    step 3: i used yith bulk editor plugin to add this values to maches products. so all computers with i3 have now ‘i3’ value inside ‘filtering’ attribute, and if they also 14 inches size, they have also ’14’ value inside this attribute. (you can create few filtering attributes to make it more clear, but it dosn’t matter).

    step 4: i used berocket filtring plugin to create filters for the store, based on values inside ‘filtering’ attribute. the attribute not visible to visitors, so it works perfect without making mess in specs table.

    i hope it will help someone in the future, becouse for me it was a really difficult proccess to find it out. it’s almost drive me crazy, but then i finally set it up and everything is fine.

    Plugin Support kellymetal a11n

    (@kellymetal)

    Hi there @ddoscomputers,

    Thank you for replying here with the solution that worked for you! I’m glad to hear you were able to find a method that met your needs, and hopefully your reply will be helpful to other site owners in the WordPress/WooCommerce community.

    I’m going to mark this thread as resolved. If you have any further questions, please start a new thread.

    Have a wonderful day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘group values inside product attributes’ is closed to new replies.