Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	Update templates/cart.html
Browse files- templates/cart.html +17 -16
 
    	
        templates/cart.html
    CHANGED
    
    | 
         @@ -140,22 +140,7 @@ 
     | 
|
| 140 | 
         
             
                                   <button onclick="updateQuantity('increase', '{{ item.Name }}', '{{ customer_email }}')">+</button>
         
     | 
| 141 | 
         
             
                                </div>
         
     | 
| 142 | 
         
             
                            </div>
         
     | 
| 143 | 
         
            -
             
     | 
| 144 | 
         
            -
                             {% if suggestions %}
         
     | 
| 145 | 
         
            -
                                 <div class="suggestion-section">
         
     | 
| 146 | 
         
            -
                                     <h5>Complete Your Meal</h5>
         
     | 
| 147 | 
         
            -
                                     {% for suggestion in suggestions %}
         
     | 
| 148 | 
         
            -
                                     <div class="suggestion-item">
         
     | 
| 149 | 
         
            -
                                         <img src="{{ suggestion.Image1__c }}" alt="{{ suggestion.Name }}" onerror="this.src='/static/placeholder.jpg';">
         
     | 
| 150 | 
         
            -
                                         <div>
         
     | 
| 151 | 
         
            -
                                             <div>{{ suggestion.Name }}</div>
         
     | 
| 152 | 
         
            -
                                             <div class="text-muted">₹{{ suggestion.Price__c }}</div>
         
     | 
| 153 | 
         
            -
                                         </div>
         
     | 
| 154 | 
         
            -
                                         <button class="add-back-button" onclick="addSuggestion('{{ suggestion.Id }}')">Add</button>
         
     | 
| 155 | 
         
            -
                                     </div>
         
     | 
| 156 | 
         
            -
                                     {% endfor %}
         
     | 
| 157 | 
         
            -
                                 </div>
         
     | 
| 158 | 
         
            -
                            {% endif %}
         
     | 
| 159 | 
         
             
                            <div class="cart-item-actions">
         
     | 
| 160 | 
         
             
                                <div class="text-primary">
         
     | 
| 161 | 
         
             
                                    $<span class="base-price">{{ item.Price__c }}</span> 
         
     | 
| 
         @@ -191,6 +176,22 @@ 
     | 
|
| 191 | 
         
             
                            <button class="checkout-button" onclick="proceedToOrder()">Proceed to Order</button>
         
     | 
| 192 | 
         
             
                        </div>
         
     | 
| 193 | 
         
             
                    </div>
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 194 | 
         | 
| 195 | 
         | 
| 196 | 
         | 
| 
         | 
|
| 140 | 
         
             
                                   <button onclick="updateQuantity('increase', '{{ item.Name }}', '{{ customer_email }}')">+</button>
         
     | 
| 141 | 
         
             
                                </div>
         
     | 
| 142 | 
         
             
                            </div>
         
     | 
| 143 | 
         
            +
                          
         
     | 
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 
         | 
|
| 144 | 
         
             
                            <div class="cart-item-actions">
         
     | 
| 145 | 
         
             
                                <div class="text-primary">
         
     | 
| 146 | 
         
             
                                    $<span class="base-price">{{ item.Price__c }}</span> 
         
     | 
| 
         | 
|
| 176 | 
         
             
                            <button class="checkout-button" onclick="proceedToOrder()">Proceed to Order</button>
         
     | 
| 177 | 
         
             
                        </div>
         
     | 
| 178 | 
         
             
                    </div>
         
     | 
| 179 | 
         
            +
                    <!-- Suggestions Section -->
         
     | 
| 180 | 
         
            +
                             {% if suggestions %}
         
     | 
| 181 | 
         
            +
                                 <div class="suggestion-section">
         
     | 
| 182 | 
         
            +
                                     <h5>Complete Your Meal</h5>
         
     | 
| 183 | 
         
            +
                                     {% for suggestion in suggestions %}
         
     | 
| 184 | 
         
            +
                                     <div class="suggestion-item">
         
     | 
| 185 | 
         
            +
                                         <img src="{{ suggestion.Image1__c }}" alt="{{ suggestion.Name }}" onerror="this.src='/static/placeholder.jpg';">
         
     | 
| 186 | 
         
            +
                                         <div>
         
     | 
| 187 | 
         
            +
                                             <div>{{ suggestion.Name }}</div>
         
     | 
| 188 | 
         
            +
                                             <div class="text-muted">₹{{ suggestion.Price__c }}</div>
         
     | 
| 189 | 
         
            +
                                         </div>
         
     | 
| 190 | 
         
            +
                                         <button class="add-back-button" onclick="addSuggestion('{{ suggestion.Id }}')">Add</button>
         
     | 
| 191 | 
         
            +
                                     </div>
         
     | 
| 192 | 
         
            +
                                     {% endfor %}
         
     | 
| 193 | 
         
            +
                                 </div>
         
     | 
| 194 | 
         
            +
                            {% endif %}
         
     | 
| 195 | 
         | 
| 196 | 
         | 
| 197 | 
         |