Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1296415

    Hey Team,

    how to change “proceed to checkout text” In wooCommerce cart page? Like to do the same with “Checkout” in the cart icon.
    Thank you!
    Thomas

    #1296523

    Hey ThomSchu,

    Please add this code at the bottom of your child theme’s functions.php file (just change Proceed to checkout):

    function woocommerce_button_proceed_to_checkout() 
    {
    	$checkout_url = wc_get_page_permalink( 'checkout' );
    	?>
    		<a href="<?php echo $checkout_url; ?>" class="checkout-button button alt wc-forward">
    			<?php _e( 'Change this text', 'woocommerce' ); ?>
    		</a>
    	<?php
    }

    You can download and find instructions on how to use a child theme here: https://kriesi.at/documentation/enfold/child-theme/

    Best regards,
    Nikko

    #1296759

    Hey Nikko,
    I use the plugin “Snippts”. It says:
    Error on line 2: Cannot redeclare function woocommerce_button_proceed_to_checkout.

    #1296761

    Hi ThomSchu,

    Can you try to check if there’s another woocommerce_button_proceed_to_checkout function in your functions.php file?

    Best regards,
    Nikko

    #1296776

    Perfect. Works :)
    Also: When I hover abogve the chart icon (right up corner), it says “Checkout”… how can I change that

    #1296840

    Hi,

    To change the text words on your site I recommend using the Say What Plugin.

    Try adding the text you would like to replace, and your new text, and use ‘avia_framework’ as the Text Domain.

    Best regards,
    Jordan Shannon

    #1298374

    Hey Jordan,
    didn’t work. What did I do wrong?
    Original string = Checkout
    Text domain = avia_framework
    Text context
    Replacement string = Get your quote
    THX
    Thomas

    #1298450

    Hi Thomas,

    Can you try to change the text domain to woocommerce?

    Best regards,
    Nikko

    #1298541

    Hey Nikko!
    100 points. That was the correct answer.
    Again: Thank you!

    #1298549

    Hi ThomSchu,

    We’re glad that we could help :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘“Proceed to checkout text”’ is closed to new replies.