A
A
Artem Gvozdev2020-03-11 00:08:30
WooCommerce
Artem Gvozdev, 2020-03-11 00:08:30

Woocommerce attributes?

Hey! There is an attribute in Woocommerce.
I take it out like this

<?php global $product; echo $product->get_attribute('color');?>

But attributes are displayed all and just a list of all
And how to display them in a checkbox, and each attribute term in its own? It's supposed to be a cycle, but I can't get the gist of it.

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