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":6820879990831,"title":"James Tie and Dye Pullover","handle":"james-tie-and-dye-pullover","description":"\u003cp\u003e\u003cstrong\u003eMaterial : Knitted\u003c\/strong\u003e\u003c\/p\u003e","published_at":"2021-12-11T00:04:35+05:30","created_at":"2021-12-11T00:04:35+05:30","vendor":"Alamode By Akanksha","type":"Sweaters","tags":["Full sleeves tops for women","india75","Knitted sweaters for women","Pullovers for women","Sweaters","Western wear for women"],"price":215000,"price_min":215000,"price_max":215000,"available":false,"price_varies":false,"compare_at_price":249900,"compare_at_price_min":249900,"compare_at_price_max":249900,"compare_at_price_varies":false,"variants":[{"id":40315292942383,"title":"Code 1 \/ S","option1":"Code 1","option2":"S","option3":null,"sku":"ST_Jame_C1_S","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004630575,"product_id":6820879990831,"position":1,"created_at":"2021-12-11T00:04:51+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","variant_ids":[40315292942383,40315292975151,40315293007919,40315293040687]},"available":false,"name":"James Tie and Dye Pullover - Code 1 \/ S","public_title":"Code 1 \/ S","options":["Code 1","S"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509534767,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315292975151,"title":"Code 1 \/ M","option1":"Code 1","option2":"M","option3":null,"sku":"ST_Jame_C1_M","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004630575,"product_id":6820879990831,"position":1,"created_at":"2021-12-11T00:04:51+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","variant_ids":[40315292942383,40315292975151,40315293007919,40315293040687]},"available":false,"name":"James Tie and Dye Pullover - Code 1 \/ M","public_title":"Code 1 \/ M","options":["Code 1","M"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509534767,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293007919,"title":"Code 1 \/ L","option1":"Code 1","option2":"L","option3":null,"sku":"ST_Jame_C1_L","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004630575,"product_id":6820879990831,"position":1,"created_at":"2021-12-11T00:04:51+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","variant_ids":[40315292942383,40315292975151,40315293007919,40315293040687]},"available":false,"name":"James Tie and Dye Pullover - Code 1 \/ L","public_title":"Code 1 \/ L","options":["Code 1","L"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509534767,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293040687,"title":"Code 1 \/ XL","option1":"Code 1","option2":"XL","option3":null,"sku":"ST_Jame_C1_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004630575,"product_id":6820879990831,"position":1,"created_at":"2021-12-11T00:04:51+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","variant_ids":[40315292942383,40315292975151,40315293007919,40315293040687]},"available":false,"name":"James Tie and Dye Pullover - Code 1 \/ XL","public_title":"Code 1 \/ XL","options":["Code 1","XL"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509534767,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293073455,"title":"Code 2 \/ S","option1":"Code 2","option2":"S","option3":null,"sku":"ST_Jame_C2_S","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004237359,"product_id":6820879990831,"position":2,"created_at":"2021-12-11T00:04:47+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","variant_ids":[40315293073455,40315293106223,40315293138991,40315293171759]},"available":false,"name":"James Tie and Dye Pullover - Code 2 \/ S","public_title":"Code 2 \/ S","options":["Code 2","S"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509272623,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293106223,"title":"Code 2 \/ M","option1":"Code 2","option2":"M","option3":null,"sku":"ST_Jame_C2_M","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004237359,"product_id":6820879990831,"position":2,"created_at":"2021-12-11T00:04:47+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","variant_ids":[40315293073455,40315293106223,40315293138991,40315293171759]},"available":false,"name":"James Tie and Dye Pullover - Code 2 \/ M","public_title":"Code 2 \/ M","options":["Code 2","M"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509272623,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293138991,"title":"Code 2 \/ L","option1":"Code 2","option2":"L","option3":null,"sku":"ST_Jame_C2_L","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004237359,"product_id":6820879990831,"position":2,"created_at":"2021-12-11T00:04:47+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","variant_ids":[40315293073455,40315293106223,40315293138991,40315293171759]},"available":false,"name":"James Tie and Dye Pullover - Code 2 \/ L","public_title":"Code 2 \/ L","options":["Code 2","L"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509272623,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]},{"id":40315293171759,"title":"Code 2 \/ XL","option1":"Code 2","option2":"XL","option3":null,"sku":"ST_Jame_C2_XL","requires_shipping":true,"taxable":true,"featured_image":{"id":30460004237359,"product_id":6820879990831,"position":2,"created_at":"2021-12-11T00:04:47+05:30","updated_at":"2024-12-29T14:45:24+05:30","alt":"James Tie and Dye Pullover - Alamode By Akanksha","width":1080,"height":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","variant_ids":[40315293073455,40315293106223,40315293138991,40315293171759]},"available":false,"name":"James Tie and Dye Pullover - Code 2 \/ XL","public_title":"Code 2 \/ XL","options":["Code 2","XL"],"price":215000,"weight":200,"compare_at_price":249900,"inventory_management":"shopify","barcode":null,"featured_media":{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509272623,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724"}},"requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_bf7c3b84-345d-4d66-b8cd-4016cd622e44.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_14d6a02f-0135-487f-93ee-f017a58e1dcb.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_d6b98404-3be5-48ff-882a-7593549e521b.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_51ca8ac6-a8d0-471d-b0d7-7b8950eb2d9c.jpg?v=1735463724","\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_391c0ce4-aaee-4f2f-bb7e-dce3d0a1c7bb.jpg?v=1735463725"],"featured_image":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","options":["Color","Size"],"media":[{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509534767,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_150cd1ef-f3cd-49ad-8b5a-865fe0eb26eb.jpg?v=1735463724","width":1080},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509272623,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1080,"width":1080,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724"},"aspect_ratio":1.0,"height":1080,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_c171733d-4483-464c-8274-bd4e71fa09b8.jpg?v=1735463724","width":1080},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509043247,"position":3,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_bf7c3b84-345d-4d66-b8cd-4016cd622e44.jpg?v=1735463724"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_bf7c3b84-345d-4d66-b8cd-4016cd622e44.jpg?v=1735463724","width":800},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509305391,"position":4,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_14d6a02f-0135-487f-93ee-f017a58e1dcb.jpg?v=1735463724"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_14d6a02f-0135-487f-93ee-f017a58e1dcb.jpg?v=1735463724","width":800},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509731375,"position":5,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_d6b98404-3be5-48ff-882a-7593549e521b.jpg?v=1735463724"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_d6b98404-3be5-48ff-882a-7593549e521b.jpg?v=1735463724","width":800},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819509764143,"position":6,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_51ca8ac6-a8d0-471d-b0d7-7b8950eb2d9c.jpg?v=1735463724"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_51ca8ac6-a8d0-471d-b0d7-7b8950eb2d9c.jpg?v=1735463724","width":800},{"alt":"James Tie and Dye Pullover - Alamode By Akanksha","id":22819508617263,"position":7,"preview_image":{"aspect_ratio":1.0,"height":800,"width":800,"src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_391c0ce4-aaee-4f2f-bb7e-dce3d0a1c7bb.jpg?v=1735463725"},"aspect_ratio":1.0,"height":800,"media_type":"image","src":"\/\/www.alamodelabel.in\/cdn\/shop\/products\/image_391c0ce4-aaee-4f2f-bb7e-dce3d0a1c7bb.jpg?v=1735463725","width":800}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003e\u003cstrong\u003eMaterial : Knitted\u003c\/strong\u003e\u003c\/p\u003e"}