window.addEventListener('AddItemToCart', function(event) {
const productVariantId = event.detail;
// Perform AJAX request to add item to cart
fetch('/cart/add.js', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
items: [{
id: productVariantId,
quantity: 1,
}],
sections: 'cart-drawer,cart-icon-bubble'
})
})
.then(response => response.json())
.then(data => {
console.log('Item added to cart:', data);
document.documentElement.dispatchEvent(new CustomEvent('cart:refresh', {
bubbles: true
}));
})
.catch((error) => {
console.error('Error adding item to cart:', error);
});
});
$(document).ready(function() {
// Cache the main add to cart area and sticky add to cart button elements
var $mainAddToCart = $('.Product__Info'); // Replace with your actual selector for the main add to cart area
var $stickyAddToCart = $('#stickycart'); // Replace with your actual selector for the sticky add to cart button
// Initially hide the sticky add to cart button
$stickyAddToCart.hide();
// Function to check visibility of main add to cart area
function checkAddToCartVisibility() {
// Check if the main add to cart area is visible in the viewport
var isVisible = $mainAddToCart.is(':visible') &&
$mainAddToCart.offset().top < $(window).scrollTop() + $(window).height() &&
$mainAddToCart.offset().top + $mainAddToCart.outerHeight() > $(window).scrollTop();
// Toggle sticky add to cart button based on visibility
if (isVisible) {
$stickyAddToCart.hide();
} else {
$stickyAddToCart.show();
}
}
// Run the check on scroll and on load
$(window).on('scroll resize', checkAddToCartVisibility);
checkAddToCartVisibility(); // Initial check
});
$(document).ready(function() {
// Show the first tab content by default
$(".tab-content .tab").hide();
$(".tab-content .tab:first").show();
// Handle click on tab link
$(".tab-links li").click(function(event) {
event.preventDefault();
// Remove active class from all tabs and content
$(".tab-links li").removeClass("active");
$(".tab-content .tab").removeClass("active").hide();
// Add active class to clicked tab and show the corresponding content
$(this).addClass("active");
var target = $(this).find("a").attr("href");
$(target).addClass("active").show();
});
$('.recrecenttab a').on('click', function(){
$('.recrecenttab a').removeClass('active');
$(this).addClass('active');
var isssss = $(this).attr('data_title');
$('.producttab').each(function(){
var isssssss = $(this).attr('data_title');
if(isssssss == isssss){
$(this).show();
// alert(isssss);
}else{
$(this).hide();
}
});
});
});
Get the app now
🎉Save 5% on your first order📱
Looks like you don't have the app installed
DOWNLOAD APP
Get our app now!
Scan the QR code below!
{"id":9781709242672,"title":"Maiko Halterneck Summer Top","handle":"maiko-halterneck-summer-top","description":"\u003cp\u003e\u003cstrong\u003eMaterial : Cotton Blend\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2025-03-20T17:04:32+05:30","created_at":"2025-03-19T16:59:38+05:30","vendor":"Alamode By Akanksha","type":"Tops","tags":["backless top for women","Beige top for women","embroidered top for women","FAST","Floral Theme","Genz","Halter neck tops for women","Holiday Collection","holiday wear for women","india75","Ready to ship","summer 24","Summer Collection","summer tops for women","Western wear for women"],"price":245000,"price_min":245000,"price_max":245000,"available":true,"price_varies":false,"compare_at_price":309900,"compare_at_price_min":309900,"compare_at_price_max":309900,"compare_at_price_varies":false,"variants":[{"id":49635314958640,"title":"XS","option1":"XS","option2":null,"option3":null,"sku":"TP_MAIKO_XS","requires_shipping":true,"taxable":true,"featured_image":{"id":48984182522160,"product_id":9781709242672,"position":1,"created_at":"2025-03-19T17:04:04+05:30","updated_at":"2025-03-19T17:04:26+05:30","alt":null,"width":815,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","variant_ids":[49635314958640,49635314991408,49635315024176,49635315056944,49635317645616]},"available":true,"name":"Maiko Halterneck Summer Top - XS","public_title":"XS","options":["XS"],"price":245000,"weight":200,"compare_at_price":309900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49635314991408,"title":"S","option1":"S","option2":null,"option3":null,"sku":"TP_MAIKO_S","requires_shipping":true,"taxable":true,"featured_image":{"id":48984182522160,"product_id":9781709242672,"position":1,"created_at":"2025-03-19T17:04:04+05:30","updated_at":"2025-03-19T17:04:26+05:30","alt":null,"width":815,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","variant_ids":[49635314958640,49635314991408,49635315024176,49635315056944,49635317645616]},"available":true,"name":"Maiko Halterneck Summer Top - S","public_title":"S","options":["S"],"price":245000,"weight":200,"compare_at_price":309900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49635315024176,"title":"M","option1":"M","option2":null,"option3":null,"sku":"TP_MAIKO_M","requires_shipping":true,"taxable":true,"featured_image":{"id":48984182522160,"product_id":9781709242672,"position":1,"created_at":"2025-03-19T17:04:04+05:30","updated_at":"2025-03-19T17:04:26+05:30","alt":null,"width":815,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","variant_ids":[49635314958640,49635314991408,49635315024176,49635315056944,49635317645616]},"available":true,"name":"Maiko Halterneck Summer Top - M","public_title":"M","options":["M"],"price":245000,"weight":200,"compare_at_price":309900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49635315056944,"title":"L","option1":"L","option2":null,"option3":null,"sku":"TP_MAIKO_L","requires_shipping":true,"taxable":true,"featured_image":{"id":48984182522160,"product_id":9781709242672,"position":1,"created_at":"2025-03-19T17:04:04+05:30","updated_at":"2025-03-19T17:04:26+05:30","alt":null,"width":815,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","variant_ids":[49635314958640,49635314991408,49635315024176,49635315056944,49635317645616]},"available":true,"name":"Maiko Halterneck Summer Top - L","public_title":"L","options":["L"],"price":245000,"weight":200,"compare_at_price":309900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49635317645616,"title":"XL","option1":"XL","option2":null,"option3":null,"sku":"TP_MAIKO_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":48984182522160,"product_id":9781709242672,"position":1,"created_at":"2025-03-19T17:04:04+05:30","updated_at":"2025-03-19T17:04:26+05:30","alt":null,"width":815,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","variant_ids":[49635314958640,49635314991408,49635315024176,49635315056944,49635317645616]},"available":false,"name":"Maiko Halterneck Summer Top - XL","public_title":"XL","options":["XL"],"price":245000,"weight":200,"compare_at_price":309900,"inventory_management":"shopify","barcode":"","featured_media":{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_10.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_11.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_12.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_13.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_14.jpg?v=1742384066","\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_16.jpg?v=1742384066"],"featured_image":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","options":["Size"],"media":[{"alt":null,"id":40452343136560,"position":1,"preview_image":{"aspect_ratio":0.755,"height":1080,"width":815,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066"},"aspect_ratio":0.755,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_15.jpg?v=1742384066","width":815},{"alt":null,"id":40452342939952,"position":2,"preview_image":{"aspect_ratio":0.752,"height":1080,"width":812,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_10.jpg?v=1742384066"},"aspect_ratio":0.752,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_10.jpg?v=1742384066","width":812},{"alt":null,"id":40452343005488,"position":3,"preview_image":{"aspect_ratio":0.75,"height":1080,"width":810,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_11.jpg?v=1742384066"},"aspect_ratio":0.75,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_11.jpg?v=1742384066","width":810},{"alt":null,"id":40452343038256,"position":4,"preview_image":{"aspect_ratio":0.753,"height":1080,"width":813,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_12.jpg?v=1742384066"},"aspect_ratio":0.753,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_12.jpg?v=1742384066","width":813},{"alt":null,"id":40452343071024,"position":5,"preview_image":{"aspect_ratio":0.754,"height":1080,"width":814,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_13.jpg?v=1742384066"},"aspect_ratio":0.754,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_13.jpg?v=1742384066","width":814},{"alt":null,"id":40452343103792,"position":6,"preview_image":{"aspect_ratio":0.752,"height":1080,"width":812,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_14.jpg?v=1742384066"},"aspect_ratio":0.752,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_14.jpg?v=1742384066","width":812},{"alt":null,"id":40452343169328,"position":7,"preview_image":{"aspect_ratio":0.752,"height":1080,"width":812,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_16.jpg?v=1742384066"},"aspect_ratio":0.752,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/IMG-20353445_16.jpg?v=1742384066","width":812}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003eMaterial : Cotton Blend\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e"}