shop attributes separator
-
hi, Basel is great shopping theme.
i wanna change shop attributes separator to P tag.
all attributes are shown in one P tag and separated with comma(,) but i want to separate them in new P tag.(every attributes in new line not with together).
can you help me to change the codes for this?
Thanks.
Attachments:
You must be
logged in to view attached files.
Hello,
Additional information tab and product attributes are handled by WooCommerce template files and can’t be changed in our theme scope. To change this view you may need to customize WooCommerce template files. The file the contain this code is located in woocommerce/templates/single-product/product-attributes.php
Here is a code line that displays all attribute’s values separated by comma
echo apply_filters( 'woocommerce_attribute', wpautop( wptexturize( implode( ', ', $values ) ) ), $attribute, $values );
Regards