Woocommerce attribute problem
-
Hi,
Recently i read your this post below.
Post- https://www.skyverge.com/blog/change-woocommerce-additional-information-tab/Now I need a help. When I add this code on my function.php file, it replace comma(, ) between two term of attribute. And it applied to my all attributes. But I want to apply it to some specific attributes. How can I do it? Help me…..
Applied codes:
function skyverge_change_attribute_list_display( $output, $attributes, $values ) {
return wpautop( wptexturize( implode( ‘<br />’, $values ) ) );
}
add_filter( ‘woocommerce_attribute’, ‘skyverge_change_attribute_list_display’, 10, 3 );
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Woocommerce attribute problem’ is closed to new replies.