[URGENT] - Hydrogen channels and ruby scripts. #2593
Replies: 1 comment
-
Duplicate of #2595 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have been seeing an increasing amount of issues with the hydrogen sales channel, contacting shopify plus support has been unhelpful. I'll try to be as thorough as possible in documenting the issues, feel free to ask for code snippets and elaborations.
We noticed that orders were being attributed to either "Hydrogen", or the name of our deployment in the hydrogen sales channel (I've blocked out the customer names and the name of our store):
On Saturday we launched a new deal using the line item ruby scripts. We tested it in the script editor and confirmed that it worked, however to the best of my knowledge there isn't a way to test it with a hydrogen build. But we have never had an issue with the scripts before, so what we do is test in the editor, launch the script to production and do one last test on the live site. On Saturday the script seemed to work sporadically. I was able to get it to work on desktop in chrome. However on desktop in chrome incognito, as well as all browsers on mobile the script did not work. Speaking to colleagues they saw the same issue.
I contacted Shopify support and they ran tests using the dawn theme and confirmed that the script worked as expected, their conclusion was that it was an issue with our hydrogen build.
I may be wrong so an explanation as to how and why would be helpful, but to my knowledge the ruby scripts only run on checkout, so our hydrogen build should be of no consequence to checkout and the ruby scripts. However we were seeing that in some instances the script did not run at all on checkout. Eventually we changed the script we had back to the previous ruby script we were running.
Today we received some customer service issues concerning the deal we are running with the currently live line item ruby script. On inspecting the order we noticed that the line item ruby script did not run on that order. The shipping ruby scripts did. Another observation was that this order was attributed to the deployment name of our hydrogen build (Production Build)
So we went through our recent orders and found that the ones that get attributed to "Hydrogen", had the line item ruby scripts run on them and the other ones (Production Build) did not.
Another issue we see with the sales channel is that on the product admin page when making a new product live we see this:
However some times its just Hydrogen with none of the deployment options, and sometimes when we make a selection and then make the product live, it does not get applied after saving. it seems that on page render it switches from showing the deployment options to just showing Hydrogen as one sales channel and it just auto de-selects it. I have a screen recording showing it de-select and flicker when the save button is clicked.
If the issue with ruby scripts is an issue with out hydrogen build, then some sort of explanation as to what we should be doing would be helpful so that we can jump on this. Otherwise this seems to be an issue on Shopify's side and its affecting live orders atm.
Please feel free to chime in with any suggestions or ideas, this is an urgent matter and your help is greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions