New Landing How can we help? Atelier Coupon Code

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #247738
    bioterraherbs
    Member
    Post count: 68

    Hi,

    How do I change the text currently display at the coupon box in the checkout page? Please see attached picture.

    Thanks,

    Attachments:
    You must be logged in to view attached files.
    #247753
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme:-

    <?php
     function sf_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Coupon code' :
    			$translated_text = __( 'YOUR TEXT', $domain );//Change your text
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'sf_text_strings', 20, 3 );
    ?>

    Thanks
    Mohammad

    #247758
    bioterraherbs
    Member
    Post count: 68

    Thank you Mohammad.

    One more question – how do I remove the “Shipping Calculator” section in the View My Cart page?

    Thanks

    #247767
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin > WooCommerce Settings > Shipping > Shipping Options > Shipping Calculations, do NOT click “Enable the shipping calculator on the cart page.
    Thanks
    Mohammad

    #248060
    bioterraherbs
    Member
    Post count: 68

    Hi,

    One more related question – how and where do I go to change the text appear inside the green box in the attached picture?

    Thanks,

    Attachments:
    You must be logged in to view attached files.
    #248136
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please try to use this plugin https://wordpress.org/plugins/real-time-find-and-replace/. Hope it should help to you.
    Thanks
    Mohammad

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register