feat: apply coupon code for order

:%s
This commit is contained in:
lytrankieio123
2021-10-19 18:48:10 +07:00
parent 9603f0dc6c
commit 693935a480
14 changed files with 229 additions and 23 deletions

View File

@@ -132,7 +132,7 @@ const CheckoutInfo = ({ onViewCart }: CheckoutInfoProps) => {
{/* TODO: remove */}
<ButtonCommon onClick={createOrder}>test create order</ButtonCommon>
<ButtonCommon onClick={createOrder}>test get activeStep order</ButtonCommon>
TOTAL: {order?.totalPrice}
<div className={s.title}>
<Logo />