Questions tagged [shopify-app]

1

votes
0

answer
75

Views

GraphQL Query for track order status in Shopify iOS

I am new in GraphQL and Shopify also. My requirement is track order status using shopify iOS SDK and i am unable to find any solution to track order status. I am able to get user's order list using this query { customer(customerAccessToken: token) { orders(first: 20) { edges { node { id orderNumber...
vipulk617
1

votes
1

answer
113

Views

shopify application charge failing to save

Below is my code for a Shopify one-time-application-charge in Ruby. I followed the shopify 'add billing to your app' page (https://help.shopify.com/api/tutorials/adding-billing-to-your-app) for the code, except didn't need a recurring charge. I have also found someone else who posted their one-time-...
Brady
1

votes
1

answer
77

Views

Update shopify cart with customized product image

I'm working on Shopify public app creation. I have customized a product image and store that image link in a meta field of that particular product. I want to show the customized image I had created when adding the product to cart and other order product listing section without updating actual produc...
Shamon S
1

votes
1

answer
410

Views

how we can get Page-scoped-id from user id in facebook send api?

Before facebook last update I was using Facebook Send message API by passing user reference parameter and getting recipient id in response. Now the Facebook Send message API not returns recipient_id in the response when we use recipient.user_ref or recipient.phone_number to identify the message rec...
Muhammad Adnan
1

votes
0

answer
86

Views

Shopify API Draft Order, Order or Checkout with Custom Taxes

I'm stuck. Even though all the documentation says you can, I can't add custom taxes to a DraftOrder or a Checkout. But oddly enough I can with a regular order. This is my code, and all I change is which object I hit either Order DraftOrder or Checkout order = ShopifyAPI::Checkout.create({ line_items...
ToddT
1

votes
1

answer
58

Views

How does Shopify resolve conflicting App Proxy URLs?

A Shopify app proxy is a URL that an app can automatically set up for you. It is a URL that looks like a store's URL but it is actually proxied to some alternate app URL. example: example.myshopify.com/a/test can be set up by an app to proxy to whatever URL the app wants. Seen here are some settin...
Augie Gardner
1

votes
0

answer
95

Views

Failed to apply plugin [id 'org.gradle.checkstyle']?

How to solve this error? Error:(24, 1) A problem occurred evaluating root project 'myproject10'. Failed to apply plugin [id 'org.gradle.checkstyle'] Could not create service of type CachingFileHasher using TaskExecutionServices.createFileSnapshotter(). subprojects { def projectName = it.name if (pro...
Midhilaj
1

votes
2

answer
250

Views

How to fetch product metafields in cart.js Shopify

How do I get product meta fields in Shopify store cart.js response? Currently, In cart.js not providing any details of product metafields.
Shamon S
1

votes
2

answer
238

Views

Minifying a scss.liquid file

Shahzaib here, coming to you for a bit of help ! I'm still new in the Shopify and liquid stuff but i'm getting there. I'm cutrently trying to minify a scss.liquid file on Shopify, usually when I try to do that with a css file, I use an online minifier, exept that, apprently the scss.liquid format i...
shahzaib dilawar
1

votes
0

answer
126

Views

Oauth error invalid_request: Could not find Shopify API application with api_key Shopify error

I am receiving this error immediately after installing my app in my dev store when attempting to exchange the temporary access code for a permanent token. Oauth error invalid_request: Could not find Shopify API application with api_key I'm using below code $client = new Client(); $response = $client...
Shamon S
1

votes
0

answer
126

Views

How to use Asset API to access liquid file through shopify_api gem ruby on rails

I am new to the shopify app development and I ran into the problem while accessing the template file for example : layout/theme.liquid using the shopify_api gem. I actually am able to setup the gem properly in the app and deploy it correctly. I can access the products and webhooks and also the whole...
aton1004
1

votes
0

answer
35

Views

Shopify nodejs app how to generate logged in url for customer?

We are developing Shopify app for social login, we get accessTocken then we try to create customer from our app and it works fine and now we need to generate logged in url after created user account in Shopify.How to do that?
1

votes
0

answer
33

Views

Difference between Customer.search and Customer.find in Shopify API gem?

I wanted to get email addresses of all customers who have bought our 'foobar' products. First I tried this. It worked pretty fine. Customer.search(query: 'state:enabled').each do |c| c.orders.map do |o| o.line_items.each do |i| t = i.title p c.email if t.include?('foobar') end end end Then I tri...
1

votes
1

answer
179

Views

Create customer using shopify api in application

I'm developing an e-commerce application using react-native. I'm stuck to create a customer using POST method and /admin/customers.json API. When I call this API it gives me error that Unexpected token '>' in Postman. I'm passing every parameter which is required but I failed to get output. Using...
Riddhi
1

votes
0

answer
61

Views

transformClassesWithMultidexlistForShopifyDebug?

Error:Execution failed for task ':sample:transformClassesWithMultidexlistForShopifyDebug'. com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.android.multidex.ClassReferenceListBuilder with argum...
Midhilaj
1

votes
0

answer
154

Views

can't find referenced class issue?

We are using shopify Android buy sdk to develop this app compile 'com.shopify.mobilebuysdk:buy3:3.1.1' compile 'com.shopify.mobilebuysdk:buy3-pay-support:1.0.2' Error and Warning warning: com.facebook.cache.common.cacheerrorlogger: can't find referenced class javax.annotation.nullable warning: com.f...
Midhilaj
1

votes
0

answer
38

Views

link_to method of ruby not working for shopify embedded app

I am creating an embedded app for shopify in Ruby on Rails. And I came across a quick issue which I don't think should be a major one but I am not able to get it working so I was hoping if anyone could help me out. Let me explain the issue. What I have done I have rendered a template where there are...
aton1004
1

votes
1

answer
59

Views

How to apply not filter in shopify rest api?

I'm using Shopify API to get all the products. GET /admin/products.json. Found that i can apply filters only to title, vendor, handle, product type, collection ID. In order to get all the products which has 'aaa' as vendor and 'bbb' as product type. I have applied it as, GET /admin/products.json?ven...
1

votes
1

answer
129

Views

what is the best place to learn shopify theme developing?

Is it possible for anyone to nominate a place, documentation or tutorial to learn developing Shopify themes? I have learned liquid Shopify template language but I can not understand how should I use it in my template or my client's template that I made with (html5 / bootstrap / css3 / js / OOp js /...
Mohamed Elbaz
1

votes
1

answer
103

Views

Shopify Customer Login issue by mobile buy SDK on ios

I am developing a mobile app Builder on Shopify. But Shopify doesn't provide any store back API for customer Login. So I use mobile-buy-sdk for ios for customer login. (I have installed mobile-buy-sdk on ios app and try to get access token by GraphQL) In mobile-buy-sdk I am getting some problems whi...
1

votes
0

answer
104

Views

HTTPError: Response code 422 (Unprocessable Entity) on marking checkout as completed in shopify

I am new on Shopify app development with Shopify node SDK. I am trying to mark a checkout as completed but getting error HTTPError: Response code 422 (Unprocessable Entity). { HTTPError: Response code 422 (Unprocessable Entity) at stream.catch.then.data (/workspace/upsell-node-express/node_modules/...
Asif Saleem
1

votes
0

answer
33

Views

Shopify embed app developement in php redirection problem.

I am making a embed shopify app in php, I am using this app skeleton https://github.com/phpish/shopify_app-skeleton I followed instruction and able to install app. After app install I redirected to a page (Oauth.php) with message 'App Successfully Installed!' But I want to make a embed app so after...
Rich5757
1

votes
0

answer
60

Views

How to check view in memory stack? Application crash in Shopify ProxyView in ios

App crash while scroll. and receive stack in unreadable memory. private class ProxyView: UIView { weak var headerView: UIView? weak var scrollView: UIScrollView? override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { if let scrollView = self.scrollView, let headerView = self.hea...
Nalawala Murtuza
1

votes
2

answer
145

Views

Shopify GraphQL Admin API rate limiting cost and sleep time

I am trying to consume Shopify GraphQL API for Admin in PHP ( Laravel ). Rate limiting and throttling works differently in GraphQL api as compared to REST api, its calculated based on the cost of the query. Few points to keep in mind: Maximum available cost is 1000 for one api call (query). If you h...
awebartisan
1

votes
2

answer
89

Views

Custom Shopify recurring payments / subscriptions

I'm developing a custom app for one of my customers who is using Shopify as their online shop. I want to add a subscription feature to the shop so customers can checkout once but will get their order every x weeks etc. The problem is that I need to connect the shop to an enterprise resource planning...
Andre Zimpel
1

votes
0

answer
50

Views

Create Shopify checkout Redirect URL after login

I want to make my own checkout experience in shopify website so I am building a sales channel app for processing the checkout which is similar to boldcommerce cashier app. Now when any customer click on the checkout button , it should open customer login page(if they are not logged in ) after logged...
Pankaj Pandit
1

votes
0

answer
34

Views

Unable to redirect checkout URL to our app

Can we redirect the checkout URL to our sales channel app URL?. I have created a sales channel and installed it into our storefront. Now when customer want to checkout without login , login page is loading and after login the customer it should be redirect it to sales channel(if they come by clicki...
Pankaj Pandit
1

votes
0

answer
38

Views

Complete Checkout API gives error “Cannot complete the checkout without any transactions shopify”

I am using the sales channel for process the checkout in shopify website. I have created checkout and updated the shipping lines and discount also implemented the paypal standard payment gateway. after making the successful payment a new order is created but after creating the order , I want to com...
Pankaj Pandit
1

votes
0

answer
32

Views

Shopify polaris Use breadcrumbs component without Page

Right now I'm using the Page component in shopify polaris with Reactjs. This component has a breadcrumbs property and it seems like you can only use breadcrumbs within the page component like this: Page content I'm wondering if there is a way to use breadcrumbs without using the Page component. Som...
jim
1

votes
0

answer
35

Views

String issue for shopify customer object {{customer.id}}

$customer_id = '{{customer.id}}'; I get customer id from shopify using above statement. and when I print it using echo it show me 123456789012. But when I var_dump it show me string(15) '123456789012'. and when I used it in if condition it's give me different result for e.g if($customer_id == '12345...
Sachin Sarola
1

votes
0

answer
30

Views

Shopify polaris maintain height ratio of Card in Layout

I'm using shopify polaris to create my shopify app and I'm trying to use the Layout component along with the Card component to properly structure the page. So right now, I have two cards inside of a but the problem is, since the two cards don't have the same amount of data in them, they are of diff...
tee
1

votes
2

answer
51

Views

How to add script to the front side of the shopify app

As i am new to shopify app i created an app and installed over a store with script tag having read and write permission . How can i dynamically add the javascript to the front side of shopify app.
Poonam Karia
1

votes
1

answer
20

Views

Google fonts with shopify polaris Reactjs

I'm having trouble changing fonts of shopify polaris. In my styles.css I have this: @import url('https://fonts.googleapis.com/css?family=Archivo'); .App { font-family: Archivo; text-align: center; font-weight: bold; } And in my index.js I have this: function App() { return ( Test Button ); } I also...
jim
1

votes
1

answer
28

Views

How to get index page content of shopify store using API like we are getting other pages content using shopify admin API

I am developing shopify public app. I just want to know that can I get store home page content for modify and add new content there. I am getting all pages details and it contents by using shopify admin API for get page,create page,update page and delete page like here we use following path for get...
Nisar Saiyed
1

votes
2

answer
330

Views

magnific popup not working In shopify

I am working on custom magnific popup with shopify site.In my header.liquid file am calling the magnific popup content. Open popup popup content here. Here i have added the script in theme.js.liquid $('#open-popup').magnificPopup({ items: [ { src: '#my-popup', type: 'inline' } ], gallery: { enable...
1

votes
1

answer
67

Views

Syntax error: C:/Users/J/metafields-for-shopify/src/SettingsForm.js: Unexpected token, expected , (18:1)

im trying to make a shopify app based off of a tutorial they put up on their blog recently but im stuck with a syntax error of Syntax error: C:/Users/J/metafields-for-shopify/src/SettingsForm.js: Unexpected token, expected , (18:1) Can anyone help me figure out where I've gone wrong... import React,...
Jordan
1

votes
1

answer
26

Views

is it possible to store product fields and tie them into liquid templeting?

Is it possible to store fields into variables for individual products to use elsewhere in the code or am I stuck with only API calls? I'd like to store data for each product into a variables and pass them to the liquid product template to make a dynamic hyperlink for each product. https://imgur.co...
Pyreal
1

votes
1

answer
119

Views

How can I access the webhook data in jobs? (Shopify Rails)

I'm making a Shopify App with rails and I have this: webhooks_controller.rb module ShopifyApp class WebhooksController < ActionController::Base include ShopifyApp::WebhookVerification class ShopifyApp::MissingWebhookJobError < StandardError; end def receive params.try(:permit!) job_args = {shop_doma...
Gyntonic
1

votes
2

answer
860

Views

Request origin cannot be verified - Shopify

I'm developing an app for Shopify. Currently under development stage. Until now, I have successfully managed to authorise the app and then redirect it back to admin page using the Embedded App SDK. However, when I return to the admin page, it gives me an error saying Request origin cannot be verifie...
Vivek Malhotra
1

votes
1

answer
170

Views

How to properly use Sidekiq to process background tasks in Rails

So, i've generated a rails app using https://github.com/Shopify/shopify_app - and for the most part have the app working as intended - it's goal is to get product quantities from an external stock management API, and then update the variant quantities in Shopify with the latest quantities from that...
Marko

View additional questions