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":9651782222128,"title":"Kairo Leather Button Sweater Top","handle":"kairo-leather-button-sweater-top","description":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eMaterial : Soft Knitted\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e","published_at":"2024-11-14T15:02:29+05:30","created_at":"2024-11-12T16:59:39+05:30","vendor":"Alamode By Akanksha","type":"Sweaters","tags":["Christmas Collection for women","Cropped sweaters for women","FAST","india75","Knitted sweaters for women","Knitted warm","ready","Ready to ship","SHIPS IN 24-48 HOURS","Sweaters","Western wear for women","winter 2024","Winter Collection","Winter sweaters for women","woolen sweaters"],"price":245000,"price_min":245000,"price_max":245000,"available":true,"price_varies":false,"compare_at_price":349900,"compare_at_price_min":349900,"compare_at_price_max":349900,"compare_at_price_varies":false,"variants":[{"id":49244042395952,"title":"Beige \/ XS","option1":"Beige","option2":"XS","option3":null,"sku":"JC_KAIRO_BG_XS","requires_shipping":true,"taxable":true,"featured_image":{"id":47221130461488,"product_id":9651782222128,"position":4,"created_at":"2024-11-12T17:00:17+05:30","updated_at":"2024-12-29T13:50:58+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","variant_ids":[49244042395952,49244042428720,49244042461488,49244042494256,49244042527024]},"available":true,"name":"Kairo Leather Button Sweater Top - Beige \/ XS","public_title":"Beige \/ XS","options":["Beige","XS"],"price":245000,"weight":200,"compare_at_price":349900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49244042428720,"title":"Beige \/ S","option1":"Beige","option2":"S","option3":null,"sku":"JC_KAIRO_BG_S","requires_shipping":true,"taxable":true,"featured_image":{"id":47221130461488,"product_id":9651782222128,"position":4,"created_at":"2024-11-12T17:00:17+05:30","updated_at":"2024-12-29T13:50:58+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","variant_ids":[49244042395952,49244042428720,49244042461488,49244042494256,49244042527024]},"available":true,"name":"Kairo Leather Button Sweater Top - Beige \/ S","public_title":"Beige \/ S","options":["Beige","S"],"price":245000,"weight":200,"compare_at_price":349900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49244042461488,"title":"Beige \/ M","option1":"Beige","option2":"M","option3":null,"sku":"JC_KAIRO_WH_M","requires_shipping":true,"taxable":true,"featured_image":{"id":47221130461488,"product_id":9651782222128,"position":4,"created_at":"2024-11-12T17:00:17+05:30","updated_at":"2024-12-29T13:50:58+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","variant_ids":[49244042395952,49244042428720,49244042461488,49244042494256,49244042527024]},"available":true,"name":"Kairo Leather Button Sweater Top - Beige \/ M","public_title":"Beige \/ M","options":["Beige","M"],"price":245000,"weight":200,"compare_at_price":349900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49244042494256,"title":"Beige \/ L","option1":"Beige","option2":"L","option3":null,"sku":"JC_KAIRO_BG_L","requires_shipping":true,"taxable":true,"featured_image":{"id":47221130461488,"product_id":9651782222128,"position":4,"created_at":"2024-11-12T17:00:17+05:30","updated_at":"2024-12-29T13:50:58+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","variant_ids":[49244042395952,49244042428720,49244042461488,49244042494256,49244042527024]},"available":true,"name":"Kairo Leather Button Sweater Top - Beige \/ L","public_title":"Beige \/ L","options":["Beige","L"],"price":245000,"weight":200,"compare_at_price":349900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49244042527024,"title":"Beige \/ XL","option1":"Beige","option2":"XL","option3":null,"sku":"JC_KAIRO_BG_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":47221130461488,"product_id":9651782222128,"position":4,"created_at":"2024-11-12T17:00:17+05:30","updated_at":"2024-12-29T13:50:58+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","variant_ids":[49244042395952,49244042428720,49244042461488,49244042494256,49244042527024]},"available":true,"name":"Kairo Leather Button Sweater Top - Beige \/ XL","public_title":"Beige \/ XL","options":["Beige","XL"],"price":245000,"weight":200,"compare_at_price":349900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.alamodelabel.in\/cdn\/shop\/files\/2FE91562-F642-461F-B034-8E7287F23BE3.jpg?v=1735460458","\/\/www.alamodelabel.in\/cdn\/shop\/files\/7F0E3E30-5DF1-4BBE-A834-B111947471FA.jpg?v=1735460458","\/\/www.alamodelabel.in\/cdn\/shop\/files\/CC147B70-DAAF-4484-A240-4CD9ABB2932F.jpg?v=1735460458","\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"],"featured_image":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/2FE91562-F642-461F-B034-8E7287F23BE3.jpg?v=1735460458","options":["Color","Size"],"media":[{"alt":null,"id":39259043070256,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/2FE91562-F642-461F-B034-8E7287F23BE3.jpg?v=1735460458"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/2FE91562-F642-461F-B034-8E7287F23BE3.jpg?v=1735460458","width":800},{"alt":null,"id":39259043332400,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/7F0E3E30-5DF1-4BBE-A834-B111947471FA.jpg?v=1735460458"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/7F0E3E30-5DF1-4BBE-A834-B111947471FA.jpg?v=1735460458","width":800},{"alt":null,"id":39259043529008,"position":3,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/CC147B70-DAAF-4484-A240-4CD9ABB2932F.jpg?v=1735460458"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/CC147B70-DAAF-4484-A240-4CD9ABB2932F.jpg?v=1735460458","width":800},{"alt":null,"id":39259043594544,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/854E8996-FB9B-4270-B8AD-0B59C3D04D98.jpg?v=1735460458","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cmeta charset=\"UTF-8\"\u003e\n\u003cp\u003e\u003cstrong\u003eMaterial : Soft Knitted\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e"}