Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
getme
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
amal
getme
Commits
7c5a6851
Commit
7c5a6851
authored
Feb 21, 2020
by
Adarsh K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cart change
parent
c85be2be
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
app-routing.module.ts
src/app/app-routing.module.ts
+1
-1
cart.page.html
src/app/cart/cart.page.html
+2
-2
cart.page.scss
src/app/cart/cart.page.scss
+3
-0
searchmodal.page.ts
src/app/searchmodal/searchmodal.page.ts
+1
-1
No files found.
src/app/app-routing.module.ts
View file @
7c5a6851
...
...
@@ -138,4 +138,4 @@ const routes: Routes = [
],
exports
:
[
RouterModule
]
})
export
class
AppRoutingModule
{}
export
class
AppRoutingModule
{
}
src/app/cart/cart.page.html
View file @
7c5a6851
...
...
@@ -171,8 +171,8 @@
<hr
/>
<div
class=
"coupon_code"
>
<div
class=
"promo-row"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn apply_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
APPLY
</button>
</div>
...
...
src/app/cart/cart.page.scss
View file @
7c5a6851
...
...
@@ -236,6 +236,9 @@
font-size
:
17px
;
font-weight
:
bolder
;
}
.apply_btn
{
display
:
flex
;
}
}
.promo-success
{
color
:
#31b131
;
...
...
src/app/searchmodal/searchmodal.page.ts
View file @
7c5a6851
...
...
@@ -60,7 +60,7 @@ export class SearchmodalPage implements OnInit {
this
.
productsService
.
setProd
(
data
);
}
this
.
searchClose
();
this
.
router
.
navigateByUrl
(
url
,
{
queryParams
:
data
,
replaceUrl
:
true
});
this
.
router
.
navigateByUrl
(
url
,
{
queryParams
:
data
,
skipLocationChange
:
true
});
document
.
body
.
scrollTop
=
document
.
documentElement
.
scrollTop
=
0
;
}
...
...
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