Home Forums Basel support forum shop attributes separator

shop attributes separator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22060

    arka
    Participant

    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.
    #22062

    Artem Temos
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)