Rather than displaying the attribute name I would like to display it's description. Is this possible?
function woo_specifications_product_tab_content() {
// The new tab content
global $product;
echo '<h2>Specifications</h2>';
echo $product->get_description();
echo $product->get_attribute( 'colour-code' ); ///I WANT THE COLOUR-CODE DESCRIPTION RATHER THAN THE JUST THE COLOUR CODE.
}
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745133712a4613098.html
评论列表(0条)