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
8c0a8e3c
Commit
8c0a8e3c
authored
Apr 04, 2023
by
liumengfei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into production
parents
5ab2ee72
e4b28075
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/list.phtml
+7
-2
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
+1
-1
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/list.phtml
View file @
8c0a8e3c
...
@@ -116,8 +116,13 @@ $_helper = $block->getData('outputHelper');
...
@@ -116,8 +116,13 @@ $_helper = $block->getData('outputHelper');
<
a
href
=
"<?=
$escaper->escapeUrl
(
$_product->getProductUrl
()) ?>"
<
a
href
=
"<?=
$escaper->escapeUrl
(
$_product->getProductUrl
()) ?>"
class
="
product
photo
product
-
item
-
photo
"
class
="
product
photo
product
-
item
-
photo
"
tabindex="
-
1
">
tabindex="
-
1
">
<?=
$productImage->toHtml
() ?>
<?php
<img class="
hoverImg
" width="
<?=
$productImage
->
getWidth
()
?>
" height="
<?=
$productImage
->
getHeight
()
?>
" src="
<?=
$hoverImg
?>
">
$productImageRaw
=
$imageHelper->init
(
$_product
,
$imageDisplayArea
)->setImageFile(
$productImage->getFile
())->resize(
$productImage->getWidth
(),
$productImage->getHeight
())->getUrl();
?>
<img class="
product
-
image
-
photo
" src="
<?=
$productImageRaw
?>
" loading="lazy" width="
<?=
$productImage
->
getWidth
()
?>
" height="
<?=
$productImage
->
getHeight
()
?>
" alt="Image">
<?php
if
(
$hoverImg
)
:
?>
<img
class=
"hoverImg"
width=
"
<?=
$productImage
->
getWidth
()
?>
"
height=
"
<?=
$productImage
->
getHeight
()
?>
"
src=
"
<?=
$hoverImg
?>
"
>
<?php
endif
;
?>
</a>
</a>
<div
class=
"product details product-item-details"
>
<div
class=
"product details product-item-details"
>
<?php
$_productNameStripped
=
$block
->
stripTags
(
$_product
->
getName
(),
null
,
true
);
?>
<?php
$_productNameStripped
=
$block
->
stripTags
(
$_product
->
getName
(),
null
,
true
);
?>
...
...
app/design/frontend/Joshine/breeze/Magento_Checkout/templates/onepage.phtml
View file @
8c0a8e3c
...
@@ -896,7 +896,7 @@ $full_free_ship = $_helper->currency($full_free, true, false);
...
@@ -896,7 +896,7 @@ $full_free_ship = $_helper->currency($full_free, true, false);
<?php
$serializedCheckoutConfig
=
/* @noEscape */
$block
->
getSerializedCheckoutConfig
();
<?php
$serializedCheckoutConfig
=
/* @noEscape */
$block
->
getSerializedCheckoutConfig
();
$scriptString
=
<<<script
$scriptString
=
<<<script
window.checkoutConfig = {$serializedCheckoutConfig};
window.checkoutConfig = {$serializedCheckoutConfig};
window.checkoutConfig.flatrate_price =
{$flatraPrice}
;
window.checkoutConfig.flatrate_price =
'{$flatraPrice}'
;
window.checkoutConfig.full_free_ship = '{$full_free_ship}';
window.checkoutConfig.full_free_ship = '{$full_free_ship}';
// Create aliases for customer.js model from customer module
// Create aliases for customer.js model from customer module
window.isCustomerLoggedIn = window.checkoutConfig.isCustomerLoggedIn;
window.isCustomerLoggedIn = window.checkoutConfig.isCustomerLoggedIn;
...
...
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