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
06503866
Commit
06503866
authored
Apr 03, 2023
by
dhn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://47.99.244.21:9999/root/joshine
into Branch_developer
parents
f0800e31
f3964d27
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
12 deletions
+20
-12
app/code/Joshine/CouponPusher/view/frontend/templates/coupon-nope-alert.phtml
+1
-1
app/code/Joshine/CouponPusher/view/frontend/templates/coupon-subscribe-alert.phtml
+7
-5
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
+6
-6
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
+5
-0
app/design/frontend/Joshine/breeze/web/css/_custom.less
+1
-0
No files found.
app/code/Joshine/CouponPusher/view/frontend/templates/coupon-nope-alert.phtml
View file @
06503866
<script
type=
"text/javascript"
>
require
([
'jquery'
,
'mage/cookies'
],
function
(
$
)
{
if
(
$
.
mage
.
cookies
.
get
(
'coupon_push_stop'
)
==
null
)
{
//
$.mage.cookies.set('coupon_push_stop', 'true');
$
.
mage
.
cookies
.
set
(
'coupon_push_stop'
,
'true'
);
}
})
</script>
...
...
app/code/Joshine/CouponPusher/view/frontend/templates/coupon-subscribe-alert.phtml
View file @
06503866
...
...
@@ -45,10 +45,12 @@
}
.coupon-wrapper
.coupon-front
{
transition
:
all
2s
;
backface-visibility
:
hidden
;
}
.coupon-wrapper
.coupon-back
{
transition
:
all
2s
;
position
:
absolute
;
top
:
0
;
transform
:
rotateY
(
-180deg
);
...
...
@@ -115,7 +117,7 @@
</div>
<div
class=
"coupon-alt-input"
>
<div
class=
"coupon-alt-input-left"
>
<input
placeholder=
"
Enter your email address
"
type=
"email"
id=
"coupon-subscribe-email-input"
value=
""
>
<input
placeholder=
"
<?=
__
(
'Enter your email address'
)
?>
"
type=
"email"
id=
"coupon-subscribe-email-input"
value=
""
>
</div>
<div
class=
"coupon-alert-submit-button"
id=
"coupon-subscribe-email"
>
<?=
__
(
'Submit'
)
?>
</div>
</div>
...
...
@@ -137,8 +139,7 @@
</div>
<script
type=
"text/javascript"
>
require
([
'jquery'
],
function
(
$
)
{
require
([
'jquery'
,
'mage/translate'
,
'domReady!'
],
function
(
$
,
$t
)
{
setTimeout
(
function
()
{
$
(
"#coupon-subscribe-alert"
).
show
();
},
2000
);
...
...
@@ -151,7 +152,7 @@
var
email
=
$
(
"#coupon-subscribe-email-input"
).
val
();
if
(
email
.
length
<
5
)
{
$
(
".coupon-input-errorMsg"
).
html
(
'You enter an invalid email address'
).
show
();
$
(
".coupon-input-errorMsg"
).
html
(
"
<?=
__
(
'invalid email address'
)
?>
"
).
show
();
return
;
}
...
...
@@ -170,7 +171,8 @@
}
$
(
"#flipping-coupon-code"
).
html
(
response
.
coupon_code
);
$
(
".coupon-wrapper"
).
addClass
(
"flipping"
);
$
(
".coupon-alt-input-title"
).
html
(
"Thank your Subscribe!"
)
var
tanksText
=
"
<?=
__
(
'Thank your Subscribe!'
)
?>
"
;
$
(
".coupon-alt-input-title"
).
html
(
tanksText
);
$
(
".coupon-alt-input"
).
hide
();
$
(
".coupon-shopping-now"
).
show
();
},
...
...
app/code/Joshine/Review/view/frontend/templates/product/view/list.phtml
View file @
06503866
...
...
@@ -276,7 +276,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
<div
class=
"joshine-foot-mark rate-fit"
>
<div
class=
"rate-fit-item"
>
<span><strong
class=
"joshine-font-w-bolder"
>
<?=
__
(
"Size Fits"
)
?>
>
:
</strong>
<span
data-review-js=
"fits"
></span></span>
<span><strong
class=
"joshine-font-w-bolder"
>
<?=
__
(
"Size Fits"
)
?>
:
</strong>
<span
data-review-js=
"fits"
></span></span>
</div>
</div>
</div>
...
...
@@ -375,15 +375,15 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
}
function
fitsTranslate
(
fits
)
{
var
fits_words
=
'default'
;
var
fits_words
=
"
<?=
__
(
'True to Size'
)
?>
"
;
if
(
fits
===
'1'
)
{
fits_words
=
'Small'
;
fits_words
=
"
<?=
__
(
'Small'
)
?>
"
;
}
if
(
fits
===
'2'
)
{
fits_words
=
'Ture Size'
;
fits_words
=
"
<?=
__
(
'True to Size'
)
?>
"
;
}
if
(
fits
===
'3'
)
{
fits_words
=
'Large'
;
fits_words
=
"
<?=
__
(
'Large'
)
?>
"
;
}
return
fits_words
;
}
...
...
@@ -766,7 +766,7 @@ $imagesBlock = $helper->getReviewImagesBlock(15, $block->getProductId());
let
review
=
findReviewById
(
shouldReviewId
);
$
(
".review-box-title"
).
html
(
review
.
title
);
let
fits_text
=
fitsTranslate
(
review
.
size_fits
);
$
(
".review-box-size"
).
html
(
$
.
mage
.
__
(
"Size Fits"
)
+
": "
+
fits_text
);
$
(
".review-box-size"
).
html
(
"
<?=
__
(
'Size Fits'
)
?>
"
+
": "
+
fits_text
);
$
(
".review-box-content"
).
html
(
review
.
detail
);
$
(
"#review-box-id"
).
val
(
review
.
review_id
);
}
...
...
app/design/frontend/Joshine/breeze/i18n/es_ES.csv
View file @
06503866
...
...
@@ -15627,6 +15627,11 @@ Buy the Latest,Comprar los últimos productos
"Shop ","Tiendas "
" on "," En "
Best Seller,Mejor vendedora
Additional Information,Información adicional
Shopping Now,Ahora de compras
"Subscribe to get your exclusive offer.","Suscríbase para obtener su oferta exclusiva."
"Thank your Subscribe!","¡ gracias por su suscripción!"
invalid email address,Dirección de correo electrónico no válida
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
06503866
...
...
@@ -2933,6 +2933,7 @@ div#shipping-method-buttons-container {
}
@media(min-width: 1024px) {
div.product-item-info:hover {
padding: 7px !important; //消除鼠标经过抖动
background: #ffffff !important;
border: 1px solid #bbbbbb;
position: relative;
...
...
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