HunkyBill
Shopify Expert
Contact Me
Status
Offline
Last Activity
‎04-11-2024 10:05 AM
Topic Started
57
Topics Started
Topic Solutions
60
Solutions
Post Count
4846
Posts
Post Kudos
552
Likes

Community Badges

Now that the Extensions are wired up to make calls to our Apps, there is the little issue of CORS. Shopify has provides sample code here to make CORS work. Things is, they left it completely wide ope...
Trying to switch from Bogus Gateway to Shopify Payments. Shopify refuses the transfer and informs in a dialog that the Shop Phone number must be provided. Shop Phone number is provided. Hence this is...
When we navigate to the Embedded App setup, and head to making navigation links, that process has a couple of flaws. Principally, this is the flaw. Imagine you have 4 links created. Flaw 1. ...
I have an SVG that looks very nice in Safari and Firefox, but Chrome 95 seems to be butchering the SVG. Viewing the image in a new tab shows it perfect, in Chrome, so it is only in the context of a P...
In building out an App and finding the whole Rails + Shopify App gem to be an incomprehensible mess when adding in recurring application charges, I have a demo store with about 20 "pending" charges t...
I have an interesting oddity I am looking for an answer to. Take a Shop with two locations (A and B). All the inventory is currently available at A. We also want it to show up at b. It is not possib...
Lets say I have a specific product in mind that is for sale. A one of a kind. A handle of i-am-special. Now consider a shop having a Flash sale. Perhaps 1000 orders happening over the course of an ho...
Does anyone have any working code for using the Textfield to filter? Using Polaris, say I have 200 products server side. I dump 50 out to a resource list with paging. So the merchant can now search f...
Hey kids! Imagine a Shopify store with no products. No shipping rules. No nothing, really. Now imagine the store installs an App, and that App provides a view to products that can be sold. Just tic...
When the merchant selects a link from More Actions, Shopify redirects to the App, meaning we need to authenticate the incoming call. It used to be simple, session cookies. Now it is JWT tokens. Thing...
Anyone else notice when you create a product, and try and assign images to variants, that this is now failing? Since when? It used to work fine. As as example, say I have some media I assign to a pro...
Very simple thing I want. When looking at an order, the order details, under more actions, the link Show Pick List (Localhost). Having added tons of links to apps before, I know how this works. But s...
I notice some new JS littering my App when I am working on code. Shopify is injecting some new code? Namely a call to the App and asking for includes.js? What is that? Why? Huh?
Pretty simple Query. Payload is not too much of a headscratcher. { "inventoryItemAdjustments": [ { "inventoryItemId": "gid://shopify/InventoryItem/19506080374848", "availableDelta":...
Simple task, filter orders, but it does not work. orders(first: 50, after: $cursor, query:"fulfillment_status:PENDING_FULFILLMENT AND financial_status:PENDING AND created_at:>=2021-04-09T...
I have a need for some shopify.dev documentation to be printed. Does anyway know a way to print the online docs nicely? Shopify skipped providing nice print stylesheets and there does not seem to be ...
Take the example of installing a fulfillmentService in a Shopify store. That service is automatically assigned a location in the store. Let us assume a store is very much just opened. Initialized onl...
I have a token, installed in a shop, from an App that was granted full on everything goes Subscriptions API access. I found the Shopify Access Scopes endpoint. Apparently, if you use it, with a toke...
App has scope write_draft_orders Attempt to create a Draft Order results in DraftOrderCreate access denied That sucks. Please Shopify. Why are valid scopes denied? What is currently wrong with th...
I have a rendered layout that is not working. The Component hierarchy is as follows: return ( <BrowserRouter> <AppProvider theme={theme} i18n={en} linkComponent={Link}> ...
I have an NON-embedded App, so no App Bridge. My main App component renders the usual components of a Shopify Polaris App with a React Router element to handle specific cases of functionality. Since...
When you audit a Shopify store for their delivery profiles, you get back a list of the setup zones, and within those zones, the carriers, and the various services they provide. The Bug can be explain...
I am reading that the Shopify App JWT authentication pattern with JWT tokens has the fact that an issued JWT token lasts only 1 minute. So an expired token cannot be used. Can I get an explanation as...
I have an App logged incoming requests. So happens one of them was to satisfy the GDPR for an App. Now in my logs I am getting hammered with request from Shopify that contain the names of Shops that...
I have a store with 6 Channels. I use GraphQL to get the 6 Channels. When I am playing with a product, I can set its status to ACTIVE, and its published to true. Primitive, but it ensures the produc...
No content to show

User Activity

I figured it out. There is a new GQL endpoint in 2024-04 that works as a substitute. It is accurate up to 10000 and after that you have to deal with the concept that there are more than 10000. 
I have been writing Apps since the first API was released, and I still use this feature as part of my logic. I need to know how many products are in a store before I do certain sync operations. Making a quick call to count() was great. Now that the b...
The standard way to call the Admin API from the front-end of your store is to use the App Proxy pattern. The proxy accepts a call from your store Interior Tonic, and secures it for your backend. Your backend makes the Draft Order, returns and URL if ...
Take a simple block in a theme app extension:    <script src="{{ 'foo.js' | asset_url }}" defer></script>{{ 'foo.css' | asset_url | stylesheet_tag }}{% schema %}{ "name": "Get Foo","target": "section","enabled_on": { "templates": ["product", "metao...
Channels are useless. There is nothing actionable in there. If I recall, it returns encoded gobble-dee-**bleep** that maps to nothing I can use. Or it is nil. So I just fall back to deprecated publication name field. Which is the whole ugly nature of...
It does make it harder to work with Shopify API when these kinds of things persist! Obviously it is a tougher problem then one would think.
Thanks for confirmation @SteveKaran . It is true. We can still use the deprecated publication name field. I do find it awkward though to keep on publishing modern Apps with deprecated code. It irks. I wish this was not an issue, drawn for so long!!
One of the cool things about Shopify is the fact that you can create Draft Orders. So that means you could intercept the Cart before it moves to checkout. You would add product to the Draft Order and price it as per the Customer needs, before passing...
That is very good information! I have recently had success dropping my extension into the header, but I did not check as to why it was working all of a sudden, but I am betting if I dive in and look for this little aspect of it, header rendering as a...
Store 2.0 theme has header.liquid with block that has a type @app.   "blocks": [ { "type": "@app" }, Also, if that exists, it is rendered via this:  {%- for block in app_blocks -%} {%- render block -%} In the theme customize...
Appreciate your participation here! My take on this is that this whole issue on Shopify to properly resolve. One, if you are going to play with deprecations, do it properly. Announce it only when the code you're deprecating has new working code to re...
This answer makes no sense. And you call it the accepted solution? First off, this is not an App associated with a catalog, it is a product. Second of all, how can you deprecate something and offer null as the option? I get it, you need a few days to...
An order has a publication. A publication has a name. So I can see that an order came from the "Online Store". The API tells me the name is now deprecated, so do not use it. Instead, they say, use the catalog assigned to the order, and use the catalo...
In API parlance, that is indeed what you get. Abandoned Checkouts. All the stuff in the cart they never bought.
You have to look at this logically. What is one of the things that will happen millions of times and be of low consequence to anything? Abandoned Carts! So if you stop to wonder why Shopify does not offer a webhook for them, maybe that is the reason....
This widget could not be displayed.
This widget could not be displayed.