Code to output attributes
-
Hi there,
Quick question…
Does anybode know the code to output the product attributes on a single product page?
I’ve turned the WooCommerce Product Tabs off and am creating my own design for my single product pages. And I’d like to show the product attributes as an unordered list which shows the labels as well as the values. But only those attributes that have the checkbox “Visible on the product page” marked in the product settings.
I’m using the Kadence Theme and I’d like to this with a Kadence Element. It would be nice if the code for outputting the product attributes could be turned into a shortcode somehow. That way the shortcode can be used in a Kadence Element that displays on all single product pages on a specified location with the help of Kadendce’s Element Hooks so that all the single product pages automatically show the product attributes.
If someone knows the code that outpust the product attributes, I’d be very grateful. And I think a lot of Kadence users will be very happy with this.
Thank you in advance!
Sincerely,
Hashim
- The topic ‘Code to output attributes’ is closed to new replies.