Title Replies Last Post
API Announcements Forum

We have created a separateforum wherewe will postall official announcements concerning the Shopify API. Things likenewfeatures and endpoints, upcomingdeprecations and changes orplanned maintenance that might affect your app. Go check it out!https://ecommerce.shopify.com/c/api-announcements We recommend subscribing to that forumto make sure you are always hear aboutthe changes that might a...

May 16 2016 by Shayne
Please read before posting

Hello developers! Before posting on the forums, please make sure you do the following : First, read over ourAPI Referenceand see if your question can be answered with some exploration. Be sure to explain what you've already tried. Are there solutions online that you've already found, which haven't worked? Include enough detail so that answers provided will be helpful and re...

May 16 2016 by Shayne
Count Article Words

Hello All, I just wanna show estimate reading time on our article like medium.com Is there any person in here know how to implement that? I have try insert {{ article.content | number_of_words }} but it doesn't work to count the article words. Thank You

Today by melinda.adninda
Product Visibility on Extra Sales Channels

I've been working on loading some products into Shopify using theAPI. I'm having a hard time settingthe product data so that items are visible on the online store, POS, and Pinterest. Setting a published_scope of 'global' sets it visible on the online store and POS, but not Pinterest. I've also tried adding "pinterest" and similar values to the published_scope b...

Today by Anne M
Metafields not displaying in product.liquid

We had a third party import values as metafields into shopify. I'm trying to use the metafields on our product.liquid page but they're not displaying. Here's an example of the code: {% if product.metafields.global.attribute.material-color %} <div class="description rte" itemprop="description"> <b>Material Color:</b> {{ product.m...

Today by Jason
Webhook HMAC verification passing on Test Notifications but not on real ...

I'm testing a webhook service I've written and everything works fine if I send test notifications from the Notification Settings. However, when I create a transaction though my store, the HMAC verification fails. Store name is Quicklaunch. Here is what I'm seeing from a 'real' order. Computed Hash: Vdv1fGx3VLwM41Q2qluoRKYKUy86GY/Op1XzwrHEVYI= Shopify Hash: OkO1YG...

Yesterday by Aaron Kowall
Accessing an external database through Liquid

Hello, We are trying to customize products through uploading texture files stored on an external database. Is there anyway to access external databases from Liquid. Thanks in advance Ben

Yesterday by Ben Leonardi
Customizing Product via user uploaded texture files saved to database

hello, We are trying to develop an Application within Shopify. What we are trying to do is have the User customize their product with texture files they import themselves and apply to a product. So the question really is two fold. 1) We need share Shopify data about the client buying and customizing the product so we can match it to the correct user. 2) Key strings to access the user&#39...

Yesterday by Ben Leonardi
Getting A 422 Unprocessible Entity In Url_CallBack Response

Im trying to send a callback notification for my hosted payment gateway but I'm getting a "422 Unprocessable Entity" response. When I try to use Postman and setting up the same values(that got a 422 response), it is working well that I'm getting a "200 OK" response,so doesthe payment status of my product is changing to "Paid". This is the generated code sni...

Yesterday by Jera
How to change product visibility on Facebook, Pinterest, and the Buy But...

I got thestiff-arm from Partner Support when I asked this simple API question, so I willtry asking ithere. I am able to manipulate product visibility in the Online store by modifying the value ofpublished_at (by setting it to null or somedate in the past). What I need isa way to hide productsprogrammatically on Facebook, Shopify andvia the Buy Button. I assumethere is noAPI mechanismfo...

Yesterday by Etienne Coutant
Modify Frontend Prices Based on External Data

Hi there, Is it possible to modify prices for certain customers based on external data. We are building an app to add wholesale prices to Shopify products. That data is added in an external database. Is it possible to replace prices in frontend with the data from this external data source? If so, any tips on how this is achieved? Thanks heaps Jason

Yesterday by Jason
Javascript Buy SDK not working in Internet Explorer IE10

Hi, I've follow along these example docs for implementing the Buy SDK. I copiedthe example code exactly (and putin my API and shop ID, etc.) and itworksfine in Chrome, Firefox, Safari, but isn't working in at all in IE 10. I'm not getting any console errors. Any ideas/suggestions?

Yesterday by Jason
App Proxy and AWS API Gateway

I am trying to use AWS API Gateway with the Shopify App Proxy. The proxy is sending the header 'X-Forwarded-Proto' two times, one with 'http' and one with 'https'. API Gateway appears to reject the request if the 'X-Forwarded-Proto' is set to 'http', because the API Gateway service does not support HTTP anymore. Using ngrok I redirected the request loc...

May 22 2016 by Alex Block
No webhook sent when you create orders from the Shopify Admin

As described in this blog posthttps://www.shopify.com/blog/35452741-now-you-can-create-orders-and-accept-credit-cards-in-the-shopify-admin you cannow create orders and accept credit card payments through the Shopify Admin. However no webhook is sent for order create. Why there is no webhook sent when an order is created from admin dashboard?

May 22 2016 by redochka
Published_scope doesn't display correct channels, "web", "global", or "m...

The published_scope is always global no matter what. We need to know when we are only using a product on our mobile sdk. This question has been answer multiple times by the community but no one has the answer. We need help on this and so do all those who posted about this before us. https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/what-is-the-function-of-the-publi...

May 21 2016 by Judopro
Shopify custom attributes issue:How to create them

We vare developing a diamond and jewelry website We have added diamond as product from backed which consist of following fields: Title, Description, Images, Price, Inventory, Shipping, Variants, Product type, Vendor We need to add some additional product attributes like shape, carat, clarity, polish etc These additional attributes are required for further functionality in frontend. We...

May 21 2016 by Paul L. Newton
HMAC verification using PHP

I'm trying to validate the requests coming from Shopify but I'm unable to do so. Here's thecodeI'm using to get the hmac hash from the request (from here): A protocol=http:// or https:// needs to be added to the message $params = $request; unset($params['signature']); unset($params['hmac']); $collected = array_map(function($key, $value) { return $key ....

May 21 2016 by cookseytalbott
Find Order base on Order #

Last week I was able to retrieve an order passing the order # (using name as the key). I would do something like: order =ShopifyAPI::Order.all(params: {:name => orderNumber}) where orderNumber was something like #1001 This worked last week (May 10), as it would retrieve the order, but now it comes back empty collection. any Ideas?

May 20 2016 by Alex
Cannot update image_id for variant

Hi, I'm trying to update image_id field for a given variant, the response returned is 200 OK, but the value is not saved. See below. GET image curl -v -X GET -H "X-Shopify-Access-Token: [hidden]" -H "Content-Type: application/json" -H "Cache-Control: no-cache" "https://test-7269.myshopify.com/admin/products/6588661575/images/12566761479.json" * Trying * C...

May 18 2016 by Jamie D.
Cannot update SmartCollection "published_at" via API

Current SmartCollection object, via GET /admin/smart_collections/87626177.json { "collection": { "id": 87626177, "handle": "bac-water-polo-fall-2015", "title": "BAC Water Polo Fall 2015", "updated_at": "2016-04-28T10:37:05-07:00", "body_html": "Test shop.", "published_at": "2015-09-28T17:00:00-07:00", "sort_order": "alpha-asc", "template_suffix":...

May 20 2016 by Dan Blaker