Questions tagged [shopify]

Shopify is an online platform for creating e-commerce sites and other dynamic websites.

Shopify is an online platform for creating e-commerce sites as well as powerful and dynamic websites. It is themeable and extensible with a RESTful API. The frontend is fully customizable with the use of the open source Liquid markup language.

The backend data (customers, products, orders, blogs, pages, collections...) has no limits with the magic of the flexible/dynamic/infinite database fields called Metafields.


Guidelines :

Use this Stack Overflow tag to ask questions related to Shopify.


Useful Shopify docs :


Other Useful links :

6568 questions
11
votes
4 answers

Shopify API: Create a Promotion?

Using the Shopify API, is there a way to creation promotions for your store? If not, is there a way to programmatically create promotions in Shopify? (short of using CURL posts to the admin) That is, I can create a promotion by hand using the admin…
Alan Storm
  • 157,413
  • 86
  • 367
  • 554
10
votes
2 answers

Shopify - Retrieves multiple variant detail by multiple variant id

Is there any way to get multiple variant details using multiple variant id in single shopify call. Actually, I want to get price of all product variant which are listed in order using shopify call. I know following way for get single variant detail…
tejash patel
  • 581
  • 5
  • 17
10
votes
1 answer

Accessing API works fine with cURL but not with Fetch API

I know this has been addressed a lot of times on SO, but all the answers are mostly in the vein of "add a certain header to the server". In this case, the API (Shopify) works perfectly fine and can easily be accessed via curl. I've tried this both…
JakeParis
  • 10,471
  • 3
  • 34
  • 63
10
votes
1 answer

Shopify API Python Multiple Pictures upload with Python API

I am trying to add more than one picture on Shopify with the Python API however, I am not able to upload 2 pictures to one product. At this time only one picture is being uploaded. How I can add more than 1 picture to Shopify API? import shopify …
ben olsen
  • 613
  • 1
  • 12
  • 22
10
votes
1 answer

Font file 404 when using @font-face in Shopify liquid

I've looked through all the posts I can find here and on Shopify forums and tried a few different things but unfortunately haven't been able to solve my problem. I am developing on a Shopify dev store using the Shopify theme editor app and Sublime…
SilentDesigns
  • 442
  • 1
  • 5
  • 20
9
votes
2 answers

Importing Node Modules With JavaScript

I apologize for the simple question, but I'm pretty new to web development and JavaScript. I want to import a package I've installed using npm, specifically shopify-buy following the guide here: https://shopify.github.io/js-buy-sdk/ The package is…
Kyle2595
  • 175
  • 1
  • 6
  • 13
9
votes
1 answer

Date comparison Logic / in Liquid Template Filter

I'm attempting to create a "Pre-Order" Like mechanic where certain elements of my Shopify Liquid Template only show if the current date is more or less than the date specified in a Metafield. As of current this is what I have including logic: