Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Browsing all 25503 articles
Browse latest View live

Sprouter commented on How do I get Product Variant Quantity using AJAX ?

That actually worked, but using the product name as a handle is not very reliable on the long run is it ?What if more than one products share exactly the same name...

View Article


HunkyBill commented on How do I get Product Variant Quantity using AJAX ?

When you use a hosted platform, you follow the rules. You don't make up what you think should be the rules. Handles are unique. You cannot dupe them. Therefore they function as an ID without being an...

View Article


Sprouter commented on How do I get Product Variant Quantity using AJAX ?

I am not making up the rules of a hosted platform or trying to hack my way around them.I am trying to learn the rules.One such rule is the syntax rule that a user needs to follow in order to retrieve...

View Article

HunkyBill commented on How do I get Product Variant Quantity using AJAX ?

Whatever dude. I gave you the code that works. You have no obligation to take my free and accurate advice. There are plenty of crickets chirping other answers. Shopify has published their client-side...

View Article

Remi Bouchez commented on How do I get Product Variant Quantity using AJAX ?

As a side note: did you think about getting those information server side with some liquid?Edit: never mind, you might need more than the 50 products (if I'm not mistaken) you can get per page.I'm...

View Article


Remi Bouchez commented on Currency switcher displays symbol. How do I prevent...

Hi Askel,At the bottom of your html I see you already have had a similar modification done:/* Sometimes merchants change their shop currency, let's tell our JavaScript file */...

View Article

vijay commented on Webhook Not working

Hi Chris,yes, I already removed the semicolon.And also validate the request json. same error.{"errors":{"webhook":"Required parameter missing or invalid"}}

View Article

Shop's SKU Count...there must be an easier way by Billy G

I want to do some calculations based on the amount of variants (SKUs) a shop has used, but I cant seem to find an API endpoint for that specific request. Is looping through every product and counting...

View Article


Dmitry Ezhov commented on OAuth documentation error?

Is there is any ability to add form for getting permanent access token from https://SHOP.myshopify.com/admin/apps page? Currently I have to use external app to prepare such request. Can I get...

View Article


Sprouter commented on How do I get Product Variant Quantity using AJAX ?

Hi Remi,Because I'm building a single page shop. There will not be any category pages or product pages. Just one single pages with all the categories and all the products using dropdowns and carousels....

View Article

HunkyBill commented on How do I get Product Variant Quantity using AJAX ?

Good call Remi. Use Liquid to dump out inventory as JSON and then let the JS kick in. I did that 6 years ago but quickly gave up on the pattern as non-performant. Browsers back then choked on the data...

View Article

Massaad commented on 'Order_Name' vs 'Order_Id' when Selecting Orders

Hello again Slav,Order Name generally would be unique unless you are aggregating a few stores together. Then they might overlap a bit since the generation starts similarly. Overall for a primary key...

View Article

Chris Saunders commented on Webhook Not working

Could you include your X-Request-Id header again? That'll help me quickly drill down to finding the request that is failing.

View Article


Server-to-server Invoice Retrieve by Roms94

Hello,I had a look to the API documentation here: http://docs.shopify.com/api/order  I didn't find in the object list (on the left) any "invoice" object.How could we retrieve from server to...

View Article

Slav Ivanyuk commented on 'Order_Name' vs 'Order_Id' when Selecting Orders

I think this about wraps it up.  I do appreciate it!

View Article


Google Map App inside Shopify by wpmike

Hi.  I'm currently planning a custom Google Map app that will be pulling data from a database.  What will be the best way to integrate the app with a Shopify site when the app is finished?  Should I...

View Article

vijay commented on Webhook Not working

Sure Chris. This the last tried request Id.X-Request-Id: bac23589-a232-44ca-bc79-968c2d6a25e0Response: {"errors":{"webhook":"Required parameter missing or invalid"}}Thanks,Vijayendran k. 

View Article


Sébastien Loix commented on No variant Id listed in admin panel for orders...

I got it solved. Actually I thought that by passing variant_id in the line_items the order in Shopify Admin would automatically list the "title" and "sku" from it in my orders.I passed those 2 values...

View Article

Orders created via API do not count into customers "total spent" by Andrew

I am recording orders to a shopify admin via an API successfully, however it seems like the orders recorded via the api are not being included in the customers "Total Spent".For example if I record a...

View Article

Sebastian Szturo commented on Server-to-server Invoice Retrieve

Hey Roms94,What do you mean with "Invoices"?  You can receive all the data you need to create an invoice from the order object. E.g. line_items, total_price, ...

View Article
Browsing all 25503 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>