Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › A few questions
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › A few questions
- This topic has 19 replies, 3 voices, and was last updated 8 years by David Martin – Support.
-
Posted in: Neighborhood
-
August 22, 2016 at 7:03 pm #288752
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
August 23, 2016 at 2:20 pm #2889301, 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.
August 23, 2016 at 2:40 pm #2889431, 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.August 24, 2016 at 4:20 pm #2892291,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.
August 26, 2016 at 10:00 am #2893961, 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.
August 29, 2016 at 10:14 am #2896211/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
August 30, 2016 at 3:23 pm #2898911,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.
August 31, 2016 at 10:32 am #2900221) 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.
September 1, 2016 at 9:25 am #290167This reply has been marked as private.September 2, 2016 at 10:06 am #290312Hi,
What is the server address for the FTP?
– David.
September 2, 2016 at 10:08 am #290313This reply has been marked as private.September 5, 2016 at 12:06 pm #290563Thanks, 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 );
September 5, 2016 at 3:29 pm #290618Great, 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.
September 5, 2016 at 3:45 pm #290625Keeping it in your child theme will be update proof.
Thanks.
September 6, 2016 at 10:50 am #290742What about the 4th question?
Thanks.
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.