New Landing How can we help? Themeforest Theme Support Dante Woocommerce cart page does not show page total sum and button to checkout

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Dante
  • #270838
    eusebio63
    Member
    Post count: 10

    Hi.
    I have taken offline my site for several months. It is still closed to the public.
    Now I’d like to have it online again.
    Since I’ve updated all the softwares (plugins, theme, WordPress) the woocommerce cart page does not show
    page total sum and button to proceed to checkout.
    You may see the attached screenshot.

    Any help?
    Thanks.
    Piero

    WooCommerce Version 2.5.5 (all the templates used are the last ones)

    Attachments:
    You must be logged in to view attached files.
    #270845
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Do you have any modifications in your child theme? If so try to activate the parent theme to check if it’s not from the child theme.

    Also purge the cache from W3total cache.

    -Rui

    #270872
    eusebio63
    Member
    Post count: 10

    Hi, Rui.
    Many thanks.
    Now the page shows the total sum and the other stuff.
    And the child theme? Can I not use it for ever?

    However some words are in english as you can see in tha attached screenshot:
    Cart Totals
    Cart subtotal
    Order total
    Apply Code
    Update Cart.
    As all the other terms are regularly translated, I don’t know where is the solution.
    I’m waiting for your thought and thank you again.

    -Piero

    Attachments:
    You must be logged in to view attached files.
    #271191
    eusebio63
    Member
    Post count: 10

    Hi guys.
    Any news?
    Thanks.

    Piero

    #271213
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this plugin https://wordpress.org/plugins/real-time-find-and-replace/ for untranslated texts.
    Thanks
    Mohammad

    #271216
    eusebio63
    Member
    Post count: 10

    Hi, Mohammad.
    I tried that plugin yesterday (I had read about it in other thread on similar topic) but it did not work.
    Now I have hardcoded the cart-totals.php and cart.php files.
    I know I’ll have to replace the modified rows when there will be an update.
    Thank you.

    Piero

    #271255
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me equivalent translations of given below text. I will give you some easy code to resolve it.

    Cart Totals
    Cart subtotal
    Order total
    Apply Code
    Update Cart.

    Thanks
    Mohammad

    #271493
    eusebio63
    Member
    Post count: 10

    Hi, Mohammad.

    These are the translations:

    Cart Totals Totale Carrello
    Cart subtotal Subtotale carrello
    Order total Totale ordine
    Apply Code Applica il codice promozionale
    Update Cart Aggiorna carrello

    Thanks.

    -Piero

    #271562
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

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

    function sf_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Cart Totals' :
    			$translated_text = __( 'Totale Carrello', $domain );
    			break;
                   case 'Cart subtotal' :
    			$translated_text = __( 'Subtotale carrello', $domain );
    			break;
                   case 'Order total' :
    			$translated_text = __( 'Totale ordine', $domain );
    			break;
                   case 'Apply Code' :
    			$translated_text = __( 'Applica il codice promozionale', $domain );
    			break;
                   case 'Update Cart' :
    			$translated_text = __( 'Aggiorna carrello', $domain );
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'sf_text_strings', 20, 3 );

    Thanks
    Mohammad

Viewing 9 posts - 1 through 9 (of 9 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