forked from brooksbingham/theme-elegance
Merge pull request 'refactor: update product and my-account page styles' (#7) from abhisheks/theme-elegance:main into main
Reviewed-on: brooksbingham/theme-elegance#7pagebuilder
commit
9348891e8b
|
@ -1,25 +1,17 @@
|
|||
<div class="w-full" id="product-details">
|
||||
|
||||
{block name='product_features'}
|
||||
{if $product.grouped_features}
|
||||
{block name='product_features'}
|
||||
{if $product.grouped_features}
|
||||
<div class='w-full flex items-center flex-col'>
|
||||
<h1 class='text-base font-semibold text-gray-600'>
|
||||
Description
|
||||
</h1>
|
||||
<ul class="product-features list-[square] w-full">
|
||||
{foreach from=$product.grouped_features item=feature}
|
||||
<li>
|
||||
<span class="name inline-flex w-16 font-semibold">{$feature.name}</span>
|
||||
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
{foreach from=$product.grouped_features item=feature}
|
||||
<li>
|
||||
<span class="name inline-flex w-40 font-semibold">{$feature.name}</span>
|
||||
<span class="value">{$feature.value|escape:'htmlall'|nl2br nofilter}</span>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name='product_condition'}
|
||||
{if $product.condition}
|
||||
<div class="product-condition">
|
||||
<label class="label">{l s='Condition' d='Shop.Theme.Catalog'} </label>
|
||||
<link itemprop="itemCondition" href="{$product.condition.schema_url}"/>
|
||||
<span>{$product.condition.label}</span>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||
|
|
|
@ -137,9 +137,6 @@
|
|||
|
||||
{block name='product_tabs'}
|
||||
<div class='w-full flex items-center flex-col mt-12'>
|
||||
<h1 class='text-base font-semibold text-gray-600'>
|
||||
Description
|
||||
</h1>
|
||||
{block name='product_details'}
|
||||
{include file='catalog/_partials/product-details.tpl'}
|
||||
{/block}
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
<div class="flex">
|
||||
{foreach from=$cart.subtotals item="subtotal"}
|
||||
{if $subtotal.value && $subtotal.type !== 'tax'}
|
||||
{if $subtotal && $subtotal.value|count_characters > 0 && $subtotal.type !== 'tax'}
|
||||
<div class="flex justify-between font-medium" id="cart-subtotal-{$subtotal.type}">
|
||||
<span>
|
||||
{$subtotal.label}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
{block name='page_content'}
|
||||
<div class="w-full my-8">
|
||||
<div class="links flex justify-center flex-wrap py-4">
|
||||
<div class="links flex flex-wrap py-4">
|
||||
|
||||
<a class="w-full md:w-1/3 lg:w-1/4 flex flex-col p-4 border-gray-500" id="identity-link" href="{$urls.pages.identity}">
|
||||
<span class="flex flex-col items-center font-semibolds text-lg">
|
||||
|
|
Loading…
Reference in New Issue