Home Forums WoodMart support forum Attribute images for some product is not showing

Attribute images for some product is not showing

Viewing 30 posts - 1 through 30 (of 40 total)
  • Author
    Posts
  • #146300

    arj1373
    Participant

    Hi,
    We would like to show the images from variation photos. We have done all set up correctly and usually, it is working correctly. But:
    – For some products is not showing the attribute images/swatch. Please see the attached screenshot.
    – For some products, it is working just in one language. please see the attached screenshots to see how the same product in german language is absolutely ok and just after switching to the English language, the attribute images/swatch will be gone. (Even in this case also in the quick view everything is ok).

    May you please help us to solve this issue and know why are we facing this conflict?

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

    arj1373
    Participant
    #146351

    Hello,

    To fix this please go to WooCommerce -> WooCommerce Multilingual. Click on the attributes tab and select one attribute. Down the bottom of the page click “Synchronize attributes and update product variations”. Do this for each attribute.

    Then clear your site and browser cache. After doing this if the issue is still there. Uninstall the plugins third party plugins other then WPML and then check back your site. This will surely fix the issue.

    Best Regards.

    #146509

    arj1373
    Participant

    Dear Sir/Madam,

    I have done your advice. Unfortunately, then after, all translated attributes have disappeared. We have translated once again all attributes. But the problem is here still.
    We have provided some new variable products. They have also the same problem.
    For some variable product: swatch shows in shop page but there is no variation in product page. For some others is reverse (Not didn’t show in the shop page but appears in the product page). In the meanwhile, sometimes for a variable product, the results in the two languages are totally different.
    May I ask you please consider this issue in our admin page and make correction as you want? If so, it would be greatly appreciated.
    I am looking forward to your assistance as soon as possible.
    With many thanks in advance.

    #146515

    arj1373
    Participant

    Please pay attention that we have this issue just with an attribute-color.

    #146534

    Artem Temos
    Keymaster

    Could you please send us a link to a concrete product with this problem?

    #146559

    arj1373
    Participant

    Example 1:

    – in Germany shop page attribute swatch shows correctly, but in the product page, all variation is disappeared.
    – in English shop page don’t show the swatch attribute- also in the product page all variation is disappeared
    https://brainbowtoys.de/shop/entwicklungsschwerpunkt/soziale-und-emotionale-entwicklung/selbstbewusstsein-ausdruck/gluecksbringer-baer-40-cm-versch-farben/
    https://brainbowtoys.de/en/shop/skill/physical-development/fine-motor-skills/gluecksbringer-baer-40-cm-versch-farben/

    Example 2:
    – in Germany and English product pages, the variation shows correctly.
    – in English shop page, don’t show the swatch attribute. in Germany shop page is ok.
    https://brainbowtoys.de/shop/entwicklungsschwerpunkt/soziale-und-emotionale-entwicklung/fantasie-und-kreativitaet-2/miffy-kord-plueschfigur-24-cm/
    https://brainbowtoys.de/en/shop/skill/social-and-emotional-development/imagination-and-creativity/miffy-kord-plush-24-cm/

    #146561

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter( 'woodmart_swatches_on_grid_right_order', '__return_false' );

    Regards

    #146565

    arj1373
    Participant

    Many thanks for your fast reply.
    We don’t use a child theme. (https://nimb.ws/IUTw4b)
    So, Should we add this code?

    #146574

    Artem Temos
    Keymaster

    In this case, you need to install the child theme and then put the code to the functions.php file.

    #146576

    arj1373
    Participant

    I have added it (https://nimb.ws/2a5iqz). Then, I have deleted browser cash. But the problem is still here as same as already.
    I sent you the access information to our server in the private message.

    #146579

    arj1373
    Participant

    You are talking very easy about installing the child theme. But honestly, I have too much stress. How? After installing what will happen for our existing products, pages, blogs, ….?

    #146585

    Artem Temos
    Keymaster

    OK, please, keep the code in the parent theme so we can check.

    #146591

    arj1373
    Participant

    Whilst many thanks for your kind reply, I have put it already. Please see ((https://nimb.ws/2a5iqz). I sent also already server access information. (There is some other domain there, obviously, we are talking about brainbowtoys.de)
    Many thanks in advance for your kindly cooperation.

    #146593

    Artem Temos
    Keymaster

    We are checking your second example and it seems to work fine now.

    #146595

    arj1373
    Participant

    Sorry, but it is not OK.
    As I explained to you by the second example, the swatch attribute in English shop page not shown:
    https://brainbowtoys.de/en/marke/miffy/
    But in the Germany shop page is shown correctly:
    https://brainbowtoys.de/marke/miffy-de/

    #146601

    arj1373
    Participant

    So, now our webshop is down and not available. May you please assure me that it is temporary because it is under consideration by you. Just for my comfort, please.

    #146597

    Artem Temos
    Keymaster

    Please, install the child theme and send us your FTP. The problem may occur when you switch between themes in Appearance -> Themes is that widgets may lose their positions. It is a WordPress behavior and we are not able to fix this in our theme scope. Now, you need to go to Appearance -> Widgets and move all widgets to appropriate positions.
    As a workaround, you can backup your widgets configurations using this plugin https://wordpress.org/plugins/widget-importer-exporter/

    Regards

    #146632

    arj1373
    Participant

    Before of all, I have to access to my shop. As I said already the shop is down and no available. Please try http://www.brainbowtoys.de. I think you respond to me without considering my reply.
    I have sent already the access information to our server two times. I said in the last reply that site is down. After adding the code in functional.php. I have deleted it but it not working still. I don’t know what can I do. I want to cry.

    #146663

    arj1373
    Participant

    By considering the files via server/file manager, everything seems ok and correct. But the site is not coming up. I could not find and fix this issue. Please help me to run the shop again very soon. Please…

    #146701

    Artem Temos
    Keymaster

    Please, ask your hosting provider to send you FTP access since you sent only your hosting control panel access. It is not enough to edit your website files in a proper and safe way.
    As for the website, we don’t know why it doesn’t work since we didn’t touch anything. We checked your logs and see some fatal errors https://gyazo.com/b5be2e291ea466f58756a4d2edad6e23
    You need to contact your hosting provider to investigate the issue too.

    #146782

    arj1373
    Participant

    After receiving your kind advice, With great cooperation with our server provider, now the shop is available again.
    Regarding the FTP access, there is a misunderstanding. Because of our webshop installed on a dedicated server (no hosting or cloud). It means by user name and password that I have sent you already, you have access to the server as same as me (Server Owner). Please see https://nimb.ws/Q4HrbT
    So, please let me know whether is it sufficient to your consideration or you require also further information like FTP.

    #146844

    Artem Temos
    Keymaster

    The problem is that this option is not translated and on En version it takes attribute from DE. You need to edit the file wpml-config.xml first and add the line as shown on the screenshot http://prntscr.com/pbaxwk

    <key name="grid_swatches_attribute" />

    Then you need to go to WPML -> String Translations and find this option. Translate that attribute slug for EN version and it should work.

    #146845

    Artem Temos
    Keymaster

    Then try to resave both products to see if it works.

    #146857

    arj1373
    Participant

    Hi, Whilst many thanks for your kind advice.
    – I have added the codes successfully. (https://nimb.ws/YZyKTP)
    – I found it in the WPML string, but it is possible just to translate it from ENG to Germany. (https://nimb.ws/n4yMcX). Actually I don’t know how can I translate the English string.
    – However, I have translated already the attribute via Woocommerce Multilanguage. (https://nimb.ws/W8H1VK).

    So, May you please help me to make this translation.
    In English: pa_color
    In Germany: pa_farbe

    #146860

    Artem Temos
    Keymaster
    #146884

    arj1373
    Participant

    Dear Temos, Sorry maybe it is very easy but I can not find how can I change the English string to pa_color. Here, I can edit only Germany String. Please see https://nimb.ws/bUEjVR
    May you please do it (I have sent already admin access information). Anyway if not, it would be greatly appreciated to let me know how can I make it?

    #146917

    arj1373
    Participant

    I have to inform you that now swatch attribute in shop page for both languages are correct.
    The only reminded problem is, variation product is not showing in Germany single product page. Please see https://nimb.ws/zsvYXu.

    #146953

    Artem Temos
    Keymaster

    We have translated the attribute for you, please, check the shop page.
    As for the product where swatches are not shown, it is something wrong with it. It is not translated correctly. Check product from the second example that works fine and do the similar translation.

    #146956

    arj1373
    Participant

    It is not working. Please see https://s.nimbusweb.me/share/3362404/8ncqfp84wdukqymnwk3a
    You have changed Germany translation which I could do it very easy as I explained in previous messages/screenshots. I thought you are meaning as below:
    String English to be translated to pa_color
    String Germany to bo translated to pa_farbe
    But now those are translated so:
    String English: pa_farbe
    String Germany: pa_color
    I think something here is going wrong.

Viewing 30 posts - 1 through 30 (of 40 total)