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
b3067227
Commit
b3067227
authored
5 years ago
by
Adarsh K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
status
parent
b79b7ad8
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
27 deletions
+71
-27
app.component.html
src/app/app.component.html
+1
-1
cart.page.html
src/app/cart/cart.page.html
+43
-19
cart.page.ts
src/app/cart/cart.page.ts
+4
-0
ordercancelled.page.html
src/app/ordercancelled/ordercancelled.page.html
+1
-1
productlist.page.html
src/app/productlist/productlist.page.html
+11
-0
wishlist.page.html
src/app/wishlist/wishlist.page.html
+6
-6
products.service.ts
src/config/products.service.ts
+5
-0
No files found.
src/app/app.component.html
View file @
b3067227
...
...
@@ -20,7 +20,7 @@
</ion-menu-toggle>
<div
class=
"sidemenu_list"
>
<ul>
<ion-menu-toggle
(
click
)="
hideTab
()"
>
<ion-menu-toggle>
<li
(
click
)="
vieworder
('
home
')"
>
Shop
</li>
</ion-menu-toggle>
<!-- <li>About us</li> -->
...
...
This diff is collapsed.
Click to expand it.
src/app/cart/cart.page.html
View file @
b3067227
...
...
@@ -134,39 +134,64 @@
id=
"cod"
name=
"radio-group"
checked=
"true"
(
click
)="
getwaycod
()"
/>
<label
for=
"
paypal
"
>
<label
for=
"
cod
"
>
<p>
COD
</p>
</label>
</div>
<!-- <div class="payment_method">
<input type="radio" name="payments" id="paypal" name="radio-group" checked (click)="getwaypaypal()">
<label for="test1">
<div
class=
"payment_method"
>
<input
type=
"radio"
name=
"payments"
id=
"paypal"
name=
"radio-group"
(
click
)="
getwaypaypal
()"
/>
<label
for=
"paypal"
>
<p>
PayPal
</p>
</label>
</div>
<div
class=
"card_div"
[
hidden
]="
gateway
!=
1
"
>
<input class="card_no borderNone widthFull" placeholder="PayPal ID">
<input
class=
"card_no borderNone widthFull"
placeholder=
"PayPal ID"
/>
</div>
<div
class=
"payment_method"
>
<input type="radio" name="payments" id="afterpay" name="radio-group" (click)="getwayafterpay()">
<label for="test2">
<input
type=
"radio"
name=
"payments"
id=
"afterpay"
name=
"radio-group"
(
click
)="
getwayafterpay
()"
/>
<label
for=
"afterpay"
>
<p>
AfterPay
</p>
</label>
</div>
<div
class=
"card_div"
[
hidden
]="
gateway
!=
2
"
>
<input class="card_no" placeholder="**** **** **** 1458"
>
<input class="cv_number" placeholder="CVV"
>
<input
class=
"card_no"
placeholder=
"**** **** **** 1458"
/
>
<input
class=
"cv_number"
placeholder=
"CVV"
/
>
</div>
<div
class=
"payment_method"
>
<input type="radio" name="payments" id="payk" name="radio-group" (click)="getwaypayk()">
<label for="test3">
<input
type=
"radio"
name=
"payments"
id=
"payk"
name=
"radio-group"
(
click
)="
getwaypayk
()"
/>
<label
for=
"payk"
>
<p>
PayK
</p>
</label>
</div>
<div
class=
"card_div"
[
hidden
]="
gateway
!=
3
"
>
<input class="card_no borderNone widthFull" placeholder="PafyK ID">
</div> -->
<input
class=
"card_no borderNone widthFull"
placeholder=
"PafyK ID"
/>
</div>
<!-- <div class="delivery_time">
<ul>
<li>
...
...
@@ -181,14 +206,13 @@
</div> -->
<hr
/>
<div
class=
"coupon_code"
>
<input
class=
""
placeholder=
"COUPON CODE"
#
promo
/><button
class=
"add_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
<input
class=
""
placeholder=
"COUPON CODE: GET50"
#
promo
/><button
class=
"add_btn"
(
click
)="
promoApply
(
promo
.
value
)"
>
ADD
</button>
<br
/>
<h6>
GET50
</h6>
<span
*
ngIf=
"discountApplied"
style=
"color: red"
>
Promocode applied successfully
</span>
...
...
This diff is collapsed.
Click to expand it.
src/app/cart/cart.page.ts
View file @
b3067227
...
...
@@ -123,6 +123,10 @@ export class CartPage implements OnInit {
this
.
gateway
=
3
;
}
getwaycod
()
{
this
.
gateway
=
4
;
}
async
finishpop
()
{
const
modal
=
await
this
.
modalController
.
create
({
component
:
DeliverypopPage
...
...
This diff is collapsed.
Click to expand it.
src/app/ordercancelled/ordercancelled.page.html
View file @
b3067227
...
...
@@ -12,7 +12,7 @@
</button>
<div
class=
"clear"
></div>
</div>
<img
src=
"../assets/Path27@3x.png
"
>
<img
[
src
]="
data
.
product
[
0
].
image
"
onerror=
"this.src='../assets/Path27@3x.png'
"
>
<h4>
ORDER CANCELLED
</h4>
<p>
June 26th 2019, 03:00 PM
</p>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/productlist/productlist.page.html
View file @
b3067227
...
...
@@ -112,6 +112,17 @@
<li>
<input
class=
"styled-checkbox"
id=
"styled-checkbox-1"
type=
"radio"
value=
"newest"
name=
"sort"
(
click
)="
setValue
($
event
.
target
.
value
)"
/>
<label
for=
"styled-checkbox-1"
>
Newest First
</label>
</li>
<li>
<input
class=
"styled-checkbox"
id=
"styled-checkbox-5"
type=
"radio"
value=
"a-z"
...
...
This diff is collapsed.
Click to expand it.
src/app/wishlist/wishlist.page.html
View file @
b3067227
...
...
@@ -9,15 +9,15 @@
</div>
<ion-content>
<
!-- <
div class="wishlist-wrapper">
<div
class=
"wishlist-wrapper"
>
<ul>
<li>
<div
class=
"wishlist_image"
>
<img src="../../assets/img-list.png"
>
<img
src=
"../../assets/img-list.png"
/
>
</div>
<div
class=
"wishlist_detail"
>
<p
class=
"floatLeft"
>
European Style V Neck
</p>
<span class="floatRight"><img src="../../assets/heart.png"
></span>
<span
class=
"floatRight"
><img
src=
"../../assets/heart.png"
/
></span>
<div
class=
"clear"
></div>
<p>
Green, Small
</p>
<h1>
AU$88.00
</h1>
...
...
@@ -26,11 +26,11 @@
</li>
<li>
<div
class=
"wishlist_image"
>
<img src="../../assets/img-list.png"
>
<img
src=
"../../assets/img-list.png"
/
>
</div>
<div
class=
"wishlist_detail"
>
<p
class=
"floatLeft"
>
European Style V Neck
</p>
<span class="floatRight"><img src="../../assets/heart.png"
></span>
<span
class=
"floatRight"
><img
src=
"../../assets/heart.png"
/
></span>
<div
class=
"clear"
></div>
<p>
Green, Small
</p>
<h1>
AU$88.00
</h1>
...
...
@@ -38,7 +38,7 @@
<div
class=
"clear"
></div>
</li>
</ul>
</div> --
>
</div
>
<div
class=
"empty-wishlist-wrapper"
>
<img
src=
"../../assets/wishlist.png"
/>
...
...
This diff is collapsed.
Click to expand it.
src/config/products.service.ts
View file @
b3067227
...
...
@@ -125,6 +125,11 @@ export class ProductsService {
order
=
'asc'
;
}
if
(
sortValue
===
'newest'
)
{
field
=
'createdAt'
;
order
=
'asc'
;
}
// tslint:disable-next-line:max-line-length
const
prodRef
:
AngularFirestoreCollection
<
any
>
=
this
.
afs
.
collection
(
`products`
,
...
...
This diff is collapsed.
Click to expand it.
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