Spaces:
				
			
			
	
			
			
		Runtime error
		
	
	
	
			
			
	
	
	
	
		
		
		Runtime error
		
	Update templates/cart.html
Browse files- templates/cart.html +1 -1
 
    	
        templates/cart.html
    CHANGED
    
    | 
         @@ -617,7 +617,7 @@ 
     | 
|
| 617 | 
         
             
                            selectedCoupon = null;  // Treat it as no coupon selected
         
     | 
| 618 | 
         
             
                        }
         
     | 
| 619 | 
         
             
                        // Send the selected coupon to the backend for processing
         
     | 
| 620 | 
         
            -
                        fetch('/checkout', {
         
     | 
| 621 | 
         
             
                            method: 'POST',
         
     | 
| 622 | 
         
             
                            headers: { 'Content-Type': 'application/json' },
         
     | 
| 623 | 
         
             
                            body: JSON.stringify({ selectedCoupon: selectedCoupon })
         
     | 
| 
         | 
|
| 617 | 
         
             
                            selectedCoupon = null;  // Treat it as no coupon selected
         
     | 
| 618 | 
         
             
                        }
         
     | 
| 619 | 
         
             
                        // Send the selected coupon to the backend for processing
         
     | 
| 620 | 
         
            +
                        fetch('/cart/checkout', {
         
     | 
| 621 | 
         
             
                            method: 'POST',
         
     | 
| 622 | 
         
             
                            headers: { 'Content-Type': 'application/json' },
         
     | 
| 623 | 
         
             
                            body: JSON.stringify({ selectedCoupon: selectedCoupon })
         
     |