|
|
@ -238,7 +238,12 @@ class Cart extends Component { |
|
|
|
</div> */} |
|
|
|
</div> */} |
|
|
|
|
|
|
|
|
|
|
|
<Link |
|
|
|
<Link |
|
|
|
to="/checkout" |
|
|
|
disabled={window.lang == "ar" || window.lang == "en"} |
|
|
|
|
|
|
|
to={ |
|
|
|
|
|
|
|
window.lang == "ar" || window.lang == "en" |
|
|
|
|
|
|
|
? "/cart" |
|
|
|
|
|
|
|
: "/checkout" |
|
|
|
|
|
|
|
} |
|
|
|
className="cart__left--submit" |
|
|
|
className="cart__left--submit" |
|
|
|
style={{ textDecoration: "none", textAlign: "center" }} |
|
|
|
style={{ textDecoration: "none", textAlign: "center" }} |
|
|
|
//onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
|
//onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
@ -370,7 +375,12 @@ class Cart extends Component { |
|
|
|
</Link> |
|
|
|
</Link> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<Link |
|
|
|
<Link |
|
|
|
to="/checkout" |
|
|
|
disabled={window.lang == "ar" || window.lang == "en"} |
|
|
|
|
|
|
|
to={ |
|
|
|
|
|
|
|
window.lang == "ar" || window.lang == "en" |
|
|
|
|
|
|
|
? "/cart" |
|
|
|
|
|
|
|
: "/checkout" |
|
|
|
|
|
|
|
} |
|
|
|
className="mobile-cart__submit" |
|
|
|
className="mobile-cart__submit" |
|
|
|
style={{ textAlign: "center", textDecoration: "none" }} |
|
|
|
style={{ textAlign: "center", textDecoration: "none" }} |
|
|
|
// onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
|
// onClick={() => this.props.payFactor({ userId: userId })}
|
|
|
|