• So when I click the ‘Add to Cart’ button (which now really says ‘Add to Order’ because of your great plugin) immediately the link/button ‘View Cart’ shows up. How can I change this to say View Order?

Viewing 1 replies (of 1 total)
  • Hi @alanmuscat,

    I am really sorry for such a late reply.

    Just to be certain, are you referring to the “add to car” notice? Then it would not be possible to change “View cart” text with our plugin. However, you can change it with custom PHP code. You would need to paste the following code in your theme’s functions.php file:

    add_filter( 'gettext', function( $custom_text) {
    
    ? ? if ( 'View cart' === $custom_text ) {
    
    ? ? ? ? $custom_text = 'View order';
    
    ? ? }
    
    ? ? return $custom_text ;
    
    } );

    Please give it a try.

    Kind regards,
    Moshtafizur

Viewing 1 replies (of 1 total)
  • The topic ‘View Cart needs changing too’ is closed to new replies.