• Resolved fbastih

    (@fbastih)


    Hello,

    I have made a CSV product list to import. Everything works fine and the products all get imported with the attributes etc. (in my case, sizes). But now i need customers to be able to filter on these sizes.

    I know this works by adding it to attributes and making a widget in shop customizer etc. but this actually only works if you add a product and then manually add a attribute afterwards.

    I need this to work the other way around, so i first import the products with attributes and then make it into a filter option.

    If someone can advise me it will be very much apreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @fbastih,

    When creating your size attributes create those from Product > Attributes on your site. Once created those attributes can be assigned to all products that require them and will be available within the Filter Products by Attribute widget regardless of whether the product is manually created or imported.

    I hope this helps.

    Thread Starter fbastih

    (@fbastih)

    Hi @stuartduff

    Thank you for your input.

    I fixed it on my own, i saw your input afterwards.

    What i did:

    the CSV file contains attribute 1, attribute property 1, visible attribute 1, global attribute 1. in attribute 1 are the variatons wich the customer can choose from.

    i wante attributes witch they could filter, but not choose as a product variation.

    so I added to the variable row: attribute 2, attribute property 2 and so on..
    in the attribute 2 i added the filter options, and put the global attribute 2 at 1 and the visible attribute 2 at 0.

    picture of CSV file: https://ibb.co/1GB7YwK

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom attribute filter with CSV import’ is closed to new replies.