Home Forums WoodMart support forum Product layout issue with Polylang

Product layout issue with Polylang

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #648289

    ya.predko
    Participant

    Hello. I am using Polylang for multilingualism and Woodmart Layout for products. I have a strange layout error. For example, I have a product layout for the Ukrainian version and a translated layout for the rus version. When I save changes in Ukrainian template, the other crashes, and vice versa. The same thing happens on the main page with the category block, although the carousel settings are set to custom typography, it still follows the theme settings.
    І Use WPBakery builder.

    #648291

    ya.predko
    Participant
    Attachments:
    You must be logged in to view attached files.
    #648294

    ya.predko
    Participant

    In Polylang settings active custom translations/ Product layouts linking translations.

    Attachments:
    You must be logged in to view attached files.
    #648501

    Luke Nielsen
    Keymaster

    Hello,

    It seems that you have sorted it out – https://prnt.sc/YBAVT5CI3FlN , https://prnt.sc/aQzH0FqxEVOc

    Let me know if I missed something.

    Kind Regards

    #648504

    ya.predko
    Participant

    No, Problem with layout product card 2025 UA and translated product card 2025 ru

    #648506

    ya.predko
    Participant

    I have 2 layouts, and planing more: product card 2025 UA – its for all products, https://prnt.sc/YBAVT5CI3FlN – this only for product with brand ADA

    #648797

    Luke Nielsen
    Keymaster

    Hello,

    Okay, I see. May I disable 3rd party plugins for testing?

    Looking forward to collaborating with you!

    Kind Regards

    • This reply was modified 2 days, 16 hours ago by Luke Nielsen.
    #648803

    ya.predko
    Participant

    Yes

    #648864

    Luke Nielsen
    Keymaster

    Hello,

    We have added the following code to the child theme:

    function exclude_custom_css_meta_from_copying( $metas ) {
        $excluded_meta = 'woodmart_shortcodes_custom_css';
        $key = array_search( $excluded_meta, $metas );
        if ( false !== $key ) {
            unset( $metas[ $key ] );
        }
        return $metas;
    }
    add_filter( 'pll_copy_post_metas', 'exclude_custom_css_meta_from_copying' );

    And now it seems to work well, you can recheck the issue and let me know.

    Kidn Regards

    #648995

    ya.predko
    Participant

    Thank u, now its work !)

    #649060

    Luke Nielsen
    Keymaster

    Hello,

    You are welcome! Always remember that you can reach out to us with any questions you may have.

    Have a good day!

    Kind Regards

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Product layout issue with Polylang’ is closed to new replies.