This topic has 7 replies, 2 voices, and was last updated 3 years, 1 months ago ago by Bas Kling
Hi,
I see that Xstore now offers the option to show the minimum price for variable products only.
Hope you can help me: I’m looking for the string or class that displays the word “From” (in Dutch: ‘Vanaf’). Showing the minimum price only, I want to hide the word Vanaf: https://i.imgur.com/nNy2ISc.png
Hello,
Go to translation of the theme, and change the Vanaf word to empty space
Regards
Is there another viable option other than mis-using the translation file? This is not something that will come up when we need to troubleshoot a related issue in the future
try this
add_action( ‘wp’, ‘etheme_template_custom_hooks’, 60 );
function etheme_template_custom_hooks() {
if ( etheme_get_option(‘product_variable_price_from’, false)) {
add_filter( ‘woocommerce_format_price_range’, function ( $price, $from, $to ) {
return wc_price( $from );
}, 20, 3 );
}
}
xstore-child/functions.php
Regards
Doesn’t seem to work
Provide URL, temporary wp-admin and FTP access.
Regards
Realizing that the issue/request is beyond Xstore’s basic support, we’ve given this as an assignment to our developer. But thanks for wanting to resolve this for us.
Regards,
The issue related to '‘Trying to delete the word “From” in “From price”’' has been successfully resolved, and the topic is now closed for further responses