bishpls
Shopify Partner
Contact Me
Status
Offline
Last Activity
‎09-09-2023 02:16 PM
Topic Started
5
Topics Started
Topic Solutions
6
Solutions
Post Count
26
Posts
Post Kudos
21
Likes

Community Badges

No content to show

User Activity

Toy example below:In Liquid:<script>  (function() {    let shopId = {{ shop.id | json }};    window.demoSettings = {      shopId    };  })()</script>Then just access your window object from the JavaScript file you're running your main extension logic...
A workaround for Functions? Not that I'm aware of*. A workaround for a more standard checkout / order flow capturing data? Yes, but it's not pretty. Store any attributes you absolutely must have in localStorage or a cookie, run a separate reconciliat...
fetch(`/discount/${DiscountCode}`) This is the answer, shoutout to Landon Fuhr#2944 for pointing it out. No idea why this isn't documented anywhere!
Literally impossible.  Theme app extensions (and therefore, app blocks / app embeds) cannot load on the Order Status page. ScriptTag API is still pretty much the best way* to integrate tracking scripts. Sounds like the review team is some combinatio...
Does CartLine.attribute map to line_item.properties? https://shopify.dev/api/liquid/objects#line_item-properties  https://shopify.dev/api/ajax/reference/cart#add-line-item-properties (And if so, should that be noted / potentially renamed for consiste...
Currently, the only mechanism for an app or theme to forward dynamic data about a session into a Function is via Cart Attributes. (cart.attribute: https://shopify.dev/api/functions/reference/order-discounts/graphql/common-objects/cart) This is an ext...
Contacted support, got the answer: there is an App Review team, and the process for getting your app looked at is to manually reach out to support, who can forward your app to said Review team for evaluation on potential Collections it fits in to!
Because said documentation does not exist!  See the comments in this Github Issue for a minimal-but-functional way of implementing the manual verification: https://github.com/Shopify/shopify-node-api/issues/256
Did you see this comment in the template file? This is the root of your problem -- your underlying CustomSessionStorage needs to connect to a database, and you need an independent accounting of whether or not an app has gone through the oAuth process...
I've done some poking around, and I can't find any resources on the topic -- anyone know how to go about getting a published app listed in one of the app store collections? I'm particularly looking at the "Works with Online Store 2.0 themes" collecti...
Discount Code application from an app is...to put it mildly, problematic. As far as I can tell, there are two ways that definitely work for a public app to add a DiscountCode to a purchase, without requiring the user to manually enter the code at che...
Are you using body-parsing middleware anywhere in your app? express.json / bodyParser / anything that consumes the req.on('end') event will completely brick the Node package's 'process' function for webhook parsing. 
Do you have the webhook endpoints set up in your partners.shopify.com Admin Dashboard for the app?  You can't subscribe to them via normal API webhook registration, you MUST set the URLs through the "GDPR Mandatory Webhooks" section under App Setup. 
Shopify Partner Support has gotten back to me; developers have confirmed the documentation is erroneous and that theme app extensions do work for standalone apps, and the documentation will be updated to reflect as much!
Addendum: my working theory is that, referencing the list of app extension points (https://shopify.dev/apps/app-extensions/list-of-extensions), Shopify Admin extension points are not available to standalone apps; that's sensible, as they aren't integ...
This widget could not be displayed.
This widget could not be displayed.