Support » Plugin: WooCommerce Show Attributes » Turn off attribute links

  • It works well, I like the plugin, but is there a way to stop the attributes appearing as links to the product on the shop pages? I just need them as plain text… Thanks

Viewing 1 replies (of 1 total)
  • it doesn’t look like the dev answers support requests much anymore, so if you want to do this yourself –

    ATTRIBUTES ABOVE THE PRICE insert the following second line into woocommerce-show-attributes/woocommerce-show-attributes.php:

    if ( $out_middle ) {
    $out = '</a>';
    $out .= ('li' == $element) ? '<ul ' : '<span ';

    ATTRIBUTES BELOW THE PRICE:
    In woocommerce/templates/loop/price.php
    Put a </a> above <span class="price">

Viewing 1 replies (of 1 total)
  • The topic ‘Turn off attribute links’ is closed to new replies.