Home Forums WoodMart support forum Error assigning layout to ID by language.

Error assigning layout to ID by language.

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • #623908

    goalamarketing
    Participant

    Hi, I had different layouts created for my products, some in Spanish, others in English and others in Italian. To each language I had put a tag with the ID of that tag in your language, but after the last update I see that it does not respect it, and directly shows the layout in all the IDs of that tag regardless of whether it is in English, Spanish or Italian.

    #624139

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thanks for reaching to us.

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Also, please record a short video so we can reproduce the issue.

    Regards,

    #624180

    goalamarketing
    Participant

    With a video I do not know if it will be very clear, I try to explain it to see if you can understand it, if not we will look for another alternative:
    I have created layout for the products, and as I have installed WPML I have created three languages. So until now I put a layout for a language and put it to apply that Layout to a label, WPML generates different IDs in the label according to the language, and so far applied each template to your language, the problem is that after the last update this does not take into account and applies the template for the label, regardless of the ID of the label, so the product in different languages is displayed with the label in Spanish.

    I attach screenshots so you can see how I use the layout by tag.

    I can’t reproduce the problem for you because I have restored the backup of the Woodmart file folder and plugins.

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

    goalamarketing
    Participant

    So you can see it in this screenshot. This template is in Spanish, and those fields that I put in the boxes are in Spanish, I have another template the same, but with those texts in English with the label ID in English and another in Italian, if you now change the language you will see that those boxes that I put are changed because the template changes, but when I update the theme those boxes do not change, they are always in Spanish, it is like that the assignment by ID has been erased.

    https://vegaliatravel.com/servicio/tour-de-2-dias-a-las-vegas-en-espanol/

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

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thanks for your patience.

    You can create a dev site and update theme and core plugins to the latest version there. Devsite – also called a Staging platform where you can test issues, enable/disable features/plugins thus such changes will affect the main site. The below article will help you to create it:

    https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

    Then, to assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) to the Private Content area, this will allow me to thoroughly investigate and address your concerns more efficiently.

    Best Regards,

    #625455

    goalamarketing
    Participant

    Hi I have duplicated my website on a test domain so you can check. The Woodmart is not updated, there you can check in a product that when you change the language it changes the content and also changes the headers, because it detects each tag ID with its language and template, you can update Woodmart and the woodmart core plugin and check how it no longer performs the same.

    #625614

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thanks for details.

    I got errors related to translation while updating theme https://ibb.co/gDLRz0p

    Would you mind if I deactivate extra plugins for testing? Please confirm me back.

    Regards,

    #625625

    goalamarketing
    Participant

    You can do all the tests you need, that website is a test website. Elementor translations have never been translated since I don’t have the official elementor pro license, but that has never been a problem.

    #626001

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thanks for your patience.

    I’ve passed this topic to one of our developers, and I will let you know once get an answer in the Monday.

    Best Regards,

    #629171

    goalamarketing
    Participant

    Hi, I haven’t heard back on this yet, I don’t know if it is safe to update the theme.

    #629457

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Sorry for late update. Somehow I replied but it was not sent.

    Our developer checked your site now and see that the woodmart layout is working correctly on this page

    https://vegaliatravel.com/servicio/tour-de-1-dia-a-washington-d-c-en-espanol/
    https://vegalia.goalaweb.com/servicio/mas-actividades-y-excursiones-en-las-vegas/

    Could you please check if this problem exists? If so, please send a link to the page where you see the problem.

    Regards,

    #629507

    goalamarketing
    Participant

    Look, I try to explain the problem so you can understand it, I have upgraded to the latest version and the problem still exists. In Layout what I have done is to create a product page, but of course that product page contains headers with text so in Layout ES those headers are in Spanish and I had to create another Layout for EN and for IT with those headers in English and Italian. Before I could say, the tag “Group 1” which is a tag used for ES is applied to the ES Layout and then all the headers appear in Spanish, and the tag “Group 1” is used for the EN template and so all the headers are displayed in English, but now after the update it does not differentiate between the different tags, the same tag is applied. I attach screenshots.

    https://vegalia.goalaweb.com/wp-content/uploads/2025/01/VEGALIA_WOODMART.pdf

    #629874

    Hung Pham
    Keymaster

    Hi goalamarketing,

    It’s most likely that your WPML is not configured correctly. In the settings for the Layout post type https://monosnap.com/file/EgQkj3w1QJmllUNBsEh45mVlODFsSY, it should be set to translated, so there is one template for all languages, but it is translated. In this case, it should work properly.

    We would also recommend contacting WPML technical support so they can check this from their side.

    Regards,

    #629887

    goalamarketing
    Participant

    Ok, ok, so in case I want to apply different display options I edit it as English page or Italian page with page editing without translation editor. All clear. Thanks

    #629893

    goalamarketing
    Participant

    Now I have detected the following problem. I have deactivated the other layouts that referred to other languages and in the Spanish layout I have created a translation to English and Italian. But the condition of that layout is for a label, so the product is displayed in Spanish correctly but in English and French the layout is not applied. Do you know how I can do so that the layout is also applied?

    #630497

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Please record a short video so we can reproduce the issue.

    Thank you for your patience.

    Best Regards,

    #630498

    goalamarketing
    Participant

    Finally I am using the elementor templates to use the same function that your layout uses. Would you like me to send you the video in case you want to review it to fix it in your Layout?

    #631001

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thank you for your patience.

    Sorry but your reply is a bit unclear to me. Meanwhile, I tested your staging site and it worked perfectly now – with Layout settings set to Translatable Please see recorded video for better understanding https://go.screenpal.com/watch/cTVYi6nfQhO

    Best Regards,

    #631005

    goalamarketing
    Participant

    No, this product is not applying the layout template, it is applying the default Woocommerce template, so there are no translatable elements in the Woocommerce template. Right now is that I am disabling the layout conditions and creating them from Elementor Templates, the example you can see in the screenshots that I passed you in the answers to this previous ticket, if you want to reproduce it on web let me know and I put the conditions in the Layout for the different templates.

    #631526

    Hung Pham
    Keymaster

    Hi goalamarketing,

    Thanks for your patience.

    Sorry, but your question is a bit unclear to me. Please describe in more details, this will allow me to thoroughly investigate and address your concerns in a more efficient.

    Regards,

    #631972

    goalamarketing
    Participant

    Look, I have done the same thing on another website, and you can see that the template does not apply the same. You will see that in the English version of any helmet you will see the title, along with the logo, the short description with the gray background, and other elements….. As soon as I convert the product to English all that is lost and I see that no template is applied.

    https://nzi.es/producto/casco-abierto-rolling-4/

    #632901

    Artem Temos
    Keymaster

    Hello,

    Sorry for the late reply. Please send us your admin access from this website so we can check what is wrong.

    Kind Regards

    #632940

    goalamarketing
    Participant

    Ok.

    #633002

    Artem Temos
    Keymaster

    We just tested this page and see that the correct template is applied for both languages. Here is a video https://monosnap.com/file/4z36phXXIUR220sgBCLGcC6gDnRbFm
    Could you please clarify how to reproduce the problem and send us some screenshots?

    Kind Regards

    #633046

    goalamarketing
    Participant

    I think the problem was either the rooter cache or the web cache, because now I can see it correctly too.

    #633097

    Artem Temos
    Keymaster

    Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.

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

The topic ‘Error assigning layout to ID by language.’ is closed to new replies.