we can use an unless tag to include a header section only when the current page is not the landing page. We would add this condition to our theme.liquid file, where the header section is included as {% section ‘header’ %}. Header Footer
Category: Shopify
Call to action on the landing page of shopify
call to action allows clients to drive visitor engagement to specific products, or carry out a specific activity, like creating an account or accessing content. code for my call to action section would look like:
Shopify Theme Blocks
Blocks are modules of content that can be added, removed, and reordered within a section. This allows merchants to have granular control over the look and feel of every aspect of their online store. Each section can have a maximum of 16 blocks per section. For example, creating simple footer to demonstrate how multiple blocks can… Continue reading Shopify Theme Blocks
How to Create Your First Shopify Theme Section
sections are modular components of a Shopify theme that merchants can customize. Sections contain content and settings for specific areas of a Shopify store, such as the basic elements of a product page, or a slideshow component. The theme section is represented as .Json in the Product liquid page A basic example of what a product.json template… Continue reading How to Create Your First Shopify Theme Section
Upload a theme file from your computer
If you have a theme in a ZIP file on your computer, you can upload it to the Themes page in the admin. Before you upload, make sure that your theme files are compressed into a single ZIP file. Steps From your Shopify admin, go to Online Store > Themes. In the Theme library section, click Upload theme. From the Upload theme window, click Choose File to… Continue reading Upload a theme file from your computer
Edit the title and meta description for a page
The title tag and meta description are two of the most important elements of SEO. They are shown in search engine results, and provide information to people who are looking for things related to your products. A good title and description encourages customers to click the link in search results to visit your store. In… Continue reading Edit the title and meta description for a page
How To Push Up Singe File With ThemeKit
For inserting new file to themekit Deploy One file config.yml example configurations
How to Display a Metafield in Shopify
In Product using liquid you only have access to the Product. If you want to access a specific Product Variant you have to loop through the Product Variants. Within the loop you have access to the metafields for a variant.
Approving Private app on shopify
Once you have the store owner’s “myshopify.com” URL, you’ll need to redirect the user to a URL where they can approve your app. The format of this URL is as follows. {shop}The subdomain “myshopify.com” URL that the user gave you. {api_key}Your API key that was provided to you, as per above. {scopes}This is a list… Continue reading Approving Private app on shopify
Shopify public app development from local development environment
1) Go here https://app.shopify.com/services/partners/api_clients and create an APP. 2) Set the App URL (required) to your local URL folder. 3) Set the Redirection URL (required) where you will generate your token locally again: 4) Add the application in your store using the following logic: Note: If 4 doesn’t work you may need to add SLL on your local server and use… Continue reading Shopify public app development from local development environment