Turbo Theme sort by doubles the add to cart buttons

Highlighted
Tourist
4 0 1

In our unpublished theme after we used the boost filter tree the sort by feature doubles the quick shop buttons each time i click on a sort by field.

Highlighted
Shopify Partner
9454 1195 3324

Hello, @ConstantinB 

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Highlighted
Tourist
4 0 1

the boost support already helped me

 

for anyone else the check if the element was already there was missing

this has to be added to boost-pfs-filter.js

ProductList.prototype.afterRender = function (data) {
// Build Quick view data
if (!data) data = this.data;
if (boostPFSConfig.custom.quick_shop_enabled) {
this.buildExtrasProductListByAjax(data, 'boost-pfs-quickview', function(results) {
results.forEach(function(result) {
var element = '';
if (boostPFSConfig.custom.quick_shop_style == 'inline') {
element = jQ('[data-boost-theme-quickview="'+ result.id +'"]');
if (element.find('.js-quick-shop-link').length == 0 && element.find('.inline-quickshop').length == 0) {
element.append(result.quickview);
}
} else {
element = jQ('[data-boost-theme-quickview="'+ result.id +'"] div.info');
if (element.find('.js-quick-shop-link').length == 0 && element.find('.inline-quickshop').length == 0) {
element.append(result.quickview);
}
}

0 Likes