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
f25abd36
Commit
f25abd36
authored
Sep 21, 2022
by
王东红
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
d2670596
67f81cb4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
1 deletions
+59
-1
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/free_shipping.phtml
+0
-0
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addtocart.phtml
+57
-0
app/design/frontend/Joshine/breeze/web/css/_custom.less
+2
-1
No files found.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/free_shipping.phtml
View file @
f25abd36
This diff is collapsed.
Click to expand it.
app/design/frontend/Joshine/breeze/Magento_Catalog/templates/product/view/addtocart.phtml
0 → 100644
View file @
f25abd36
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/** @var $block \Magento\Catalog\Block\Product\View */
?>
<?php
$_product
=
$block
->
getProduct
();
?>
<?php
$buttonTitle
=
__
(
'+ ADD TO CART'
);
?>
<?php
if
(
$_product
->
isSaleable
())
:?>
<
div
class
="
box
-
tocart
">
<div class="
fieldset
">
<?php if (
$block->shouldRenderQuantity
()) :?>
<div class="
field
qty
">
<label class="
label
" for="
qty
"><span><?=
$block->escapeHtml
(__('Qty')) ?></span></label>
<div class="
control
">
<input type="
number
"
name="
qty
"
id="
qty
"
min="
0
"
value="
<?=
$block
->
getProductDefaultQty
()
*
1
?>
"
title="
<?=
$block
->
escapeHtmlAttr
(
__
(
'Qty'
))
?>
"
class="input-text qty"
data-validate="
<?=
$block
->
escapeHtml
(
json_encode
(
$block
->
getQuantityValidators
()))
?>
"
/>
</div>
</div>
<?php
endif
;
?>
<div
class=
"actions"
>
<button
type=
"submit"
title=
"
<?=
$block
->
escapeHtmlAttr
(
$buttonTitle
)
?>
"
class=
"action primary tocart"
id=
"product-addtocart-button"
disabled
>
<span>
<?=
$block
->
escapeHtml
(
$buttonTitle
)
?>
</span>
</button>
<?=
$block
->
getChildHtml
(
''
,
true
)
?>
</div>
</div>
</div>
<?php
endif
;
?>
<script
type=
"text/x-magento-init"
>
{
"#product_addtocart_form"
:
{
"Magento_Catalog/js/validate-product"
:
{}
}
}
</script>
<style>
.action.primary.tocart
{
font-size
:
smaller
;
background-color
:
#000
;
width
:
900px
;
font-weight
:
600
;
}
</style>
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
f25abd36
...
...
@@ -1336,5 +1336,6 @@ margin-top: 0px;
display: block;
margin: 0 auto;
}
}
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