forked from brooksbingham/theme-elegance
		
	Merge pull request 'refactor: conditionally display product price' (#3) from abhisheks/theme-elegance:main into main
Reviewed-on: brooksbingham/theme-elegance#3
This commit is contained in:
		
						commit
						b0436f56b9
					
				@ -46,9 +46,11 @@
 | 
				
			|||||||
        {if $product.has_discount}
 | 
					        {if $product.has_discount}
 | 
				
			||||||
          <span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
 | 
					          <span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
 | 
				
			||||||
        {/if}
 | 
					        {/if}
 | 
				
			||||||
 | 
					        {if $product.show_price}
 | 
				
			||||||
          <div class="font-bold text-lg">
 | 
					          <div class="font-bold text-lg">
 | 
				
			||||||
            <span>{$product.price}</span>
 | 
					            <span>{$product.price}</span>
 | 
				
			||||||
          </div>
 | 
					          </div>
 | 
				
			||||||
 | 
					        {/if}
 | 
				
			||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    {/block}
 | 
					    {/block}
 | 
				
			||||||
    {block name='product_name'}
 | 
					    {block name='product_name'}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user