Convert Old Shopify Theme Into Shopify 2.0

Steps: 1. Remove {% section %} tags 2. Move surrounding {% section %} codes into their own sections for example: {% section ‘product-faqs’ %} will be now product-faqs.liquid under SECTIONS 3. Replace the Liquid template with a JSON template. For example: page-faq-template.liquid will be page.faq.json 4. Add in references to the sections into your new […]

Remove Trailing Zeros From Shopify Price With JS

1. In your Shopify Admin go to online store > themes > actions > edit code 2. In your theme.liquid file, find the (press CTRL + F or command + F on Mac) 3. paste this code right above the tag

Add ACF Local JSON

Add index.php inside the acf-json folder for security #Here is the code example