Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › http://es.woo.floraqueen.net/enviar-flores/esplendor-de-girasoles
New Landing › How can we help? › Cardinal › http://es.woo.floraqueen.net/enviar-flores/esplendor-de-girasoles
- This topic has 23 replies, 2 voices, and was last updated 10 years by Swift Ideas – Ed.
-
Posted in: Cardinal
-
July 8, 2014 at 8:28 am #88870
I’ll keep you posted…
Can you reply to my previous comment in this issue:
Following up on the product descriptions.
https://www.evernote.com/shard/s21/sh/160cb7cb-4ca8-4e5f-86c4-a78e56f865cd/6d2b744634b8a2ab7f43bd03b3a41fd3So it’s not possible to translate this text?
This is just the text that would normally appear in the tabs, show as an accordion, right?.The default product short description meta box shows whatever I have put in the main content box, in this case the page builder widget areas.
https://www.evernote.com/shard/s21/sh/23fd6281-8843-49e0-ba3a-7b3f23e13c42/b88474923786c494e912e35aa9910824If I use this box no descriptions appear next to the product at all.
I am still not sure on the best way to set this up…
July 8, 2014 at 9:04 am #88881update from WPML…
Got the feedback from our developers now..
# In short:
Not having the Media Attachment controls in post-edit screens for Woocommerce products is supposed to be like that.# Details:
Posts of type “product” are handled differently then “normal” posts.
Images are always duplicated and product meta fields as well. Since they are always duplicated we use hidden input fields where the option is set to true always.# In the code..
language_options() is the method responsible to display the media controls.In plugin “Woocommerce-Multilingual” however we have:
function remove_language_options(){ global $WPML_media,$typenow; if(defined('WPML_MEDIA_VERSION') && $typenow == 'product'){ remove_action('icl_post_languages_options_after',array($WPML_media,'language_options')); echo '<input name="icl_duplicate_attachments" type="hidden" value="1" />'; echo '<input name="icl_duplicate_featured_image" type="hidden" value="1" />'; } } Line 4: the media controls are removed, when $typenow is "product".
Before the fix they gave was
WPML > Languages > Additional CSS:
.flex-viewport, .flex-active-slide, .slides { min-height: 480px !important; }
But that doesn’t work now I have updated to cardinal…
July 8, 2014 at 2:10 pm #89034Ok, found a solution to the translation of product meta descriptions.
Now I an edit the page builder and product meta on the product edit screen. And choose to edit all other data via the woocommerce multilingual tool.
Now just need to fix the image issue.
Do you know what custom css I can use? This example worked in Dante, but not in carnival:
WPML > Languages > Additional CSS:.flex-viewport, .flex-active-slide, .slides { min-height: 480px !important; }
July 8, 2014 at 2:12 pm #89035@Pothe – hmm. that fix they gave is not a good fix, and won’t work with Cardinal because no images are being output. I tried to change to the default theme to check what happens there, but couldn’t seem to do it?
In regards to the question you asked before, if you are using WPML with products, I’d advise ignoring the custom meta boxes we provide. The short description shows in the description accordion/tabs there is no custom meta provided, and there is text in the field that is NOT shortcodes (starting in [spb) to prevent duplicate content – although seeing what you are trying to do it may be worth overriding that.
– Ed
July 8, 2014 at 3:34 pm #89079This reply has been marked as private.July 8, 2014 at 3:50 pm #89092Hi Ed,
WPML Translation Management > Custom fields translationIf I set this to translate instead of the default copy I get some fields to, albeit not very user-friendly.
Maybe I need to set one of these custom fields correctly to solve the image issue?
July 8, 2014 at 4:04 pm #89109You had a tag in the custom meta options fields for Product Desc and Product Short Desc (our meta panel) – so that was taking priority. I remove those and now showing fine.
Ahhh what! Simple as that.. Thank you very much for letting me know.
The image is the default featured image though, so shouldn’t need a change there. Can’t quite understand how I managed to get it working fine first time..
– Ed
July 8, 2014 at 4:22 pm #89125Cool… I’ll keep investigating.
Thanks again.July 9, 2014 at 7:20 am #89240You would hope WPML would be able to see from a quick look.. Not sure what is happening with those guys, but they seem to be losing their touch..
– Ed
-
Posted in: Cardinal
You must be logged in to reply to this topic.