SPB won’t copy - by Bas Kling - on WordPress WooCommerce support

This topic has 62 replies, 3 voices, and was last updated 2 years, 9 months ago ago by Olga Barlow

  • Avatar: Bas_Kling
    Bas Kling
    Participant
    June 17, 2021 at 12:48

    Some thoughts:
    In the main dashboard -> Analytics -> won’t load any page. Could have some related issue.
    Xstore customizer: main customizer dashboard loads, but as soon as I try and go into a sublevel, I only get to see the loading spinning wheel. According to our developer, it’s probably a database issue (or perhaps a security group policy issue>
    I’ve tried this on our production site only btw, not the staging copy you requested to work in.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 17, 2021 at 15:10

    Hello,

    We have fixed the multiple templates issue on the production site. Please, don’t use shortcodes in the HTML areas https://prnt.sc/15plofl because it generates additional slashes in DB.
    We downgraded the theme version on the production and you could use a single builder and other options. We are looking for the reason of the spinning of theme options on the staging with the new version.

    Could you, please, provide us with server error logs of the staging site? Because if we visit theme options we don’t see any errors in the console and don’t understand why options do not display without error logs.

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    June 18, 2021 at 13:20

    Please clarify: shouldn’t I use short codes in the HTML box or not use static blocks altogether? Because the SPP does provide the option to use static blocks.
    Also: it worked fine before so something must have changed in the template code over time with these updates.

    Another issue is that we have a lot of static blocks and only the last 20 or so created static blocks show up in the pulldown selector, across the backend of the site.

    Lastly: part of the issue desribed in this thread/ticket is the tabs missing in the English version of the site. Dutch shows tabs just fine but as soon as I switch to English (selector in top right corner of the header), the tabs just below the product description disappear.

    I’ll collect all server logs and forward to you. However, since we have 8×5 support from our hoster, I won’t be able to provide those logs until Monday

    Cheers,
    Bas

    Avatar: Bas_Kling
    Bas Kling
    Participant
    June 21, 2021 at 14:53

    Adding to previous post:
    Since our developer is managing /owning the staging site, and we’ve been spending way too much time troubleshooting, I would like to ask if we could do a conference call, with your team and our developer to accelerate finding a solution.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 22, 2021 at 16:28

    Hello,

    1)

    shouldn’t I use short codes in the HTML box or not use static blocks altogether?

    It would better avoid using shortcodes in the HTML areas of the single product builder.

    2) We found that the loader issue with the latest version of our theme is related to this option https://gyazo.com/94354c297ddf37d9cfccbb79298d250c of Weglot plugin. So, contact the plugin author and ask if they could disable this option for the admin users for the customizer mode.

    3) We are working on issues with the number of Static Blocks in the selector and tabs for the EN version. We’ll try to fix it today-tomorrow.

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    June 23, 2021 at 10:06

    HI Olga,

    Thanks for the feedback.
    Did you manage to find out whether disabling the language redirect option fixes the theme compatibility issue? ( wen can disable it for everyone while we wait for Weglot to make the appropriate changes).

    One of your earlier asks was to provide the server error logs of the staging site.
    Our developer replied that you already have access (please see Private)

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 23, 2021 at 14:37

    Hello,

    Disabling of that option allows to open theme options without a problem.
    We are working on 2 other issues ( tabs and static block in selector).

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    June 25, 2021 at 16:17

    Thanks.
    Please bear in mind, that SPP still doesn’t work properly.
    Although we can create new templates (as we created 1 additional custom SPP template “vegan”, linking it to all vegan brands doesn’t display the correct template when loading a vegan product. Still, the default SPP template is displayed.

    Also: in the English version, only the first product image is displayed. 2nd, 3rd, etc images cannot be selected in the SPP. This issue was described also at the beginning of this thread (not intentionally piling up to your troubleshoot workload, but please don’t forget about this one)

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 30, 2021 at 11:42

    Hello,

    Take my apologies for the delay in answering.
    1) We have fixed issue with the Static block selector. Now all the Static blocks available in the list.

    2) We tried to fix the issue with the tabs but with no success.
    Point is that Weglot plugin replaces content after page loading and all the scripts do not work if they do not use the call of “Document” object.
    For example
    $(document).find('.some-class'); // work fine
    $('.some-class'); // doesn't work because element $('.some-class'); is already replaced by the plugin scripts.

    We can’t use the “Document” object for all the scripts because it works on the browser side and slows down page speed a lot. Besides WooCommerce plugin scripts for zoom also do not work because of this. The plugin has the option to reinit scripts at the first look but it does not work https://prnt.sc/17mq64j Maybe you need additionally set it up by following the docs https://weglot.com/integrations/translate-website-javascript/ not sure.
    Polylang and WPML do not replace content as this plugin does. So, contact the plugin author and ask them if they could improve the plugin code to avoid this issue. Or change the translation plugin.

    Could you, please, remind me what compatibility issues did you have with the WPML?

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    July 19, 2021 at 20:43

    I’m sorry, but this simply won’t do.
    Initially, it was WPML that was causing multiple single product page template issues, hence we switched to Weglot, and now you’re asking why we’r not using WPML???

    To be honest: we’ve been troubleshooting for over a month now, with little result. The end result now being, that also the Dutch version (which was working fine until 2 weeks ago) is not showing the thumbnails on the left side of the product image anymore either! Whatever fix you implemented broke our site even further. Again, this is our production site and it’s impacting our business.

    We are contemplating what steps to take, but in the meantime, please fix the issue, at least for the Dutch version!

    Please contact administrator
    for this information.
    Avatar: Bas_Kling
    Bas Kling
    Participant
    July 20, 2021 at 10:21

    We’ve hired an external developer who has resolved the (javascript) issue. The other ask remains: WPML was causing issues with the multiple single product page templates. This is the reason we switched. Has that incompatibility been resolved for the Xstore template? Are there other 8theme-recommended translation modules we can consider?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 20, 2021 at 17:09

    Hello,

    As I remember you had the admin-ajax error in the console and it was something with the server limits and it did not allow you to create a translation for the single product.

    We don’t have such issue with our test installations.

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    July 21, 2021 at 13:03

    Hi Olga,

    sorry, but this is simply not the case. Yes, there were script & server limit issues, but both have been resolved when moving to a different platform. It was after this move that we switched from WPML to Weglot as removing the limits didn’t resolve the issue.
    The thumbnails at the left of the product page still won’t load when switching to English. I doubt that this particular event is a script overwrite action from Weglot (we have accepted that the tabs issue cannot be resolved under Weglot). This ticket has been created over 10 weeks (!!!) ago. I appreciate the work involved, and response time delays that cascade over time, from both parties, but this has to be fixed.

    We will take care of the translation issues, tabs, etc, but basic stuff such as standard Xstore product page layout under both languages I’m hoping you will take responsibility of resolving.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 21, 2021 at 15:52

    Hello,

    Many other scripts won’t work because of the Weglot system.
    I tried to explain to you:

    Weglot plugin replaces content after page loading and all the scripts do not work if they do not use the call of “Document” object.
    For example
    $(document).find('.some-class'); // work fine

    $('.some-class'); // doesn't work
    because element
    $('.some-class');
    is already replaced by the plugin scripts.

    We can’t use the “Document” object for all the scripts because it works on the browser side and slows down page speed a lot. Besides WooCommerce plugin scripts for zoom and some other also do not work because of this.

    You may try to contact Weglot support if they have any solution to translate texts without replacing page content after loading.

    We do really want to help but we can’t recode the third-party plugin.

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    July 23, 2021 at 19:02

    Hi Olga,

    Obviously, I’m not asking you to recode a 3rd party plugin. Since we’ve all put in a lot of time & effort I thought I’d recap outstanding issues and attempted fixes.

    Reiterating the issues covered in the ticket:
    1) creation of multiple SPP templates.
    2) the tabs on the SPP can disappear once a user selects English as the current language instead of default Dutch.
    3) 2nd /3rd / etc. product images not clickable in English (in Dutch just fine at that time. This problem expanded to include Dutch language later)

    Starting at May 10th we addressed the multiple template issue with WPML under XStore template we found that the ajax search plugin doesn’t support js minification. We killed the plugin. But also the XStore customizer didn’t load properly. And the issue with tabs on SSP under English translation persisted.

    Provided server error logs on May 18th.
    XStore helpdesk has disabled Facebook and business review plugin but we had to enable those again because this is our production environment. We’ve had our developer create a staging copy for you to work with instead.

    Stress tested the website on May 25th. Killing all theme settings significantly increased server performance. We found that 1) the code of the child theme itself does not make a significant difference and 2) with the current settings also the XStore ‘parent’ theme has the same problem and is slow. Your response was that a new theme archive is being developed that improves the performance of theme options (customizer). Has that materialized into a solution yet?

    June 17th: multiple templates issue on the production site was claimed to have been fixed but a theme version downgrade was needed for this. As this is not a sustainable solution (we need to be able to upgrade to benefit from new features and security patches), we saw this as a temporary fix until XStore has structurally fixed the template code (troubleshooting of the new version on staging site is ongoing).
    To date, this has not been fixed: although we’re able to generate new templates, the correct template (dedicated to specific brands) doesn’t show on the respective branded product page and the default template is displayed instead. (note: we’ve not used shortcodes in custom HTML anymore but that hasn’t resolved the issue).

    Our developer managed to solve the tabs issue so we can strike that off. Let’s focus on the multiple templates for now.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 27, 2021 at 09:09

    Hello,

    I have updated theme and core plugin to the latest version 8.0.2.
    EN version of a single product is ok https://gyazo.com/b390e0660fa21aa4f905ffffe703ee70

    If I edit the brand template I see changes, for example I changed the price position https://gyazo.com/de51be1fb2f6f75ad37aff585b19ad43
    So, what exactly did you change in the brand template that did not apply, and tell me the brands that we could check?

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 27, 2021 at 09:09

    Hello,

    I have updated theme and core plugin to the latest version 8.0.2.
    EN version of a single product is ok https://gyazo.com/b390e0660fa21aa4f905ffffe703ee70

    If I edit the brand template I see changes, for example I changed the price position https://gyazo.com/de51be1fb2f6f75ad37aff585b19ad43
    So, what exactly did you change in the brand template that did not apply, and tell me the brands that we could check?

    Regards

    Avatar: Bas_Kling
    Bas Kling
    Participant
    July 27, 2021 at 15:50

    Hi Olga,

    The multiple SSP seem to work fine indeed. We tried to check alterations in the tabs section. So, your troubleshoot did uncover the exact issue (the collapsable tabs section of the product page)
    It seems that custom tab 01 doesn’t show (at all), neither does any other tab currently deactivated. Only the Description tab, single product custom tab, and custom tab 02 are displayed, despite changing visibility options in the customizer control panel. The customizer /backend version of the SPP shows them fine, but no matter what we try, we cannot get any more than 3 tabs to be displayed on the live site.

    To further clarify: custom tab 01 only becomes visible when we switch it on in the default template. This results in a visible tab for all multiple templates. It’s as if the tabs are being regulated by the default template, regardless of which template is used to display the respective product brand.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 28, 2021 at 16:04

    Hello,

    Got it. Our developers are checking the problem with tabs. We need some time to solve the problem. I’ll inform you about the fix.

    Regards

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 29, 2021 at 16:04

    Hello,

    Could you, please, check now.

    Regards

  • 1 2 3 4
    Viewing 60 results - 41 through 60 (of 62 total)

The issue related to '‘SPB won’t copy’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.