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":9657847710000,"title":"Ferria Oversized Woolen Long Overcoat","handle":"ferria-oversized-woolen-long-overcoat","description":"\u003cp\u003e\u003cstrong\u003e\u003cbr\u003eMaterial : Woolen \u003c\/strong\u003e\u003c\/p\u003e","published_at":"2024-11-21T16:25:04+05:30","created_at":"2024-11-19T16:53:03+05:30","vendor":"Alamode By Akanksha","type":"Jackets and Coats","tags":["Coat","FAST","india75","Jackets and Coats for Women","Jackets for women","long winter coats for women","Outerwear","oversized coats","Ready to ship","winter 2024","Winter coats for women","Winter Collection"],"price":399900,"price_min":399900,"price_max":399900,"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":49263763423536,"title":"Black \/ S","option1":"Black","option2":"S","option3":null,"sku":"JC_FERRIA_BL_S","requires_shipping":true,"taxable":true,"featured_image":{"id":47336944795952,"product_id":9657847710000,"position":1,"created_at":"2024-11-19T16:53:23+05:30","updated_at":"2024-12-29T13:49:37+05:30","alt":null,"width":498,"height":660,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","variant_ids":[49263763423536,49263763456304,49263763489072,49263763521840,49263763554608]},"available":true,"name":"Ferria Oversized Woolen Long Overcoat - Black \/ S","public_title":"Black \/ S","options":["Black","S"],"price":399900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49263763456304,"title":"Black \/ M","option1":"Black","option2":"M","option3":null,"sku":"JC_FERRIA_BL_M","requires_shipping":true,"taxable":true,"featured_image":{"id":47336944795952,"product_id":9657847710000,"position":1,"created_at":"2024-11-19T16:53:23+05:30","updated_at":"2024-12-29T13:49:37+05:30","alt":null,"width":498,"height":660,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","variant_ids":[49263763423536,49263763456304,49263763489072,49263763521840,49263763554608]},"available":true,"name":"Ferria Oversized Woolen Long Overcoat - Black \/ M","public_title":"Black \/ M","options":["Black","M"],"price":399900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49263763489072,"title":"Black \/ L","option1":"Black","option2":"L","option3":null,"sku":"JC_FERRIA_BL_L","requires_shipping":true,"taxable":true,"featured_image":{"id":47336944795952,"product_id":9657847710000,"position":1,"created_at":"2024-11-19T16:53:23+05:30","updated_at":"2024-12-29T13:49:37+05:30","alt":null,"width":498,"height":660,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","variant_ids":[49263763423536,49263763456304,49263763489072,49263763521840,49263763554608]},"available":true,"name":"Ferria Oversized Woolen Long Overcoat - Black \/ L","public_title":"Black \/ L","options":["Black","L"],"price":399900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49263763521840,"title":"Black \/ XL","option1":"Black","option2":"XL","option3":null,"sku":"JC_FERRIA_BL_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":47336944795952,"product_id":9657847710000,"position":1,"created_at":"2024-11-19T16:53:23+05:30","updated_at":"2024-12-29T13:49:37+05:30","alt":null,"width":498,"height":660,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","variant_ids":[49263763423536,49263763456304,49263763489072,49263763521840,49263763554608]},"available":true,"name":"Ferria Oversized Woolen Long Overcoat - Black \/ XL","public_title":"Black \/ XL","options":["Black","XL"],"price":399900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":49263763554608,"title":"Black \/ XXL","option1":"Black","option2":"XXL","option3":null,"sku":"JC_FERRIA_BL_XXL","requires_shipping":true,"taxable":true,"featured_image":{"id":47336944795952,"product_id":9657847710000,"position":1,"created_at":"2024-11-19T16:53:23+05:30","updated_at":"2024-12-29T13:49:37+05:30","alt":null,"width":498,"height":660,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","variant_ids":[49263763423536,49263763456304,49263763489072,49263763521840,49263763554608]},"available":true,"name":"Ferria Oversized Woolen Long Overcoat - Black \/ XXL","public_title":"Black \/ XXL","options":["Black","XXL"],"price":399900,"weight":200,"compare_at_price":565000,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","\/\/www.alamodelabel.in\/cdn\/shop\/files\/9A90B721-2FA3-48A2-AF4F-4C04640535CF.jpg?v=1735460377"],"featured_image":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","options":["Color","Size"],"media":[{"alt":null,"id":39341823885616,"position":1,"preview_image":{"aspect_ratio":0.755,"height":660,"width":498,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377"},"aspect_ratio":0.755,"height":660,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/ACAE4FCA-354E-4059-AD9D-9EEF9D65D1E7.jpg?v=1735460377","width":498},{"alt":null,"id":39341823918384,"position":2,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/9A90B721-2FA3-48A2-AF4F-4C04640535CF.jpg?v=1735460377"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/files\/9A90B721-2FA3-48A2-AF4F-4C04640535CF.jpg?v=1735460377","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003e\u003cbr\u003eMaterial : Woolen \u003c\/strong\u003e\u003c\/p\u003e"}