Customize app's product list template
Last updated
Last updated
Customizing the product list template in your Shopify store allows you to tailor the appearance and functionality of your collection pages to better align with your brand and enhance the shopping experience. The Smart Product Filter & Search app facilitates this customization. Here's how to proceed:
Open the Smart Product Filter & Search app from your Shopify admin panel.
Navigate to the Settings section.
Ensure that the option to allow file editing is enabled. This setting permits you to customize the app's files directly.
From your Shopify admin, go to Online Store > Themes.
Locate the theme you wish to edit and click on Edit code.
In the Snippets directory, create the globo.filter.product.liquid
file.
Copy the code as screenshot below, then insert it into this new file.
Proceed to make your desired customizations within this file.
After completing your edits, click Save to apply them.
After customizing the template, you need to insert the following code into your theme.liquid file to ensure your changes render properly.
In your Shopify admin, go to Online Store → Themes.
Click Actions → Edit Code.
Open the theme.liquid file.
Scroll to the bottom and find the </body>
tag.
Paste the following code right above the </body>
tag:
Click Save
Preventing Overwrites: The Do not edit this file
comment ensures that the app does not overwrite your customizations when settings are changed within the app.
Editable Product Attributes: When customizing, you can utilize various product attributes, including:
product.available
product.collections
product.compare_at_price
product.description
product.featured_image
product.first_available_variant
product.handle
product.id
product.images
product.options
product.price
product.price_max
product.price_min
product.price_varies
product.tags
product.template_suffix
product.title
product.product_type
product.url
product.variants
product.vendor
💬 Need Help? Contact us at [email protected] – we’re happy to assist! 😊