Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I've been using the following code previously to detect if a reusable piece of code is for a block or section however this no longer seems to work? Has this been removed or is there an alternative method now?
{% comment %} Assign object as block or section {% endcomment %} {% if type == 'block' %} {%- assign object = block -%} {% else %} {%- assign object = section -%} {% endif %} {%- assign id = object.id -%}
{%- if object.settings.parameter -%}Hello world{%- endif -%}
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025