
appeltaartj(@appeltaartj)
2 Posts
Customers
Quote from appeltaartj on June 2, 2020, 19:59
I have 50 products which all contain the 'size' variation. Now I want to make a page that will display all products with size 100x50cm. 3 products do have this size variation.
So there will be 3 products visible. But how do I make a shortcode so that those products with size 100x50cm will have a URL that will point to the right size?
Something like this:
https://domain.com/product/product1/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product2/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product3/?attribute_pa_size=100-x-50-cm
What kind of shortcode do I need to use to show only the products that have that size with the size URL?
I have 50 products which all contain the 'size' variation. Now I want to make a page that will display all products with size 100x50cm. 3 products do have this size variation.
So there will be 3 products visible. But how do I make a shortcode so that those products with size 100x50cm will have a URL that will point to the right size?
Something like this:
https://domain.com/product/product1/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product2/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product3/?attribute_pa_size=100-x-50-cm
What kind of shortcode do I need to use to show only the products that have that size with the size URL?

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 3, 2020, 10:34
Hello
Please read this - https://products-filter.com/documentation/#section_3_2
[woof_products taxonomies=pa_size:X ] where X is ID of 100-x-50-cm
Hello
Please read this - https://products-filter.com/documentation/#section_3_2
[woof_products taxonomies=pa_size:X ] where X is ID of 100-x-50-cm

appeltaartj(@appeltaartj)
2 PostsTopic Author
Customers
Quote from appeltaartj on June 3, 2020, 11:08
Hi, thanks for your reply!
Yes I read the documentation before making this topic, but could not find how to directly link to the variation.
[woof_products taxonomies=pa_size:63] will show all products that have size "100 x 150 cm", but it will contain only links to the main product, like this:
https://domain.com/product/product1/
https://domain.com/product/product2/
https://domain.com/product/product3/
Is there a shortcode that can show all product variations and link directly to the variation? So that all products that are displaying do have URL's like this:
https://domain.com/product/product1/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product2/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product3/?attribute_pa_size=100-x-50-cm
Hi, thanks for your reply!
Yes I read the documentation before making this topic, but could not find how to directly link to the variation.
[woof_products taxonomies=pa_size:63] will show all products that have size"100 x 150 cm", but it will contain only links to the main product, like this:
https://domain.com/product/product1/
https://domain.com/product/product2/
https://domain.com/product/product3/
Is there a shortcode that can show all product variations and link directly to the variation? So that all products that are displaying do have URL's like this:
https://domain.com/product/product1/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product2/?attribute_pa_size=100-x-50-cm
https://domain.com/product/product3/?attribute_pa_size=100-x-50-cm

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on June 4, 2020, 13:59
Hello
My plugin does not affect the product template and cannot change variations
Hello
My plugin does not affect the product template and cannot change variations