Webwizzy
Shopify Partner
Contact Me
Status
Offline
Last Activity
‎01-07-2025 12:48 PM
Topic Started
7
Topics Started
Topic Solutions
1
Solution
Post Count
18
Posts
Post Kudos
4
Likes

Bio: Fullstack Developer - Founder of the cryptocurrency market data aggregator, https://www.bitculator.com

Community Badges

No content to show

User Activity

Hello, i'm in a situation where my local machine went off rails so i had to format it.This means i lost some code that were not pushed to my version control (GIT) ... The problem is the Shopify version has an extension named "discount-bundle", the wh...
I can add "sections" to the request like so: (saw this in the original request from the normal add to cart button)fetch(window.Shopify.routes.root + `cart/add.js`, { method: 'POST', headers: { 'Content-Type': 'application/json' }, ...
Hello, i have followed the Cart API reference to successfully set a post request that adds items to the cart: https://shopify.dev/docs/api/ajax/reference/cartHowever, cart icon (#1) is not being updated with the new quantity?. I have to refresh the p...
In newer versions of the app bridge its defined like this:import { useAppBridge } from '@shopify/app-bridge-react'; You then have a settings object where you can access the locale: const appBridge = useAppBridge();appBridge.config.locale
I found the answer rather quickly, its now called:import { useAppBridge } from '@shopify/app-bridge-react'; You then have a settings object where you can access the locale: const appBridge = useAppBridge();appBridge.config.locale
I need the user selected locale for the admin panel, in this post: https://community.shopify.com/c/shopify-apps/how-to-display-an-app-in-the-user-s-selected-admin-language/td-p/1936404They suggest using 2 helper hooks "useShopifyUserLocale" and "useL...
I dont have useLocale nor useShopifyUserLocale?
Heads up, if i change the namespace at creation from "$app:discount-shipping" to a random string like: test_meta_field_test and use that in my query, then I get the metafields!But that's not very generic/dynamic? that means I have to hardcode this no...
Hello, I have created a Shopify CLI Discount shipping - Function The function works perfectly fine, it applies the discounts and I can read the metadata in the run.ts from the graphql.ts However, I need the metafield(s) in the admin interface as well...
That can't be true, can it? That seems extremely inefficient
For some reason, this is only returning DiscountAutomaticFreeShipping created from the normal discounts and not the ones from the app?  query { automaticDiscountNodes(first:10){ nodes{ automaticDiscount{ __typename ... on ...
Hello, I have created a "Discounts Shipping - Function" through the CLI, I have successfully created an interface in the admin panel that saves data that are then read by run.graphql and used in run.tsThats mega awesome, however, I need to show a lis...
I found out why, it was because I did not save the meta to the discountId, but instead to the shopId. 
I have created the definition:export const loader: LoaderFunction = async ({request}) => { const {admin} = await authenticate.admin(request); const fieldDefinition = await setMetaFieldDefinition( admin, 'Discount - Shipping', ...
Hello Deluxe, thanks for taking the time to reply to my message.Unfortunately, your solution didn't make any changes, I'm still not able to load the app-owned namespace, I am however able to load the hardcoded namespace in my .liquid files I am not ...
My Accepted Solutions
This widget could not be displayed.
This widget could not be displayed.