Refactor product detail layout and styles
- Adjusted column sizes in the product detail template for better responsiveness. - Updated CSS to hide the short ID tab and modify margins for product attributes list. - Commented out conditional blocks for product customization and additional info to streamline the template.
This commit is contained in:
@@ -8,13 +8,13 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="product_image sorter-false filter-false">{l s='Image' mod='pdproductattributeslist'}</th>
|
||||
<th class="product_variant">{l s='Variant' mod='pdproductattributeslist'}</th>
|
||||
<th class="product_infos sorter-false filter-false">{l s='Product informations' mod='pdproductattributeslist'}</th>
|
||||
{if $show_prices}
|
||||
<th class="product_price">{l s='Price (tax incl.)' mod='pdproductattributeslist'}</th>
|
||||
<th class="product_price">{l s='Price (tax excl.)' mod='pdproductattributeslist'}</th>
|
||||
{/if}
|
||||
<th class="product_qty">{l s='Quantity in stock' mod='pdproductattributeslist'}</th>
|
||||
<th class="product_variant">{l s='Variant' mod='pdproductattributeslist'}</th>
|
||||
{if !$is_catalog}
|
||||
<th class="product_btn sorter-false filter-false">{l s='Select quantity' mod='pdproductattributeslist'}</th>
|
||||
{/if}
|
||||
@@ -34,18 +34,13 @@
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
<td data-column="{l s='Product variant' mod='pdproductattributeslist'}" class="option_variant">
|
||||
{$combination.attribute_name_html nofilter}
|
||||
</td>
|
||||
|
||||
<td data-column="{l s='Informations' mod='pdproductattributeslist'}" class="option_infos text-xs-left">
|
||||
|
||||
{if isset($combination.reference) AND $combination.reference}
|
||||
{l s='Reference' mod='pdproductattributeslist'}: <b>{$combination.reference}</b>
|
||||
<b>{$combination.reference}</b>
|
||||
{/if}
|
||||
{if !empty($combination.ean13)}
|
||||
<br />{l s='Ean' mod='pdproductattributeslist'}: <b>{$combination.ean13}</b>
|
||||
<br /><b>{$combination.ean13}</b>
|
||||
{/if}
|
||||
|
||||
</td>
|
||||
@@ -80,6 +75,11 @@
|
||||
<b>{if $combination.quantity <= 10 }{$combination.quantity}{else}>10{/if}</b> {l s='pcs' mod='pdproductattributeslist'}
|
||||
</td>
|
||||
|
||||
|
||||
<td data-column="{l s='Product variant' mod='pdproductattributeslist'}" class="option_variant">
|
||||
{$combination.attribute_name_html nofilter}
|
||||
</td>
|
||||
|
||||
{if !$is_catalog}
|
||||
<td data-id-product="{$combination.id_product|intval}" data-id-product-attribute="{$combination.id_product_attribute|intval}" data-column="{l s='Select quantity' mod='pdproductattributeslist'}" class="option_gty">
|
||||
<div class="row extra-small-gutters product-quantity">
|
||||
|
||||
Reference in New Issue
Block a user