New Landing How can we help? Cardinal http://es.woo.floraqueen.net/enviar-flores/esplendor-de-girasoles

Viewing 9 posts - 16 through 24 (of 24 total)
  • Posted in: Cardinal
  • #88870
    Pothe
    Member
    Post count: 336

    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/6d2b744634b8a2ab7f43bd03b3a41fd3

    So 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/b88474923786c494e912e35aa9910824

    If 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…

    #88881
    Pothe
    Member
    Post count: 336

    update 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…

    #89034
    Pothe
    Member
    Post count: 336

    Ok, found a solution to the translation of product meta descriptions.

    https://www.evernote.com/shard/s21/sh/4b7e3efc-70da-43e7-b8cc-55239d6d5fad/87f08ad1c4ca6639ca5c4cbf9b51d7e4

    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; }
    
    #89035
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @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

    #89079
    Pothe
    Member
    Post count: 336
    This reply has been marked as private.
    #89092
    Pothe
    Member
    Post count: 336

    Hi Ed,
    WPML Translation Management > Custom fields translation

    https://www.evernote.com/shard/s21/sh/19222b6d-2aa6-4eb2-91b9-2d0ea564a295/fa2dd042641f70b0d830c2e391a979e6

    If I set this to translate instead of the default copy I get some fields to, albeit not very user-friendly.

    https://www.evernote.com/shard/s21/sh/166e7640-0e4c-48b9-bd80-60654e25fb32/72382ac23af05dbc78393e34fa58b96d

    Maybe I need to set one of these custom fields correctly to solve the image issue?

    #89109
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    You 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

    #89125
    Pothe
    Member
    Post count: 336

    Cool… I’ll keep investigating.
    Thanks again.

    #89240
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    You 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

Viewing 9 posts - 16 through 24 (of 24 total)

You must be logged in to reply to this topic.