Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
January 19, 2017 at 10:41 am in reply to: Variable product title in shopping cart drop-down menu #310729
Hi!
Got a fix from WPML support. Had to change wp-content/themes/uplift/swift-framework/core/sf-woocommerce.php
Changed line no. 614 from:
$product_title = $_product->get_title();
TO
$product_title = apply_filters( ‘woocommerce_cart_item_name’, $_product->get_title(), $cart_item, $cart_item_key );It seems to work on staging site, but I haven’t applied it to the live site yet.
Might the issue reappear after future Swift Framework updates?Thank you.
HenriJanuary 8, 2017 at 9:42 am in reply to: Variable product title in shopping cart drop-down menu #309220Hi!
Seems that WPML String Translation is causing this once again.
Thanks!
HenriDecember 22, 2016 at 2:24 am in reply to: Variable product title in shopping cart drop-down menu #307716Hi!
I updated the theme to 1.3.20, but the title is still displayed as before.
Thank you!
Hi!
I wanted to let you know, that this issue is fixed.
Ankit from WPML support fixed it with these steps:
1. I’ve investigated the issue and it seems that somehow this is happening because of database conflict or improper update. However, deleting one record from *_icl_strings (id=57) and one record from *_icl_string_translations (string_id=57) table resolves the issue and make everything work again.
2. Another change is copying wpml-config.xml file from parent theme to child theme and deleting it from parent theme.Hope it helps, if someone might have the same issue.
Thank you guys!
HenriHi!
Will do and let you know, what they answer.
Henri
Hi, David!
It’s caused by WPML String Translation.
When it’s deactivated, I can change and delete mobile top bar text without problems.Few more things I noticed:
1) If I deactivate wpml string translation and delete mobile top bar text, it’s gone from everywhere and doesn’t reappear, perfect.
2) When I re-activate string translation, then the “old text” is automatically displayed only on default language pages (English) and is also filled in in Mobile Header Options > Mobile Top Bar Text. When though I changed or deleted the text, while string translation was deactivated.
3) Once I open any Theme Options (General, Color, Header, Mobile Header Options or anything) and click Save Changes (even without making any changes), the mobile top bar text is displayed on all pages in all languages. Probably because the mobile top bar text gets filled in with the old text, if string translation is activated again.So for now, if I avoid saving any theme options, after string translation is deactivated, mobile top bar text deleted and string translation re-activated, the old mobile top bar text shows up only on default language (English) pages.
Hope there’s some solution for that. As I mentioned, the “big screen” left and right top bars are working perfectly with WPML.
With my close to zero knowledge in programming, my wild guess is the desktop and mobile top bar function in quite similar ways.Thanks a lot! 🙂
HenriHi!
From WPML translation management it looks like it should be translatable with string translations (like the “big screen” top bar).
In string translations the mobile top bar string is still missing after several theme localization tries. I added some screenshots.Do you mean with separate options, if I change the “Showing content in: English/Estonian” in admin top bar? I’ve tried deleting the text in both English and Estonian view, but it just keeps coming back.
If it’s not possible to translate the mobile top bar text at the moment, that’s OK, I can use promo bars or some other ways.
But I would like to be able to delete the mobile top bar text from all the pages.Thanks again!
HenriAttachments:
You must be logged in to view attached files.Hi, David!
The “Free shipping on orders over 20€” text still keeps coming back to mobile top bar.
I noticed that when I delete the whole mobile top bar text in Theme Options, save changes and won’t refresh or leave the Theme Options page, then the mobile top text gets removed from pages in Estonian only (pages starting with krutstravel.com/et/). All English pages (krutstravel.com/) still have the mobile top bar text.
Once I refresh the Theme Options page or leave to Dashboard or anywhere else in admin, then all the pages in all languages show the same same “Free shipping…” text. When going back to Theme Options, the old text is there again.
I left autoptimizer and WP Super Cache deactivated.
Hope you can take another look at it.
Thanks!
HenriDone.
Thanks
Hi, David!
Disabled them.Thank you
HenriNovember 2, 2016 at 10:58 pm in reply to: Single product page images not displayed automatically #300125Hi!
Yes, works perfect!
Thank you very much.
HenriNovember 1, 2016 at 1:02 pm in reply to: Single product page images not displayed automatically #299794Plugins deactivated, besides Swift Framework and WooCommerce.
The previous link might not work without wpml.
Shop page:www.krutstravel.com/pood
Product pages for example:
http://www.krutstravel.com/pood/keelekaardid-indoneesia
http://www.krutstravel.com/pood/language-cards-indonesianThanks
November 1, 2016 at 12:05 am in reply to: Single product page images not displayed automatically #299713Hi!
Sure. At the moment some banks might be checking the site to approve additional payment methods and we seem to have ca 10 hour time difference.
Can you please give me heads up, when you guys are back at the office and I’ll be ready to switch off other plugins.Thanks
HenriHi!
Just to let you know, that for me the code worked in theme’s custom css also.All the best
HenriIT WORKS!
Thank you so much and big applause!
Henri -
Posted in: We hit Power Elite.