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":9655045652784,"title":"Laura Long Oversized Woolen Jacket with Scarf","handle":"laura-long-oversized-woolen-jacket-with-scarf","description":"\u003cp\u003e\u003cstrong\u003e\u003cbr\u003eMaterial : Woolen \u003c\/strong\u003e\u003c\/p\u003e","published_at":"2024-11-16T16:01:35+05:30","created_at":"2024-11-15T15:16:17+05:30","vendor":"Alamode By Akanksha","type":"Jackets and Coats","tags":["Christmas Collection for women","Coat","FAST","india75","Jackets and Coats for Women","Knitted sweaters for women","long winter coats for women","Outerwear","oversized coats","Ready to ship","Tweed","winter 2024","Winter Collection","winter collection 2023"],"price":429900,"price_min":429900,"price_max":429900,"available":true,"price_varies":false,"compare_at_price":565000,"compare_at_price_min":565000,"compare_at_price_max":565000,"compare_at_price_varies":false,"variants":[{"id":49255369146672,"title":"Black \/ S","option1":"Black","option2":"S","option3":null,"sku":"JC_LAURA_BL_S","requires_shipping":true,"taxable":true,"featured_image":{"id":47287325458736,"product_id":9655045652784,"position":1,"created_at":"2024-11-15T15:16:44+05:30","updated_at":"2024-12-29T13:50:22+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","variant_ids":[49255008239920,49255008272688,49255008305456,49255008338224,49255369146672]},"available":false,"name":"Laura Long Oversized Woolen Jacket with Scarf - Black \/ S","public_title":"Black \/ S","options":["Black","S"],"price":429900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49255008239920,"title":"Black \/ M","option1":"Black","option2":"M","option3":null,"sku":"JC_LAURA_BL_M","requires_shipping":true,"taxable":true,"featured_image":{"id":47287325458736,"product_id":9655045652784,"position":1,"created_at":"2024-11-15T15:16:44+05:30","updated_at":"2024-12-29T13:50:22+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","variant_ids":[49255008239920,49255008272688,49255008305456,49255008338224,49255369146672]},"available":true,"name":"Laura Long Oversized Woolen Jacket with Scarf - Black \/ M","public_title":"Black \/ M","options":["Black","M"],"price":429900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49255008272688,"title":"Black \/ L","option1":"Black","option2":"L","option3":null,"sku":"JC_LAURA_BL_L","requires_shipping":true,"taxable":true,"featured_image":{"id":47287325458736,"product_id":9655045652784,"position":1,"created_at":"2024-11-15T15:16:44+05:30","updated_at":"2024-12-29T13:50:22+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","variant_ids":[49255008239920,49255008272688,49255008305456,49255008338224,49255369146672]},"available":true,"name":"Laura Long Oversized Woolen Jacket with Scarf - Black \/ L","public_title":"Black \/ L","options":["Black","L"],"price":429900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49255008305456,"title":"Black \/ XL","option1":"Black","option2":"XL","option3":null,"sku":"JC_LAURA_BL_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":47287325458736,"product_id":9655045652784,"position":1,"created_at":"2024-11-15T15:16:44+05:30","updated_at":"2024-12-29T13:50:22+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","variant_ids":[49255008239920,49255008272688,49255008305456,49255008338224,49255369146672]},"available":true,"name":"Laura Long Oversized Woolen Jacket with Scarf - Black \/ XL","public_title":"Black \/ XL","options":["Black","XL"],"price":429900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49255008338224,"title":"Black \/ XXL","option1":"Black","option2":"XXL","option3":null,"sku":"JC_LAURA_BL_XXL","requires_shipping":true,"taxable":true,"featured_image":{"id":47287325458736,"product_id":9655045652784,"position":1,"created_at":"2024-11-15T15:16:44+05:30","updated_at":"2024-12-29T13:50:22+05:30","alt":null,"width":800,"height":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","variant_ids":[49255008239920,49255008272688,49255008305456,49255008338224,49255369146672]},"available":true,"name":"Laura Long Oversized Woolen Jacket with Scarf - Black \/ XXL","public_title":"Black \/ XXL","options":["Black","XXL"],"price":429900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","\/\/www.alamodelabel.in\/cdn\/shop\/files\/2426D9F0-36A7-4EF9-909A-5F705B698488.jpg?v=1735460422","\/\/www.alamodelabel.in\/cdn\/shop\/files\/AA7F3B0E-89CC-4632-80FF-DAF4D2B52C0B.jpg?v=1735460422","\/\/www.alamodelabel.in\/cdn\/shop\/files\/38B34D5A-E31E-4369-BF28-D57E2E512604.jpg?v=1735460422","\/\/www.alamodelabel.in\/cdn\/shop\/files\/A7CB1AE9-366F-4DE4-8656-93F39A0C219F.jpg?v=1735460422"],"featured_image":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","options":["Color","Size"],"media":[{"alt":null,"id":39303248019760,"position":1,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/80C9FE0E-CC3B-4C0E-A473-7040594D7538.jpg?v=1735460422","width":800},{"alt":null,"id":39303248085296,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/2426D9F0-36A7-4EF9-909A-5F705B698488.jpg?v=1735460422"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/2426D9F0-36A7-4EF9-909A-5F705B698488.jpg?v=1735460422","width":800},{"alt":null,"id":39303248118064,"position":3,"preview_image":{"aspect_ratio":0.75,"height":1920,"width":1440,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/AA7F3B0E-89CC-4632-80FF-DAF4D2B52C0B.jpg?v=1735460422"},"aspect_ratio":0.75,"height":1920,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/AA7F3B0E-89CC-4632-80FF-DAF4D2B52C0B.jpg?v=1735460422","width":1440},{"alt":null,"id":39303248150832,"position":4,"preview_image":{"aspect_ratio":0.749,"height":630,"width":472,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/38B34D5A-E31E-4369-BF28-D57E2E512604.jpg?v=1735460422"},"aspect_ratio":0.749,"height":630,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/38B34D5A-E31E-4369-BF28-D57E2E512604.jpg?v=1735460422","width":472},{"alt":null,"id":39303248183600,"position":5,"preview_image":{"aspect_ratio":0.75,"height":1920,"width":1440,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/A7CB1AE9-366F-4DE4-8656-93F39A0C219F.jpg?v=1735460422"},"aspect_ratio":0.75,"height":1920,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/A7CB1AE9-366F-4DE4-8656-93F39A0C219F.jpg?v=1735460422","width":1440}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003e\u003cbr\u003eMaterial : Woolen \u003c\/strong\u003e\u003c\/p\u003e"}