Forum Replies Created
-
Did you get the email?
in reply to: Titles in emails dropping downThank you. I used the third option as it as the easiet. However, it had to be changed in the child theme.
in reply to: Change button text on Mailchimp formI just sent the email to your email address.
in reply to: Titles in emails dropping downThis reply has been marked as private.in reply to: Change button text on Mailchimp formjust updating for future reference
function wc_ninja_custom_variable_price( $price, $product ) {
// Main Price
$prices = array( $product->get_variation_price( ‘min’, true ), $product->get_variation_price( ‘max’, true ) );
$price = $prices[0] !== $prices[1] ? sprintf( __( ‘From: %1$s’, ‘woocommerce’ ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );// Sale Price
$prices = array( $product->get_variation_regular_price( ‘min’, true ), $product->get_variation_regular_price( ‘max’, true ) );
sort( $prices );
$saleprice = $prices[0] !== $prices[1] ? sprintf( __( ‘From: %1$s’, ‘woocommerce’ ), wc_price( $prices[0] ) ) : wc_price( $prices[0] );if ( $price !== $saleprice ) {
$price = ” . $saleprice . ‘ ‘ . $price . ”;
}return $price;
}
add_filter( ‘woocommerce_variable_sale_price_html’, ‘wc_ninja_custom_variable_price’, 10, 2 );
add_filter( ‘woocommerce_variable_price_html’, ‘wc_ninja_custom_variable_price’, 10, 2 );—————————————–
Just want to show the base price without the “From:”? Simply remove both instances of “From:” in the above snippet.Have something else in mind? Maybe “Starting at $x.xx”, or perhaps “From $x.xx to $x.xx”? Play around with the first snippet and see what you can come up with.
Coding taken from
in reply to: Change order of variation pricingThis reply has been marked as private.This reply has been marked as private.in reply to: Change button text on Mailchimp formThis reply has been marked as private.in reply to: Titles in emails dropping downThis reply has been marked as private.in reply to: Titles in emails dropping downThis reply has been marked as private.in reply to: Titles in emails dropping downThis reply has been marked as private.in reply to: Links in Additional InformationThis reply has been marked as private.in reply to: Woocommerce updated againThank you!
in reply to: Shipping address on cart is distortedThanks for responding. I don’t know what is going on but it’s not doing it anymore. It looks fine on IE/Edge.
in reply to: Image is huge on Internet Explorer/EdgeThis reply has been marked as private.in reply to: Shipping address on cart is distorted