Shopify Tutorials
Introducing Online Store 2.0: Shopify's New Online Store Functionality
Continue Reading
View Shopify JSON data without API keys or creating a private app
Continue Reading
Get an array from a list in textarea that uses line breaks
Continue Reading
Get current url of any page
Continue Reading
Adding the correct shipping price with discounts
Continue Reading
Get product count and variant count of store
Continue Reading
Conditional Statements - Extended
After learning the basics of conditional statements, we explore the contains, unless, and case operators. The contains operator is used to check a string in within a string or a string within an array of strings. The unless operator runs code if the statement is false. The case operator simplifies many if statements.
Continue Reading
Sections are not showing up in theme customize
Continue Reading
Conditional statements
The foundation of conditional statements can be boiled down to this: if this is true then run this code. You can also expand on that: if this is true then run this code, if not run a different code. Chaining conditions is common with different comparison operators using "or"/"and" to check if values are true or false.
Continue Reading