Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ecommerce-maven
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ascend
ecommerce-maven
Commits
05656a8c
Commit
05656a8c
authored
May 12, 2021
by
Shaphen Pangburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Team]: Update product Add to Cart and price/promotion display format
parent
175fa28f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
product-item.jsx
ecom-web/src/components/product-market/product-item.jsx
+1
-1
product-market.css
ecom-web/src/resources/stylesheets/product-market.css
+7
-3
No files found.
ecom-web/src/components/product-market/product-item.jsx
View file @
05656a8c
...
...
@@ -102,7 +102,7 @@ export default class ProductItem extends Component {
</
p
>
:
""
}
</
div
>
<
form
onSubmit=
{
e
=>
this
.
handleSubmit
(
e
,
this
.
props
.
item
)
}
className=
"add-cart-and-quantity"
>
{
this
.
props
.
user
?.
currentUser
?
""
:<
p
id=
"please-log-in-notice"
>
Log in to Add to Cart
</
p
>
}
{
this
.
props
.
user
?.
currentUser
?
""
:<
p
id=
"please-log-in-notice"
>
Log in to
<
br
/>
Add to Cart
</
p
>
}
<
p
id=
"quantity-text"
>
Qty
</
p
>
<
input
className=
"order-quantity"
...
...
ecom-web/src/resources/stylesheets/product-market.css
View file @
05656a8c
...
...
@@ -140,7 +140,7 @@
#prod-promotion
{
font-size
:
17px
;
color
:
red
;
padding-bottom
:
5
px
;
padding-bottom
:
6
px
;
}
#quantity-text
{
...
...
@@ -172,6 +172,8 @@
display
:
flex
;
justify-content
:
center
;
margin-top
:
5px
;
padding-top
:
2px
;
height
:
24px
;
}
#promo-show-text
,
#promo-show-text-original
{
...
...
@@ -217,10 +219,12 @@
#please-log-in-notice
{
display
:
none
;
position
:
absolute
;
bottom
:
47px
;
left
:
22px
;
text-align
:
center
;
bottom
:
50px
;
width
:
80%
;
padding
:
3px
10px
;
border-radius
:
5px
;
cursor
:
default
;
background-color
:
rgb
(
248
,
76
,
76
);
animation
:
fadeInUp
;
...
...
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