Viewing 15 posts - 1 through 15 (of 20 total)
  • #288752
    Borisfe88
    Member
    Post count: 37

    Hi,
    I’d like to ask a few questions.

    1 – I have to edit many strings directly from the php files, the .po localization file seems not to work. Am I doing anything wrong?
    2 – I can’t translate the “Add to shopping bag” button in the product page. Which is the right file to edit?
    3 – What does the double star next to “add to bag” mean? Is it possible to enable a little popup to explain it?
    4 – Is it possible to show a bigger product thumbnail in the sidebar?
    5 – Is there a shortcode to show all the product in order to customize the “Shop” page?

    Thanks in advance.

    Best regards

    #288930
    David Martin – Support
    Moderator
    Post count: 20834

    1, 2) You do not edit the theme files, you translate the theme using these instructions: http://www.swiftideas.com/knowledgebase/translating-the-theme-using-poedit/

    3) That is the add to wishlist button.

    4) Can you add a link to where you reference?

    5) You want to show all products on a page? You can use the Page Builder “Products” asset.

    #288943
    Borisfe88
    Member
    Post count: 37

    1, 2) That’s exactly what I did, but it does not seem to work for me.

    3) You find attached a screenshot, is it normal that there are two stars instead of just one?

    4) You find attached what I mean.

    5) Yes, that’s right. Using that asset I can’t set “All the products”, I have to choose a category.

    Attachments:
    You must be logged in to view attached files.
    #289229
    David Martin – Support
    Moderator
    Post count: 20834

    1,2) Have you run through the steps correctly. That will work. Be sure the strings are not still marked as fuzzy

    3) Please add this to Theme Options => Custom CSS:

    .variations_button .yith-wcwl-add-to-wishlist {
        display: none!important;
    }

    4) Not by default no, could you share a URL?

    5) Choose not category and it will output all.

    Thanks.

    #289396
    Borisfe88
    Member
    Post count: 37

    1, 2) I did as suggested on that page, but some labels have not been translated.

    3) It worked fine.

    4) Here it is: http://morola.it/negozio/cialde/cialda-caffe-marodda-limited-edition/

    5) I have to choose one of the options: Best sellers, Latest products, Top rated, Sale products etc.

    #289621
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    1/2) Have you translated the WooCommerce language files, as well as the themes? Are you using the latest theme version? Have you reverted any manual edits you made?

    4) This seems to be a link to a holding page?

    5) Pick latest products, then set the number you want to show, there is no limit on this, this is effectively “all products”.

    – Ed

    #289891
    Borisfe88
    Member
    Post count: 37

    1,2 ) Yes to all.

    4) Do you mean the coming soon page? You just need to make the login. You should be able to see the user login details.

    5) It is ok now.

    Thanks.

    #290022
    David Martin – Support
    Moderator
    Post count: 20834

    1) Is it only “Add to shopping bag” you cannot translate? Please install and activate the supplied child theme and then add your FTP details so I can check the language files you are referencing.

    4) Please add the WP login details.

    #290167
    Borisfe88
    Member
    Post count: 37
    This reply has been marked as private.
    #290312
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    What is the server address for the FTP?

    – David.

    #290313
    Borisfe88
    Member
    Post count: 37
    This reply has been marked as private.
    #290563
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks, please open your child theme functions.php file and add this:

    	function sf_text_strings( $translated_text, $text, $domain ) {
    		//echo $translated_text;
    		switch ( $translated_text ) {
    			case 'Add to Shopping Bag' :
    			$translated_text = __( 'Aggiungere al carrello Bag', 'swiftframework' );
    			break;
    		}
    		return $translated_text;
    	}
    	add_filter( 'gettext', 'sf_text_strings', 20, 3 );
    #290618
    Borisfe88
    Member
    Post count: 37

    Great, it worked. Do I have to keep this in mind in case of updates, or you will fix it so that this change to the child theme can be deleted?

    Thank you for your kind help.

    #290625
    David Martin – Support
    Moderator
    Post count: 20834

    Keeping it in your child theme will be update proof.

    Thanks.

    #290742
    Borisfe88
    Member
    Post count: 37

    What about the 4th question?

    Thanks.

Viewing 15 posts - 1 through 15 (of 20 total)

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

License required for the following item
Login and Registration Log in · Register