Home Forums WoodMart support forum Layout Translate for product Archive

Layout Translate for product Archive

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #445429

    Cioppi88
    Participant

    Hi,
    I’m using WPML to translate my website.
    I created a custom layout for product archive.
    Now if you switch languange you can see that product loop shows twice.
    Take a look after footer of this page: https://wordpress-885114-3068548.cloudwaysapps.com/en/boutique/
    I just set custom fields: wd_layout_type and wd_layout_conditions to Copy in WPML settings.

    #445451

    Cioppi88
    Participant

    Fixed thanks

    #445460

    Cioppi88
    Participant

    Sorry but it seems it doesn’t work on attribute page like this:
    https://wordpress-885114-3068548.cloudwaysapps.com/en/giardino-segreto/
    I try different tecnique:
    1 – create unique template with multiple condition (Product Archive + Product Attribute and select the attribute I want)
    2 create multiple layout one for all archive I need (1 template for Product Archive and 1 template for Attribute)

    It works on category translated but not on attribute

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

    Cioppi88
    Participant

    Please update here, cause I need to go live with website.

    #445828

    Cioppi88
    Participant

    Another error on custom attribute.
    Italian language: https://wordpress-885114-3068548.cloudwaysapps.com/boutique/
    English: https://wordpress-885114-3068548.cloudwaysapps.com/en/boutique/

    Always created using your layout functionality.
    As you can see it doens’t take the main template, moreover the loop still happear twice.
    My settings of WPML in attachment

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

    Cioppi88
    Participant

    I contacted WPML support but the issue shown up with elementor + woodmart layout + WooCommerce Multilingual & Multicurrency.

    The problem is maybe releated to elementor and woodmart layout

    #446164

    Hello,

    Please insert the site admin access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #446177

    Cioppi88
    Participant

    Sent

    #446374

    Hello,

    You have not enabled Layouts for translation: https://gyazo.com/21f65c9f66288eb20516ec38f3bb1d8a

    I have enabled it. Please translate the layout as you translate a page or post and delete the duplicated layout Archivio Prodotti.

    Let us know if the problem remains.

    Best Regards

    #446397

    Cioppi88
    Participant

    I Just tryed even in this method.
    No changes. Take a look here -> https://wordpress-885114-3068548.cloudwaysapps.com/en/christmas/

    #446724

    Cioppi88
    Participant

    Hi any update?
    did you try to login to my backend and fix the problem? If I disable WooCommerce Multilingual & Multicurrency it works fine. Moreover I see that infinite scrolling doesn’t work on Search Result page event if I customize it

    #446817

    Hello,

    Please provide FTP access, and insert the access into the Private content below the message area. We will take a closer look at the case.

    Best Regards

    #446823

    Cioppi88
    Participant

    Here you are

    #447236

    Hello,

    Please add this custom code to the functions.php of the child theme, let us know if the problem remains.

    use XTS\Modules\Layouts\Shop_Archive;
    
    add_action( 'init', function () {
    	remove_filter( 'template_include', array( Shop_Archive::get_instance(), 'override_template' ), 20 );
    	add_filter( 'template_include', array( Shop_Archive::get_instance(), 'override_template' ), 1000 );
    }, 100);

    Best Regards

    #447319

    Cioppi88
    Participant

    Works thank you. I created a search result layout but I don’t understand why infinite scrolling for pagination doesn’t works:
    https://wordpress-885114-3068548.cloudwaysapps.com/?s=200&post_type=product

    #447564

    Hello,

    Unfortunately, the search result page does not inherit all the confirmations set in the Theme Settings. This is a special page and default pagination is possible.

    If you have any questions please feel free to contact us.

    Best Regards

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