I found a plug-in in the code where the displayed “Select Options”
Where should I insert the code icons?
<I class = "sf-icon-variable-options"> </ i>
That’s part of the code
/** Frontend methods ******************************************************/
/**
* Modify the 'add to cart' url for pricing calculator products to simply link to
* the product page, just like a variable product. This is because the
* customer must supply whatever product measurements they require.
*
* @since 3.3
* @param string $tag the 'add to cart' button tag html
* @param WC_Product $product the product
* @return string the Add to Cart tag
*/
public function loop_add_to_cart_link( $tag, $product ) {
if ( WC_Price_Calculator_Product::pricing_calculator_enabled( $product ) ) {
// otherwise, for simple type products, the page javascript would take over and
// try to do an ajax add-to-cart, when really we need the customer to visit the
// product page to supply whatever input fields they require
$tag = sprintf( '<a href="%s" rel="nofollow" data-product_id="%s" data-product_sku="%s" class="button add_to_cart_button product_type_%s">%s</a>',
get_permalink( $product->id ),
esc_attr( $product->id ),
esc_attr( $product->get_sku() ),
'variable',
__( 'Select Options', WC_Measurement_Price_Calculator::TEXT_DOMAIN )
);
}
return $tag;
}
}