P
P
pozharsky2017-08-10 15:02:14
WooCommerce
pozharsky, 2017-08-10 15:02:14

WooCommerece how to implement output by attribute?

Good afternoon. I can't implement product output by attribute on a separate WP page.
What I use:
add_theme_support( 'woocommerce' );
(in functions.php)
Shortcode in the text field of the page:

[product_attribute attribute="for-brick" per_page="12" columns="4" orderby="title" order="asc"]

That is, I have a product with the "for-brick" attribute (the "for-brick" slug) for which I want to display on the page in the given orders and quantities. But absolutely nothing works.
I will be glad to any advice.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question