And <span class="la-dn-price">…</span> around the price section (if present), typically {{itemPrice}}
Mark price section
Add this function before the compileTemplate functions.
Before the end of each of the compileTemplate functions for the gridView (ProductListItem.prototype.compileTemplate) and the listView (ProductGridItem.prototype.compileTemplate), add the following code:
Add tags to HTML
Version 2
HTML Template
Find the file boost-pfs-filter-html.liquid
Find the productGridItemHtml and productListItemHtml sections
Add {{discountNinjaDataTags}} where the data tags should be placed
And <span class="la-dn-price">…</span> around the price section (if present), typically {{itemPrice}}
Mark product price and tags
JavaScript
Find the file boost-pfs-filter.js
Add this function before the compileTemplate functions. (under “BUILD PRODUCT LIST”)
Before the end of each of the compileTemplate functions for the gridView (ProductListItem.prototype.compileTemplate) and the listView (ProductGridItem.prototype.compileTemplate), add the following code:
Add tags to HTML
Find the end of the Filter.prototype.afterRender function
Add the following code:
Dispatch event
QuickView
Find the product.boost-pfs-quickview.liquid file
Add the following to the div with class boost-pfs-quickview-right product-details:
Add the following to the div with class boost-pfs-quickview-price