Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
47067ebd
Commit
47067ebd
authored
Sep 16, 2022
by
王东红
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
购物车界面优化
parent
4ede5cdc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
10 deletions
+19
-10
app/code/Magento/Checkout/view/frontend/templates/cart/item/default.phtml
+7
-10
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/list/items.phtml
+0
-0
app/design/frontend/Joshine/breeze/Magento_Checkout/i18n/en_US.csv
+0
-0
app/design/frontend/Joshine/breeze/web/css/_custom.less
+12
-0
No files found.
app/code/Magento/Checkout/view/frontend/templates/cart/item/default.phtml
View file @
47067ebd
...
...
@@ -42,24 +42,21 @@ $canApplyMsrp = $helper->isShowBeforeOrderConfirm($product) && $helper->isMinima
<?php
endif
;
?>
</strong>
<?php
if
(
$_options
=
$block
->
getOptionList
())
:?>
<
d
l
class
="
item
-
options
">
<
d
iv
class
="
item
-
options
">
<?php
$_options_length
= count(
$_options
);
foreach (
$_options
as
$k
=>
$_option
) :
$new_k
=
$k
+1;
?>
<?php
$_formatedOptionValue
=
$block->getFormatedOptionValue
(
$_option
) ?>
<!-- <dt>--><?//=
$block->escapeHtml
(
$_option['label']
) ?><!--</dt>--
>
<dd>
<div
>
<?=
$block->escapeHtml
(
$_option['label']
) ?>:
<?php if (isset(
$_formatedOptionValue['full_view']
)) :?>
<?=
$block->escapeHtml
(
$_formatedOptionValue['full_view']
) ?>
<?php else :?>
<?=
$block->escapeHtml
(
$_formatedOptionValue['full_view']
) ?>
<?php else :?>
<?=
$block->escapeHtml
(
$_formatedOptionValue['value']
, ['span', 'a']) ?>
<?php endif; ?>
<?php if(
$new_k
!=
$_options_length
) :?>, <?php endif;?>
</dd>
</div>
<?php endforeach; ?>
</d
l
>
</d
iv
>
<?php endif;?>
<?php if (
$messages
=
$block->getMessages
()) :?>
<?php foreach (
$messages
as
$message
) :?>
...
...
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/list/items.phtml
0 → 100644
View file @
47067ebd
This diff is collapsed.
Click to expand it.
app/design/frontend/Joshine/breeze/Magento_Checkout/i18n/en_US.csv
0 → 100644
View file @
47067ebd
This diff is collapsed.
Click to expand it.
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
47067ebd
...
...
@@ -778,6 +778,18 @@ p.shopbycate-title {
table tr.item-actions{
border-bottom: 1px dashed #e5e5e5;
}
.cart.table .product-item-name{
font-size: 14px;
color: #333333;
}
.cart.table-wrapper .item-options{
font-size: 12px;
margin-bottom: 10px;
color: #666666;
}
.cart.table thead{
height: 60px;
}
}
.price_wish{
display: flex;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment