Wide Leg Cargo Jeans 
      
    
            
              
              
  
      
    
            
              
              
  
      
    
            
              
              
  
      
  
    
            
              
              
  
      
  
    
    
      ${function() { 
        const variantData = data.variant || {"id":"d2ac152f-0366-4f2b-90c3-a1af5790a6b0","product_id":"0598cfa5-8e93-4e5b-89b5-2b4b20718f57","title":"Gray-30","weight_unit":"kg","inventory_quantity":20,"sku":"MED19F1223I6GR","barcode":"","position":1,"option1":"Gray","option2":"30","option3":"","note":"","image":null,"wholesale_price":[{"price":340,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"340","retail_price":"0","available":true,"url":"\/products\/wide-leg-cargo-jeans?variant=d2ac152f-0366-4f2b-90c3-a1af5790a6b0","available_quantity":20,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"30"}],"off_ratio":0,"flashsale_info":[],"sales":0}; 
        const saveType = "amount"; 
        const productSaveLabel = true;
        return `
          
            
              
                -  
              
            
            
              
                ${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- 
              
             
           
      `; }()}
     
   
 
      
      
    
            
              
                
           
          
            
              
              
            
              
              
            
              
              
            
              
              
            
              
              
            
              
                
                
  
  
    
      
      
      
        
        
      
      
      
      
      
        
        
          
            
              
                Color-
               
              
                
                  Gray
                 
                
                  ${function(){
                    const enable_selected_variants = "true" === 'false';
                    const optionValue = data.value;
                    return `
                      ${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
                     `;
                  }()}
                 
               
            
           
          
         
      
      
      
        
          
        
        
          ${function(){
            return `
              
                Please select a Color 
              
            `;
          }()}
         
       
    
      
      
      
        
        
      
      
      
      
      
        
        
          
            
              
                Size-
               
              
                
                  30
                 
                
                  ${function(){
                    const enable_selected_variants = "true" === 'false';
                    const optionValue = data.value;
                    return `
                      ${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
                     `;
                  }()}
                 
               
            
           
          
         
      
      
      
        
          
        
        
          ${function(){
            return `
              
                Please select a Size 
              
            `;
          }()}
         
       
    
   
                
              
              
                
  
      
        
      
    
              
            
              
              
                
  
      
  
    
              
            
              
              
                
  
      
  
    
    
      
      
      
      
      
      
      
      
      
        Estimated Delivery:Nov-03  - Nov-07  
      
    
    
   
    
              
            
              
              
                
  
      
  
    
    
       
  
    
   
   
    
              
            
              
              
                
  
      
  
  
    
      
    
  
  
  
  
    
      
        
          
            Add to cart
          
         
        
          
             
               - $340.00 
            
          
          
  ${function(){
    const wholesale_enabled = false;
    const qty = data.quantity || 1;
    
    const currentSelectVariant = data.variant;
    
    const defaultVariant = (data.product && data.product.variants && data.product.variants[0]) || Object.keys(data).length > 1 ? data : null;
    
    const productVariant = {"id":"d2ac152f-0366-4f2b-90c3-a1af5790a6b0","product_id":"0598cfa5-8e93-4e5b-89b5-2b4b20718f57","title":"Gray-30","weight_unit":"kg","inventory_quantity":20,"sku":"MED19F1223I6GR","barcode":"","position":1,"option1":"Gray","option2":"30","option3":"","note":"","image":null,"wholesale_price":[{"price":340,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"340","retail_price":"0","available":true,"url":"\/products\/wide-leg-cargo-jeans?variant=d2ac152f-0366-4f2b-90c3-a1af5790a6b0","available_quantity":20,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"30"}],"off_ratio":0,"flashsale_info":[],"sales":0};
    const variantData = currentSelectVariant || defaultVariant || productVariant;
    const wholesale_price = variantData.wholesale_price || [];
    if(wholesale_enabled && wholesale_price.length > 0) {
      let wholesaleIndex = wholesale_price.findIndex(item => {
        return item.min_quantity > qty;
      });
      if(wholesaleIndex < 0){
        wholesaleIndex = wholesale_price.length - 1;
      }else if(wholesaleIndex > 0){
        wholesaleIndex = wholesaleIndex - 1;
      }
      const wholesalePrice = wholesale_price[wholesaleIndex] || '';
      return `
        
          
      `
    }else {
      const price = variantData && variantData.price;
      return price != undefined ? `
` : ' 
          
        
        
       
    
    
    
      
      Buy it now 
        
       
    
    
    
    
      Product was out of stock.
    
    
      Product is unavailable.
    
   
    
              
            
              
              
                
  
      
  
              
            
              
              
                
  
        
        
    
              
            
              
              
                
  
      
  
  
  
  
  
  
  
  
  Avaliability: 
  
    
      
        in stock, ready to be shipped