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}
 | 
			
		||||
          <span class="regular-price line-through leading-none font-medium">{$product.regular_price}</span>
 | 
			
		||||
        {/if}
 | 
			
		||||
        {if $product.show_price}
 | 
			
		||||
          <div class="font-bold text-lg">
 | 
			
		||||
            <span>{$product.price}</span>
 | 
			
		||||
          </div>
 | 
			
		||||
        {/if}
 | 
			
		||||
      </div>
 | 
			
		||||
    {/block}
 | 
			
		||||
    {block name='product_name'}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user