refactor: update cart summary totals spacing

pagebuilder
abhisheks 2023-12-07 02:49:20 +05:30
parent e27b0a0cf5
commit 353bdfe820
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*} *}
<div class="flex"> <div class="w-full flex flex-col gap-2">
{foreach from=$cart.subtotals item="subtotal"} {foreach from=$cart.subtotals item="subtotal"}
{if $subtotal && $subtotal.value|count_characters > 0 && $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}"> <div class="flex justify-between font-medium" id="cart-subtotal-{$subtotal.type}">

View File

@ -22,7 +22,7 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA * International Registered Trademark & Property of PrestaShop SA
*} *}
<div class="flex flex-col my-8"> <div class="flex flex-col gap-2 mt-2">
{block name='cart_summary_total'} {block name='cart_summary_total'}
{if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled} {if !$configuration.display_prices_tax_incl && $configuration.taxes_enabled}

View File

@ -31,8 +31,8 @@
{block name='cart_summary_products'} {block name='cart_summary_products'}
<div class="cart-summary-products flex items-center"> <div class="cart-summary-products flex items-center">
<p>{$cart.summary_string}</p>
<p>{$cart.summary_string}</p>
<p> <p>
<a href="#" data-toggle="collapse" data-target="#cart-summary-product-list"> <a href="#" data-toggle="collapse" data-target="#cart-summary-product-list">
{l s='show details' d='Shop.Theme.Actions'} {l s='show details' d='Shop.Theme.Actions'}