Skip to content

Commit

Permalink
feat: Removes discount code section
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossein-Asadi committed Jan 14, 2025
1 parent b8b8ccc commit 2bd1bd4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions frontend/src/pages/my-account/MyAccount.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import ItemCard from '../../components/item-card/item-card.jsx';
import Toast from '../../components/toast/Toast.jsx';
import useMyAccount from './useMyAccount.js';


const TAB_ITEMS = ['Workshops', 'Presentations', 'Cart'];
const DISCOUNT = 0.25;
const MIN_TOTAL_PRICE_TO_GET_DISCOUNT = 200000;
Expand Down Expand Up @@ -175,14 +176,14 @@ const MyAccount = () => {
<Divider sx={{ my: 2 }} />
<Stack alignItems="center" gap={1}>
<br />
Have a Discount Code?
<TextField
{/* Have a Discount Code? */}
{/* <TextField
id={"off-input-field"}
label={"Discount Code Here!"}
variant={"outlined"}
onChange={handleOffCodeInputHandler}
value={offCode}
/>
/> */}
<br />
{renderTotalPrice()}
<Button
Expand Down

0 comments on commit 2bd1bd4

Please sign in to comment.