Purpose: Displays and allows editing of the basket / cart.
Props
Prop ID | Prop Label | Type | Default Value | Info |
---|---|---|---|---|
heading
|
Heading
|
string
|
Basket
|
Displays heading text |
subheading
|
Subheading
|
string
|
Continue shopping or checkout now
|
Displays subheading text |
productHeading
|
Product heading
|
string
|
Product
|
Displays product heading text |
quantityHeading
|
Quantity heading |
string
|
Quantity
|
Displays quantity heading text |
itemTotalHeading
|
Item total heading
|
string
|
Item Total
|
Displays item total text |
emptyBasketText
|
Empty basket display text
|
string
|
Your basket is empty, please add something to your order.
|
Displays Empty basket display text |
removeLabel
|
Remove from basket label
|
string
|
Remove
|
Displays remove from basket label |
totalLabel
|
Total label
|
string
|
Total:
|
Displays total label |
taxInfo
|
Tax information |
string
|
*Tax calculated at next step.
|
Displays tax information text |
goBackToPreviousPage
|
Go back goes to previous page in history?
|
boolean
|
false | If goBackUrl is not defined and this is set to true, the "Go back label" will take the user back to the previous page. |
goBackLabel
|
Go back label
|
string |
Continue shopping
|
Displays go back label |
goBackUrl
|
Go back URL (If not set the button will go back to the referrer)
|
string |
|
If defined, this is where the goBackLabel navigates to. This takes precedence over "Go back goes to the previous page in history". |
goToCheckoutLabel
|
Go to checkout label
|
string |
Checkout
|
Displays go to checkout label |
Comments
0 comments
Please sign in to leave a comment.