Product Labels by Smartify Apps Integration Guide

Product Labels by Smartify Apps adds labels based on predefined rules. You can create Labels for individual products, all products in a Collection, Out stock products, On Sale products, New products or mix these rules together. Here is our guide for integration between Product Labels by Smartify Apps and Boost Product Filter & Search.

About Product Labels by Smartify Apps

1
App Information

  • Product Labels by Smartify Apps allows you to add visually-appealing labels to product images and display them on both product and collection pages. 
  • App details: https://apps.shopify.com/product-labels

2
Product Labels by Smartify Apps Integration Benefit

  • Shoppers can see Labels/Badges in the product item when finding their desired products.

Demo for Product Labels Integration with Boost

We have not yet received any request to integrate with Product Labels by Smartify Apps. However, it should be exactly like in the screenshot.

Product Labels integration


Instruction

Attention: The current document only works with the new front-end lib from Boost Commerce. Please read this document first to know if you are using the latest version.
1
Edit your current theme.
2
Go to the boost-pfs-filter.js file.
3
Add the following script to the ProductList.prototype.afterRender function.
// Integrate Product Labels 
if (typeof SECOMAPP !== "undefined" && typeof SECOMAPP.pl !== "undefined") { 
    SECOMAPP.pl.labelCollections(true); 
}