Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change css class names in msGetOrder chunk #712

Merged
merged 1 commit into from
Sep 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions core/components/minishop2/elements/chunks/chunk.ms_get_order.tpl
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div id="msCart">
<div class="table-responsive">
<table class="table table-striped">
<tr class="header">
<th class="title">{'ms2_cart_title' | lexicon}</th>
<th class="count">{'ms2_cart_count' | lexicon}</th>
<th class="weight">{'ms2_cart_weight' | lexicon}</th>
<th class="price">{'ms2_cart_cost' | lexicon}</th>
<tr class="ms-header">
<th class="ms-title">{'ms2_cart_title' | lexicon}</th>
<th class="ms-count">{'ms2_cart_count' | lexicon}</th>
<th class="ms-weight">{'ms2_cart_weight' | lexicon}</th>
<th class="ms-price">{'ms2_cart_cost' | lexicon}</th>
</tr>
{foreach $products as $product}
{var $image}
Expand All @@ -18,9 +18,9 @@
{/if}
{/var}
<tr>
<td class="title">
<td class="ms-title">
<div class="d-flex">
<div class="image mw-100 pr-3">
<div class="ms-image mw-100 pr-3">
{if $product.id?}
<a href="{$product.id | url}">{$image}</a>
{else}
Expand All @@ -41,12 +41,12 @@
</div>
</div>
</td>
<td class="count text-nowrap">{$product.count} {'ms2_frontend_count_unit' | lexicon}</td>
<td class="weight text-nowrap">{$product.weight} {'ms2_frontend_weight_unit' | lexicon}</td>
<td class="price text-nowrap">{$product.price} {'ms2_frontend_currency' | lexicon}</td>
<td class="ms-count text-nowrap">{$product.count} {'ms2_frontend_count_unit' | lexicon}</td>
<td class="ms-weight text-nowrap">{$product.weight} {'ms2_frontend_weight_unit' | lexicon}</td>
<td class="ms-price text-nowrap">{$product.price} {'ms2_frontend_currency' | lexicon}</td>
</tr>
{/foreach}
<tr class="footer">
<tr class="ms-footer">
<th class="total">{'ms2_cart_total' | lexicon}:</th>
<th class="total_count text-nowrap">
<span class="ms2_total_count">{$total.cart_count}</span> {'ms2_frontend_count_unit' | lexicon}
Expand Down