Theme conflicting with API product data feed

This topic has 25 replies, 2 voices, and was last updated 10 months, 1 week ago ago by Rose Tyler

  • Avatar: plusout
    Teal
    Participant
    May 12, 2023 at 15:19

    Hi There,

    After the recent update, we lost the API feed to feedanomics which is feeds product data to our Google shopping campaigns.

    There is also product information fed through to our 3rd part order management system Linnworks. This is no longer coming through.

    When I test the API from linnworks to the website it is connected and is bringing order information through from the website no problem, but no product information.

    I have created a staging site and deactivated all plugins, but the probem was the same. When I changed the theme to a standard theme though the product data came through OK. So I can only assume it is a conflict with X Store.

    I have included login information for the staging site and also FTP if you need it.

    Thanks

    Guy

    Please, contact administrator
    for this information.
    24 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 15, 2023 at 08:32

    Hello, Plusout,

    Thank you for getting in touch with us.

    We have enabled an option on your staging, Customizer -> Speed Optimization -> Disable Embeds, as shown in the screenshot https://prnt.sc/YWP9I9v3Al79. Please check if the data is coming in now, and also provide us with the opportunity to verify what data is coming to your API.
    Additionally, please update the following plugins https://prnt.sc/ts1W1t2uyUWD.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 15, 2023 at 09:01

    Hi There,

    Thanks for your help so far.

    I have updated the plugins and attempted to download the product data through the API to our 3rd party order management software Linnworks, but it is still not working.

    The only way I know that the product feed is not working is by going into Linnworks and try to update the products from the website to Linnworks.

    https://prnt.sc/nyucoBRW09pB

    I have tried to download just now and no change.

    If I change the theme the products will download straight away.

    The other, bigger problem is that the feed to Google shopping is not working also, so costing us many sales now.

    I don’t know of another way that you can see the API data, I could give you access to our server admin pannel so you can see server logs. Would that work?

    Thanks

    Guy

    Avatar: plusout
    Teal
    Participant
    May 15, 2023 at 13:20

    HI There,

    I just tried various other things to resolve this, speaking to our server people and can see the API errors in the server logs. I have copied one into the private area.

    I have also just tried activation the XStore theme instead of our child theme and everything works OK, but obviously the site doesn’t look OK. Does this give you any more idea what the problem could be?

    Thanks

    Guy

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 15, 2023 at 16:13

    Hello, Plusout,

    In regards to the settings of the theme and related plugins, you need to do the following:
    1/ Activate the child theme;
    2/ Go to the Customizer and export the options as shown in the screenshot below: https://gyazo.com/6e911ef032ccbe80d06c33ab84fc14e7;
    3/ Reactivate the parent theme and export the options again;
    4/ Import the options of the child theme to the parent theme;
    5/ Check if everything works;
    6/ Restore the options of the parent theme by importing them.
    Please, be careful and do not mix up the option files, also do not delete them.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 15, 2023 at 16:20

    Hi There,

    Is this what you did in the staging site?

    So far the staging site doesn’t look like it should.

    Staging site now – https://prnt.sc/94srBZSDG3KF

    Live site (should look like this) – https://prnt.sc/pWYIWLkxhD7x

    If there will be differences, will we have to go into it after exporting and importing?

    Do you know the reason why this has happened, is there anything we need to do in the future to be more safe?

    Thanks

    Guy

    Avatar: plusout
    Teal
    Participant
    May 15, 2023 at 16:26

    Please can you clarify

    5/ Check if everything works; – Do we stop here?
    6/ Restore the options of the parent theme by importing them. – Is this only if there is a problem?

    Do we activate the child theme after so it is back to the child theme being the main theme?

    Thanks

    Guy

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 16, 2023 at 14:05

    Hello, Plusout,

    1/ We have not made any changes to your staging site, this effect is possible when switching between the child and parent themes and vice versa. You just need to go to the customizer and save the changes.

    2/ Steps 5 and 6 should be done. We need to know if the result is dependent on the options, which is why we are taking this step. If it does not work and then works again after reverting the options, we will be sure that the problem is with one of the options.

    3/ After that, search for the option that is causing the problem can be done.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 17, 2023 at 09:05

    Hi There,

    Everything is OK after I did all that you suggested, the API works OK. But if it activate the child theme again, it breaks the API again. The site is running with the parent theme now fine, but I need to have the child theme active as there are updates ready for ZXstore and other plugins, but I don’t want to update until the child theme is set correctly.

    Do you have a suggestion?

    Thanks

    Guy

    Avatar: plusout
    Teal
    Participant
    May 17, 2023 at 11:31

    Hi There,

    The staging site is working with main theme, but breaks when I switch to Chiold theme, if I change back it works again straight away.

    So it looks like the problem is with the child theme. I have tried exporting the .DAT file from parent to child theme but the child theme still does not work.

    Please can you suggest how we can get the child theme working.

    Thanks

    Guy

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 17, 2023 at 18:00

    Hello, Plusout,

    1/ “I have tried exporting the .DAT file from parent to child theme but the child theme still does not work.” – Are you referring to the API not working, or the appearance of the website?
    2/ Have you entered any API keys in the WordPress admin area (possibly in the plugin settings), as they may change depending on the active theme?

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 17, 2023 at 18:33

    1/ “I have tried exporting the .DAT file from parent to child theme but the child theme still does not work.” – Are you referring to the API not working, or the appearance of the website? – I was refering to the API not working, the appearance is fine with either theme.

    2/ Have you entered any API keys in the WordPress admin area (possibly in the plugin settings), as they may change depending on the active theme? – The API keys are set from Woocommmerce in API-rest and entered into the third party software (Linnworks). I can try re-registering the API keys in Linnworks once the child theme is active and see if that works.

    Please let me know if you have any other suggestions.

    Thnaks

    Avatar: plusout
    Teal
    Participant
    May 17, 2023 at 18:40

    HI ther,

    I re-authorised the API when the child theme was live on the staging server and the API doesn’t work. It is OK when the parent theme is live.

    Can we build a new child theme?

    I’m not sure how it works and don’t want to do updates until I have this sorted.

    Can you please look into it for me.

    Thanks

    Guy

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 18, 2023 at 08:35

    Hello, Plusout,

    We have made some changes to the children’s theme on your staging site, please check if the API connection is working now.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 18, 2023 at 08:49

    Hi There,

    yes, that seems to be working.

    Can you make the same changes on the live site and I will change over to the child theme then test.

    Thanks

    Guy

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 18, 2023 at 13:38

    Hello, Plusout,

    The test on our staging site is not finished yet.

    We have made new changes to the children’s theme on your staging site, please check if the API connection is working now.

    A few more tests need to be done, once we get a solid solution, it can be applied on your live site.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 18, 2023 at 14:18

    Hi There,

    Yes, it is still working OK.

    Please let me know if there is anything else you need from my side.

    Thanks

    Guy

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 18, 2023 at 15:12

    Hello, Plusout,

    Thank you for your response.

    Please test it one more time.

    Kind Regards,
    8theme team

    Avatar: plusout
    Teal
    Participant
    May 18, 2023 at 15:41

    Hi There,

    Linnworks only allows me to run the product import every 2 hours, which is the only way I have to see if it is working on the staging site. So I can run it again at 16:15 BST it is now 15:40nBST

    For the main site I can run our google product feed any time to test that API, but will have to wait another hour before I can run the staging site one and let you know.

    Thanks

    Guy

    Avatar: plusout
    Teal
    Participant
    May 18, 2023 at 16:23

    Hi There,

    No, it seems to have stopped working now.

    The products are no longer coming througfh to Linnworks.

    I have put the access log error in the private area (this is what we always see when it is not working)

    Thanks

    Guy

    Please contact administrator
    for this information.
  • 1 2
    Viewing 20 results - 1 through 20 (of 25 total)

You must be logged in to reply to this topic.Log in/Sign up

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