r[1] + (356 * 360 > (Date.now()/1000))).map(r => String(r[0])) : [],
specs:[
{
sources: ['related_purchase', 'related_cart', 'related_views', 'related_recent_products', 'similar_products', 'related_top_products'],
maxSuggestions: 8,
collectionIDs: [],
widgetID: 'template--21570093711635__165728523317cbb0ed'
}
],
callback: (response) => {
console.log(response)
console.log(response.payload[0].payload.length, response.payload[0])
console.log('recent', response.payload.recent)
if (response.payload[0].payload.length == 0){
console.log('#shopify-section-template--21570093711635__165728523317cbb0ed')
const el = document.querySelector('#shopify-section-template--21570093711635__165728523317cbb0ed');
el.style.display = 'none';
} else {
initFastSimon(response);
}
}
});
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.RecommendationProductClicked,
data: {
productID: '8375713038611',
},
callback: (response) => {
console.log(response)
console.log(response.payload[0].payload.length, response.payload[0])
if (response.payload[0].payload.length == 0){
console.log('#shopify-section-template--21570093711635__165728523317cbb0ed')
const el = document.querySelector('#shopify-section-template--21570093711635__165728523317cbb0ed');
el.style.display = 'none';
} else {
initFastSimon(response);
}
}
});
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.CollectionProductClicked,
data: {
collectionID: '',
productID: '8375713038611',
},
callback: (response) => {
console.log(response)
console.log(response.payload[0].payload.length, response.payload[0])
if (response.payload[0].payload.length == 0){
console.log('#shopify-section-template--21570093711635__165728523317cbb0ed')
const el = document.querySelector('#shopify-section-template--21570093711635__165728523317cbb0ed');
el.style.display = 'none';
} else {
initFastSimon(response);
}
}
});
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.LookALikeProductClicked,
data: {
productID: '8375713038611',
originalProduct: '8375713038611',
},
callback: (response) => {
console.log(response)
console.log(response.payload[0].payload.length, response.payload[0])
if (response.payload[0].payload.length == 0){
console.log('#shopify-section-template--21570093711635__165728523317cbb0ed')
const el = document.querySelector('#shopify-section-template--21570093711635__165728523317cbb0ed');
el.style.display = 'none';
} else {
initFastSimon(response);
}
}
});
window.FastSimonSDK.event({
eventName: window.FastSimonEventName.DirectProductClicked,
data: {
productID: '8375713038611',
},
callback: (response) => {
console.log(response)
console.log(response.payload[0].payload.length, response.payload[0])
if (response.payload[0].payload.length == 0){
console.log('#shopify-section-template--21570093711635__165728523317cbb0ed')
const el = document.querySelector('#shopify-section-template--21570093711635__165728523317cbb0ed');
el.style.display = 'none';
} else {
initFastSimon(response);
}
}
}); "
class="flex flex-col px-4 py-4 lg:pt-10 lg:pb-10">
you may also like...