Meet the 25 y/o who makes $30,000 per month with Apps 
Shopify Development news and articles
 
Liquid Weekly

News & Articles

Meet the 25 y/o who makes $30,000 per month with Apps
What makes an app successful? How to come up with ideas? How to validate them? How about ongoing work? That and more is what we're talking about today. :-)
Shopify Bulk Operations with $.flow.rerun
Pipedream - The Shopify Bulk Operations API is a special job running API. It allows you to perform huge data queries via GraphQL without being limited by pagination.However, the more difficult part of using this API is that you have to poll Shopify to ask for the current status of the job. This is because a job could take several minutes or even longer, depending on the amount of data you're asking for. Thanks to the new $.flow.rerun in Node.js code steps, you can now poll Bulk Operations in the same workflow invocation.
Should I Use a Button or a Link?
One of the most seemingly contentious questions in web accessibility is whether or a button or link should be used when creating certain kinds of interactive elements. Why is it so contentious? The question has been answered countless times over the years by accessibility experts. There is also a wealth of reference documentation that answers the question. The answer is straightforward, and I think it's only contentious when there is lack of consideration of why links and buttons both look different and behave in completely different ways.
Shopify: Displaying Order Attributes To Customers Post Purchase
You may have order attributes on your Shopify orders, which have been added during the order process or afterwards using an app to let you staff add them in the admin area. Common uses are for delivery dates, wrapping options or status information beyond the standard Shopify ones. Once the customer has selected them, it can be useful to display these afterwards to remind your customers. This can be reassuring that they selected the correct options and save unnecessary support calls or emails to check.
Bulk-downloading Shopify files
Shopify comes with a pretty good file storage solution, as documented on their help center, you can upload, manage, and delete files from the Files page in Shopify. All files uploaded to Shopify end up here, this means all product images, collections images and images uploaded via Theme/Section settings. I figured out a way to bulk-download these files, it involves scraping the client-side admin UI code via the browser development tools Javascript console then using a Node.js script to download the files to your local machine.
Hiding Shopify pages from search results
Shopify has a defined URL structure, for example, all product URLs include /products/. If you’re used to having complete control over your URL structure, this can feel quite restrictive at first. I tend to quite like working within constraints and the consistent and immutable nature of the URL structure can be a benefit.

Code & Tools

Ask HN: So you moved off Heroku, where did you go?
Did you move your Shopify app off of Heroku due to the recent changes? Check out this thread on Hacker News to get some insights on how others have adapted.
I turned JS into a compiled language (for fun and Wasm)
At work, I have been wrapping my head around Shopify Functions. I don’t want to get too much into the business pitch, but Shopify Functions boil down to Shopify running your code on their servers, tightly integrated with the rest of their business logic. This allows developers to deeply customize Shopify, even in performance-critical sections of the pipeline. In ecommerce, both security and performance are paramount, so WebAssembly - bringing predictable performance and a strong sandbox - makes sense as the fundamental piece of technology.
Security Best Practices for Your Rails Application
Alongside performance and usability, you should always focus on security when creating any web application. Keep in mind that hacking techniques are constantly evolving, just as fast as technology is. So you must know how to secure your users and their data. This article will show you how to create a secure Rails application. The framework is known to be secure by default, but the default configuration is not enough to let you sleep well at night.
var — let — const
A basic cheatsheet to the usage of var — let — const in Javascript. Something we all need from time to time.

Changelog


API

metafieldsSet is now Atomic
As of Admin API version 2023-01, metafieldsSet mutation is now atomic and will not persist changes if any errors are encountered.
Deprecating custom and standardized product type in favor of product category; will be used for sales tax purposes
We’ve added a new productCategory field to the Product object. The product category specifies a category in the Shopify Product Taxonomy.

Tip of the Week

New in @ChromeDevTools’s Style Pane: CSS Authoring Hints!
These hints tell you why certain CSS declarations have no effect.