Skip to content

Tag: shopify

How to Make a ShopifyQL query?

Shopify recently announced ShopifyQL for easier accessing of analytics data. However, I’m unclear of how to actually make a ShopifyQL call. They do include an example. However, using the GraphiQL tool to run the query hits a number of errors: I also tried making an authenticated call with the example qu…

Open Cart drawer on add to cart button click shopify

in my shopify webshop I want to open the cart drawer, if the user clicks the add to cart button. I managed to do this with this code snippet: But with this code, 2 units of the product are added to the cart, instead of one. Here is the link of my webshop, in case you want to try: www.wunderrein.at

Embed Vue component within Shopify store

Within a product page, I am trying to display a custom Vue component. For brevity, the component displays some information from a Firebase database based on the given product id. I originally tried to make this a Shopify app so I could access their APIs. I implemented OAuth and can retrieve the required infor…

Odd over-scroll behavior

So we have this website, and when you scroll all the way down to the bottom it keeps scrolling. I’ve tried lots of ways to fix this and haven’t come across a valid solution. It seems to be adding margin outside of the main <html> tag. Any help would be greatly appreciated Only custom JS adde…

Modifying Shopify Polaris Styles – Reactjs

I am trying to modify Shopify Polaris Button components colors for React, I tried to change style.css file but nothing happened. Any idea how to do so? App.js I am trying to modify node_modules/@shopify/polaris/styles.css , but it does not make ay effect to button color. Answer The Polaris design system is me…