yarintosh
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Change Billing & Shipping titleHey, it’s still showing Billing & Shipping instead of Shipping Details
Forum: Plugins
In reply to: [WooCommerce] Change Billing & Shipping title//Change the 'Billing & Shipping details' checkout label to 'Contact Information' function wc_billing_field_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Billing & Shipping details' : $translated_text = __( 'Shipping Details', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 );
Like this? I’m not sure it’s correct
- This reply was modified 3 years, 11 months ago by yarintosh.
Forum: Plugins
In reply to: [WooCommerce] Change Billing & Shipping titleHi of course but that’s not what I’ve been asking…
If I’m using that option then the code I’ve added here will not change the title of the Billing section.
Forum: Plugins
In reply to: [WooCommerce] Change Billing & Shipping titleI’ve found this code that works perfectly but it only works when using the Default to Billing address option which leaves the “Ship to a different address?” option on the checkout page.
//Change the 'Billing details' checkout label to 'Contact Information' function wc_billing_field_strings( $translated_text, $text, $domain ) { switch ( $translated_text ) { case 'Billing details' : $translated_text = __( 'Shipping Details', 'woocommerce' ); break; } return $translated_text; } add_filter( 'gettext', 'wc_billing_field_strings', 20, 3 );
What is the correct code that I need when using “Force shipping to the customer billing address” ?
It shows pretty much the same results no matter how many re tests I do.
?
Forum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text sizeYou are absolutely right!
Thank you so much it’s working now.Can you help me with one more question?
I’ve added a trust seal badge image under the add to cart using this codeadd_action( 'woocommerce_after_add_to_cart_button', 'show_content_after_add_to_cart' ); function show_content_after_add_to_cart() { echo "<img src='https://www.barillio-barware.com/wp-content/uploads/2020/10/11597194742ijzqyqdtyc-removebg-preview-6.png' >"; }
How can I do the same for the checkout page?
Forum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text sizeadd_action( 'woocommerce_after_add_to_cart_button', 'add_content_after_addtocart_button_func' ); function add_content_after_addtocart_button_func() { // Echo content. echo '<div class="second_content" style="font-size: 14px; line-height: 1.2; font-weight: 600; margin: 1rem 0;>Free and fast shipping, 24 hour customer service, Lifetime warranty and easy returns</div>'; } add_action( 'woocommerce_after_add_to_cart_button', 'show_content_after_add_to_cart' ); function show_content_after_add_to_cart() { echo "<img src='https://www.barillio-barware.com/wp-content/uploads/2020/10/11597194742ijzqyqdtyc-removebg-preview-6.png' >"; }
- This reply was modified 4 years, 1 month ago by yarintosh.
Forum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text size?
Forum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text sizeThanks!
Tried to add it but it messed up the whole page and made the text also disappear, added exactly where you said, any idea why?
Screenshot:
https://pasteboard.co/JwwHFCe.pngForum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text sizeWhere should I add it exactly?
Forum: Plugins
In reply to: [WooCommerce] Change after Add To Cart button text sizeWhat URL do you need?
This is an example for product page
https://www.barillio-barware.com/product/silver-bartender-kit/
I want the text to have a bit of margin from the button itself and also reduce the font size a bit and make it bold.
The piece from before I’ve added to functions.php
- This reply was modified 4 years, 1 month ago by yarintosh.
OK Thanks
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Plugin brakes product pageOk..
Is there a way to decide the video position? or is it always the last on the gallery?
Forum: Plugins
In reply to: [Product Video Gallery for Woocommerce] Plugin brakes product pageThe gallery is above the headline should it supposed to be like that?