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
a269feac
Commit
a269feac
authored
May 04, 2023
by
liumengfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into production
parents
5c3589ce
a2320110
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
15 deletions
+47
-15
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
+11
-2
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/item/default.phtml
+28
-10
app/design/frontend/Joshine/breeze/web/css/_custom.less
+8
-3
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addto.phtml
View file @
a269feac
...
@@ -26,6 +26,15 @@
...
@@ -26,6 +26,15 @@
}
}
}
}
@media
(
min-width
:
1024px
)
{
.joshine-desction
{
height
:
fit-content
!important
;
}
.product-view-description
{
max-height
:
fit-content
!important
;
}
}
.action.towishlist
{
.action.towishlist
{
text-align
:
center
;
text-align
:
center
;
border
:
1px
solid
#e5e5e5
;
border
:
1px
solid
#e5e5e5
;
...
@@ -175,8 +184,8 @@
...
@@ -175,8 +184,8 @@
<style>
<style>
.joshine-desction
,
.product-view-description
{
.joshine-desction
,
.product-view-description
{
width
:
100%
;
width
:
100%
;
}
}
.joshine-desction
.desction-left
{
.joshine-desction
.desction-left
{
width
:
90%
;
width
:
90%
;
flot
:
left
;
flot
:
left
;
...
@@ -199,7 +208,7 @@
...
@@ -199,7 +208,7 @@
@media
(
min-width
:
780px
){
@media
(
min-width
:
780px
){
.product-view-description
{
.product-view-description
{
max-height
:
250px
!important
;
max-height
:
250px
;
overflow
:
auto
;
overflow
:
auto
;
}
}
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/cart/item/default.phtml
View file @
a269feac
...
@@ -53,16 +53,34 @@ $priceBlock = $objectManager->get(\Magento\Catalog\Block\Product\AbstractProduct
...
@@ -53,16 +53,34 @@ $priceBlock = $objectManager->get(\Magento\Catalog\Block\Product\AbstractProduct
<!----------------------------item option start--------------------------------->
<!----------------------------item option start--------------------------------->
<?php
if
(
$_options
=
$block
->
getOptionList
())
:?>
<?php
if
(
$_options
=
$block
->
getOptionList
())
:?>
<
div
class
="
item
-
options
-
meta
">
<
div
class
="
item
-
options
-
meta
">
<?php foreach (
$_options
as
$_option
) :?>
<?php
<span class="
item
-
options
-
line
">
$countOpt
= count(
$_options
);
<?php
$_formatedOptionValue
=
$block->getFormatedOptionValue
(
$_option
) ?>
?>
<strong style="
font
-
weight
:
600
;
margin
-
right
:
10
px
;
"><?=
$block->escapeHtml
(
$_option['label']
) ?>:</strong>
<?php foreach (
$_options
as
$key
=>
$_option
) :?>
<?php if (isset(
$_formatedOptionValue['full_view']
)) :?>
<strong style="
font
-
weight
:
600
;
margin
-
right
:
10
px
;
"><?=
$block->escapeHtml
(
$_option['label']
) ?> :</strong>
<?=
$block->escapeHtml
(
$_formatedOptionValue['full_view']
) ?>
<span class="
item
-
options
-
line
">
<?php else :?>
<?php
<?=
$block->escapeHtml
(
$_formatedOptionValue['value']
, ['span', 'a']) ?>
$objectManager
= \Magento\Framework\App\ObjectManager::getInstance();
<?php endif; ?>
$resource
=
$objectManager->get
('Magento\Framework\App\ResourceConnection');
</span><br />
$connection
=
$resource->getConnection
();
?>
<?php if (
$_option['label']
!= 'Size'){ ?>
<?php
$tableName
=
$resource->getTableName
('eav_attribute_option_value');
$sql
= "
Select
*
FROM
" .
$tableName
."
where
store_id
=
0
AND
option_id
=
".
$_option['option_value']
;
$result
=
$connection->fetchRow
(
$sql
);
?>
<?=
$block->escapeHtml
(
$result['value']
) ?>
<?php }else{
$tableName
=
$resource->getTableName
('eav_attribute_option_swatch');
$sql
= "
Select
*
FROM
" .
$tableName
."
where
store_id
=
0
AND
option_id
=
".
$_option['option_value']
;
$result
=
$connection->fetchRow
(
$sql
);
echo
$result['value']
;
} ?>
</span><br />
<?php endforeach; ?>
<?php endforeach; ?>
</div>
</div>
<?php endif;?>
<?php endif;?>
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
a269feac
...
@@ -827,7 +827,9 @@ p.shopbycate-title {
...
@@ -827,7 +827,9 @@ p.shopbycate-title {
.checkout-index-index .method-content{
.checkout-index-index .method-content{
text-align: left;
text-align: left;
}
}
.checkout-cart-index span.item-options-line {
color: #555;
}
.no-enabled{
.no-enabled{
color:#cacaca!important;
color:#cacaca!important;
}
}
...
@@ -3552,6 +3554,9 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
...
@@ -3552,6 +3554,9 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
.product.media{
.product.media{
min-width: 880px!important;
min-width: 880px!important;
top: 0;
position: sticky;
height: fit-content;
}
}
#sparsh-mfp-quickview .product.media{
#sparsh-mfp-quickview .product.media{
...
@@ -3559,7 +3564,7 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
...
@@ -3559,7 +3564,7 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
}
}
.gallery-placeholder__image{
#sparsh-mfp-quickview
.gallery-placeholder__image{
float: right;
float: right;
position: absolute;
position: absolute;
margin-left: 100px;
margin-left: 100px;
...
@@ -3581,7 +3586,7 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
...
@@ -3581,7 +3586,7 @@ strong#block-related-heading,strong#block-upsell-heading{ font-weight: 600; colo
position:unset;
position:unset;
}
}
.product-info-wrapper{
#sparsh-mfp-quickview
.product-info-wrapper{
height: 1000px;
height: 1000px;
}
}
...
...
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