BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Koya
Rated 5.0 out of 5 stars
55 Reviews
 variant.price){
      onSale = true;
    }else{
      onSale = false;
    }
  }"
  @set-onetime-price.window="if($event.detail.id == 7583491752117) {
    if(!$event.detail.subscribe){
      variant.price = $event.detail.new_price; 
      variant.orignal_price = $event.detail.new_orignal_price;
    }
  }"
  @set-subscription-price.window="if($event.detail.id == 7583491752117) {
    if($event.detail.subscribe){
      variant.price = $event.detail.new_price; 
      variant.orignal_price = $event.detail.new_orignal_price;
    }
  }"
  @discounted-price.window="if($event.detail.id == 7583491752117) {
    variant.price = $event.detail.new_price; 
    variant.orignal_price = $event.detail.new_orignal_price;
  }"
  
    @variant-updated.window="variant.price = $event.detail.variant.price; if(!isBundle){ soldOut = !$event.detail.availibility }"
  
  @discount-applied.window="$nextTick(() => checkDiscountCode())"
  @discount-removed.window="$nextTick(() => checkDiscountCode())"
  class="price text-xl justify-center lg:justify-between font-semibold flex gap-x-2 items-center price--show-badge ">
  
        Κανονική τιμή
        
          $47.00
        
        
          
            
          
        
      
      Τιμή μονάδας
      
        
        
         ανά 
        
        
      
    
  
                styles:
            
        
        
            
        
       
    
                limited edition:
            
        
        
            
        
       
     SHIPS SAME OR NEXT DAY
                  
                    SHIPS SAME OR NEXT DAY
                  
                 90 DAY RETURNS
                  
                    90 DAY RETURNS
                  
                - Get your beauty rest with this satin pillowcase inspired by BT21, featuring the gifted sleepyhead KOYA and a funky floral print on the back
- Helps to tame frizz & reduce breakage while sleeping by creating less friction
- Helps reduce breakouts by absorbing less moisture and dirt
- Helps to prevent facial creases from sleeping
- Gentle on skin, hair, eyelashes & eyebrows
- Stays cool all night
- OEKO-TEX® Certified: This certifies that our satin is safe, sustainable, and environmentally friendly
- Includes 1 Queen/Standard size pillowcase (26"x19")
 {
        discount_percentage = $event.detail?.percentage || 0;
    })"
    x-init="$watch('selected', value => {
        if (value.length != total_items) {
            discount_percentage = 0;
        }else{
            discount_percentage = 0;
        }
         
            const cookieDiscount = Unick.getCookie('discount_code');
            if(cookieDiscount){
                const discount = discount_table.find((item) => {
                    return item.toLowerCase().includes(cookieDiscount.toLowerCase());
                });
                const discountValue = discount?.split(':')[1] || 0;
                discount_percentage += parseInt(discountValue);
            }
        
    })"
    x-data="{
        
            discount_table: JSON.parse(JSON.stringify(`WINTER24:20,Secretsale:25,Kitsch25:25,FB20:20,WELCOME20:20,Kitschwelcome:20,SUMMEREND:20,15Kitsch:15,Fall15:15,CODE10:10,HAIRDAY24:25,discount:28, discount:25`)).split(','),
        
        renderPrice(price){
            let total = price;
            if(this.discount_percentage > 0){
                total = price - (price * (this.discount_percentage / 100));
            }
            return Unick.formatMoney(total);
        },
        selected: [],
        fixed_product: false,
        discount_percentage: 0,
        total_items: 8,
        add(item) {
            this.selected.push(item)
        },
        remove(id) {
            this.selected = this.selected.filter(item => item.id !== id)
        },
        isInBundle(id) {
            return this.selected.some(item => item.id === id)
        },
        priceBeforeDiscount(){
            let total = 0;
            this.selected.forEach(function (item) {
                total += item.price;
            })
            return total;
        },
        totalPrice(){
            let total = 0;
            this.selected.forEach(function (item) {
                total += item.price;
            })
            total = total - (total * (this.discount_percentage / 100));
            let extraDiscount = 0;
             
            return total - extraDiscount;
        },
        addToCart(){
            let cartObj = [];
            let bundleTitle = 'BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Koya';
            let bundleHandle = 'bt21-x-kitsch-satin-pillowcase-standard-koya';
            let bundleCount = '8';
            let bundleQty = 1;
            let index = 0;
            
            this.selected.forEach(function (item) {
                cartObj.push({
                    quantity: 1,
                    id: item.variants[0].id,
                    properties: {
                        '_fbt_bundle': bundleTitle,
                        '_fbt_bundle_handle': bundleHandle,
                        '_fbt_bundle_count': bundleCount,
                    }
                })
            })
            if(this.fixed_product && this.total_items == this.selected.length){
                cartObj = [];
                cartObj.push({
                    quantity: 1,
                    id: this.fixed_product,
                })
            }
            fetch(routes.cart_add_url + '.js', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json'
                },
                body: JSON.stringify({
                    items: cartObj
                })
            })
            .then(response => {
                // Update cart with event dispatch
                this.$dispatch('update-cart', { cart: response });
                // Open cart after adding product
                this.$dispatch('toggle-cart-drawer');
            });
            
        }
    }">
    
        
        
            
                
                    ![]() +
                    +
                
            
        
        
    
        
            
Frequently Bought Together
            Total price: 
            
            
        
        
    
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Koya 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - RJ 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Shooky 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Mang 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Chimmy 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Tata 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Cooky 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
            
                
                    BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Van 
                    
                        
                        
                        
                            
                                $47.00
                            
                            
                                $47.00
                            
                        
                    
            
        
     {
        let mainAddToCart = document.querySelector('.product__info-wrapper .button-add-to-cart');
        if(mainAddToCart) {
            let rect = mainAddToCart.getBoundingClientRect();
            // Hide floating cart when main button is visible (with some buffer)
            show = rect.top > window.innerHeight || rect.bottom < 0;
        } else {
            // If main button not found, show floating cart
            show = true;
        }
    })"
    x-init="$nextTick(() => {
        // Initialize visibility state
        let mainAddToCart = document.querySelector('.product__info-wrapper .button-add-to-cart');
        if(mainAddToCart) {
            let rect = mainAddToCart.getBoundingClientRect();
            show = rect.top > window.innerHeight || rect.bottom < 0;
        }
    })"
    class="add-to-cart-footer p-3 bg-white text-black fixed bottom-0 w-full z-20 shadow border-t">
    
        
 {
                selectOptions[$event.detail?.position] = $event.detail?.event?.target.value;
                let getVariant = Unick.findVariant(variants , selectOptions); 
                selectedVariant = (getVariant) ? getVariant : null;
            })">
            
                 
                
                    
            
            
                
     
                BT21 x Kitsch Σατέν μαξιλαροθήκη Standard - Koya
                    
 variant.price){
      onSale = true;
    }else{
      onSale = false;
    }
  }"
  @set-onetime-price.window="if($event.detail.id == 7583491752117) {
    if(!$event.detail.subscribe){
      variant.price = $event.detail.new_price; 
      variant.orignal_price = $event.detail.new_orignal_price;
    }
  }"
  @set-subscription-price.window="if($event.detail.id == 7583491752117) {
    if($event.detail.subscribe){
      variant.price = $event.detail.new_price; 
      variant.orignal_price = $event.detail.new_orignal_price;
    }
  }"
  @discounted-price.window="if($event.detail.id == 7583491752117) {
    variant.price = $event.detail.new_price; 
    variant.orignal_price = $event.detail.new_orignal_price;
  }"
  
    @variant-updated.window="variant.price = $event.detail.variant.price; if(!isBundle){ soldOut = !$event.detail.availibility }"
  
  @discount-applied.window="$nextTick(() => checkDiscountCode())"
  @discount-removed.window="$nextTick(() => checkDiscountCode())"
  class="price  flex gap-x-2 items-center">
  
                
        Κανονική τιμή
        
          $47.00
        
        
          
            
          
        
      
      Τιμή μονάδας
      
        
        
         ανά 
        
        
      
    
   {
                        qty = $event.detail.qty;
                    })"
                    x-init="$nextTick(() => {
                        $watch('qty', value => {
                            console.log('qty', value);
                           
                            $dispatch('quantity-updated', { qty: value });
                            
                        });
                    });"
                    @quantity-updated.window="$nextTick(() => {
                        qty = $event.detail.qty;
                    })"
                    x-data="{ qty: 1 }">
                    
                    
                    
                
            
            
        4 Reasons Why You Need Flowers & Friends with BT21
1. retro style
2. limited-edition
3. good for your hair
4. eco-friendly essentials
 
                                 
                                 
                                 
         
         
         
         
         
            
              
 
            
             
            
              
 
            
             
            
              
 
            
             
            
              
 
            
             
            
              
