Forum Replies Created
-
AuthorPosts
-
April 10, 2021 at 12:01 pm in reply to: Button Title on Shortcode not changing on Product Page #1293627
Yes all good now! Thanks
April 8, 2021 at 4:15 pm in reply to: Change default text Woocomerce Product Button / Back To Shop #1293314Hi there,
thanks for your answer.
regarding point 1 and 2, ok I’ll try to look it online to find some explanation.
Regarding point 3 of our question, we found a way by adding rule below to functions.php in our child theme. Where you can use instead ” A partire da” (line 2) anything you want.
Cheers
`// WooCommerce price for variable products with no range
function rox_varb_price_range( $wcv_price, $product ) {$prefix = sprintf(‘%s: ‘, __(‘A partire da:’, ‘wooprice_norange’));
$wcv_reg_min_price = $product->get_variation_regular_price( ‘min’, true );
$wcv_min_sale_price = $product->get_variation_sale_price( ‘min’, true );
$wcv_max_price = $product->get_variation_price( ‘max’, true );
$wcv_min_price = $product->get_variation_price( ‘min’, true );$wcv_price = ( $wcv_min_sale_price == $wcv_reg_min_price ) ?
wc_price( $wcv_reg_min_price ) :
‘‘ . wc_price( $wcv_reg_min_price ) . ‘‘ . ‘<ins>’ . wc_price( $wcv_min_sale_price ) . ‘</ins>’;return ( $wcv_min_price == $wcv_max_price ) ?
$wcv_price :
sprintf(‘%s%s’, $prefix, $wcv_price);
}add_filter( ‘woocommerce_variable_sale_price_html’, ‘rox_varb_price_range’, 10, 2 );
add_filter( ‘woocommerce_variable_price_html’, ‘rox_varb_price_range’, 10, 2 );April 8, 2021 at 4:11 pm in reply to: Button Title on Shortcode not changing on Product Page #1293311Hi there, we have actually sorted this out. As we wanted to add a word with apostrophe inside the button “Ritorno all ‘orto”, the system didn’t see the change. By not adding the apostrophe ‘, everything works fine.
CheersJust for information for the community. We found a plugin that seems to match quite nicely with Enfold regarding the quick view in woocommerce: https://wordpress.org/plugins/quick-view-woocommerce/ Pro Version.
Best ;)This reply has been marked as private.This reply has been marked as private. -
AuthorPosts