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
6483b10e
Commit
6483b10e
authored
Oct 29, 2022
by
wdh
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://47.99.244.21:9999/root/joshine
parents
53316fa5
c60379fe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
36 deletions
+63
-36
app/code/Magento/Sales/Model/Order/Shipment/Validation/QuantityValidator.php
+3
-3
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/home.phtml
+26
-2
app/design/frontend/Joshine/breeze/web/css/_custom.less
+34
-31
No files found.
app/code/Magento/Sales/Model/Order/Shipment/Validation/QuantityValidator.php
View file @
6483b10e
...
@@ -75,9 +75,9 @@ class QuantityValidator implements ValidatorInterface
...
@@ -75,9 +75,9 @@ class QuantityValidator implements ValidatorInterface
$totalQuantity
+=
$item
->
getQty
();
$totalQuantity
+=
$item
->
getQty
();
}
}
}
}
//
if ($totalQuantity <= 0) {
if
(
$totalQuantity
<=
0
)
{
//
$messages[] = __('You can\'t create a shipment , .');
$messages
[]
=
__
(
'You can\'t create a shipment , .'
);
//
}
}
return
$messages
;
return
$messages
;
}
}
...
...
app/design/frontend/Joshine/breeze/Magento_Cms/templates/default/home.phtml
View file @
6483b10e
...
@@ -4,7 +4,28 @@
...
@@ -4,7 +4,28 @@
* See COPYING.txt for license details.
* See COPYING.txt for license details.
*/
*/
?>
?>
<style>
<div
data-role=
"content"
style=
"margin-top: 30px;margin-bottom: -23px;display: none;"
id=
"home_search"
>
<form
class=
""
id=
"home_search_form"
action=
"/catalogsearch/result/"
method=
"get"
>
<div
class=
"field search"
>
<div
class=
"control"
>
<input
id=
"new-search"
data-mage-init=
'{"quickSearch":{
"formSelector":"#new_search_form",
"minSearchLength": 1,
"url":"/search/ajax/suggest",
"destinationSelector":"#search_results"}
}'
type=
"text"
name=
"q"
placeholder=
"
<?=
$block
->
escapeHtmlAttr
(
__
(
'Search entire store here...'
))
?>
"
class=
"input-text"
/>
<div
id=
"search_results"
class=
"search-autocomplete"
></div>
</div>
</div>
</form>
</div>
<style>
.banner1
,
.banner1
>
.imgbox
,
.banner1
>
.imgbox
>
a
,
.banner1
>
.imgbox
>
a
>
img
{
.banner1
,
.banner1
>
.imgbox
,
.banner1
>
.imgbox
>
a
,
.banner1
>
.imgbox
>
a
>
img
{
height
:
634px
!important
;
height
:
634px
!important
;
}
}
...
@@ -28,6 +49,9 @@
...
@@ -28,6 +49,9 @@
require
([
require
([
'jquery'
'jquery'
],
function
(
$
)
{
],
function
(
$
)
{
$
(
".page-header .actions.search-dropdown"
).
click
(
function
()
{
$
(
"#home_search"
).
toggle
();
});
$
.
fn
.
banner
=
function
(
options
){
$
.
fn
.
banner
=
function
(
options
){
var
that
=
this
;
var
that
=
this
;
options
=
options
||
{};
options
=
options
||
{};
...
@@ -192,7 +216,7 @@
...
@@ -192,7 +216,7 @@
var
img_arr
=
[
"/media/wysiwyg/202210281.png"
,
"/media/wysiwyg/202210282.png"
];
var
img_arr
=
[
"/media/wysiwyg/202210281.png"
,
"/media/wysiwyg/202210282.png"
];
if
(
isMobile
())
{
if
(
isMobile
())
{
img_arr
=
[
"/media/wysiwyg/2
_M_1_.jpg"
,
"/media/wysiwyg/1_M_1_.jp
g"
];
img_arr
=
[
"/media/wysiwyg/2
02210281-m.png"
,
"/media/wysiwyg/202210282-m.pn
g"
];
}
}
$
(
".banner1"
).
banner
({
$
(
".banner1"
).
banner
({
img
:
img_arr
,
img
:
img_arr
,
...
...
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
6483b10e
...
@@ -996,10 +996,7 @@ footer{
...
@@ -996,10 +996,7 @@ footer{
.page-header .header-top.header-fixed{
.page-header .header-top.header-fixed{
margin-right: 20px;
margin-right: 20px;
}
}
.page-header .actions.search-dropdown{
opacity: 0;
z-index: -1;
}
.checkout-container{
.checkout-container{
width: 81%;
width: 81%;
}
}
...
@@ -1017,10 +1014,6 @@ footer{
...
@@ -1017,10 +1014,6 @@ footer{
.page-header .actions.wishlist-dropdown{
.page-header .actions.wishlist-dropdown{
display: none;
display: none;
}
}
.page-header .actions.search-dropdown{
opacity: 0;
z-index: -1;
}
.navigation .subchildmenu li{
.navigation .subchildmenu li{
line-height: 36px;
line-height: 36px;
}
}
...
@@ -2427,37 +2420,47 @@ span.swatch-attribute-selected-option{
...
@@ -2427,37 +2420,47 @@ span.swatch-attribute-selected-option{
margin-left: 10%;
margin-left: 10%;
width: 80%;
width: 80%;
}
}
.page-header .actions.search-dropdown{
opacity: 0;
z-index: -1;
}
}
}
@media (max-width: 1024px){
@media (max-width: 1024px){
.select-element.section-before-footer.clearfix p {
.select-element.section-before-footer.clearfix p {
font-weight: 200;
font-weight: 200;
font-size: 12px;
font-size: 12px;
color: #909090;
color: #909090;
text-transform: none;
text-transform: none;
}
}
}
}
@media (max-width: 1024px) and (min-width: 768px){
@media (max-width: 1024px) and (min-width: 768px){
.select-element.section-before-footer.clearfix p {
.select-element.section-before-footer.clearfix p {
font-weight: 400;
font-weight: 400;
font-size: 16px;
font-size: 16px;
color: #909090;
color: #909090;
text-transform: none;
text-transform: none;
}
}
.flash-sale-item{
.flash-sale-item{
width: 33.33%;
width: 33.33%;
}
}
.shopcatewpt{
.shopcatewpt{
width: 100%;
width: 100%;
}
}
.shop-by-cata {
.shop-by-cata {
padding: 10px;
padding: 10px;
width: 50%;
width: 50%;
float: left;
float: left;
}
}
p.flashsale-title {
font-size: 16px;
font-weight: 400;
}
}
}
...
...
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