• Resolved markelovett

    (@markelovett)


    Where can I find the Woocommerce permalink to an archive page that displays all products sharing the same attribute value?

    I set up ‘Pool Tables’ as a variable product, ‘Find Your School’ as an attribute, and all the schools are entered as attribute values.

    How can I gain access to an archive page that displays all products associated with a particular school?

    How can I link the schools under the ‘Find Your School’ menu in the main nav , at https://affinitygamerooms.marklovettstudio.com, to an archive page that displays all products associated with a particular school?

    Thanks so much!
    Mark
    [email protected]

Viewing 8 replies - 16 through 23 (of 23 total)
  • Hi Mark,

    I’m just busy setting up a test environment and realized something…

    When copying the woocommerce/templates/taxonomy-product_cat.php into your child theme folder, you need to copy that file into the /woocommerce directory within your child theme, keeping the same file structure but *removing* the /templates/ subdirectory.

    So it should be yourchildtheme/woocommerce/taxonomy-pa_find-your-school.php

    My bad! Let me know if that works!

    Thread Starter markelovett

    (@markelovett)

    I never used the template subdirectory, it is setup like this:

    yourchildtheme/woocommerce/taxonomy-pa_find-your-school.php

    Thread Starter markelovett

    (@markelovett)

    OK. I recreated the setup and the attribute archives works fine for me.

    Last thing I can add here is for you to also make sure that you’ve assigned *only the relevant* schools under *both* “Attributes” AND “Variations” at the Product Data for each product. If you have all the available schools under Attributes, and only the relevant Schools under “Variations” then it won’t work.

    Thread Starter markelovett

    (@markelovett)

    Wow that’s very encouraging Rich! But I hope it’s not my theme that’s causing a conflict. It’s really hard for me to understand what you mean. Can I email you a wp login and let you have a look at my setup?

    Thread Starter markelovett

    (@markelovett)

    Rich,

    In product data, all schools are listed as attribute values, and all schools are listed as variations as well.

    Is this wrong?

    Do I need to delete all the variations (with all the school specific products) and start over creating one variation at a time?

    Thread Starter markelovett

    (@markelovett)

    Rich,

    When I originally created the variations for the 60 schools, rather than adding them one at a time, I selected ‘Create variations from all attributes’, which created variations for 50 schools at one time. Then I ran it again, and the remaining school variations were added. Next I entered into each variation and added the specific school products.

    It seemed to make sense doing it this way, rather than adding on variation at a time.

    Did I do it wrong?

    What is the procedure you used to create your variations ?

    Thanks,
    Mark

    Hi Mark,

    Sorry about the delay, we’re in different time zones ?? Let me take a look at your setup, I sent you a mail.

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Archive page displaying all products sharing same attribute value?’ is closed to new replies.