return-request

Return Request

Return form card that picks the items to send back, skipping and dimming final-sale ones, with a reason, a note, where the refund goes, the refund total and a request action that sends the reason and refund method shown.

Parts

PartFileDoes
ReturnRequestReturnRequest.vueLets the shopper pick items to return, give a reason and choose the refund.

Styling

All of Return Request’s styles live in return-request.json. New to styling in Frontic UI? How styling works →

Install

Built from

API reference

ReturnRequest.vue

Lets the shopper pick items to return, give a reason and choose the refund.

Props 19

PropTypeDefault
titlestring'Start a return'
descriptionstring—
items*ReturnItem[]—
reasonsReturnChoice[][ { value: 'fit', label: 'Doesn't fit' }, { value: 'quality', label: 'Not as expected' }, { value: 'damaged', label: 'Arrived damaged' }, { value: 'wrong', label: 'Wrong item sent' }, { value: 'other', label: 'Something else' }, ]
refundMethodsReturnChoice[][]
currencystring'EUR'
itemsLabelstring'Items to return'
reasonLabelstring'Reason'
commentLabelstring'Anything we should know?'
commentPlaceholderstring—
refundToLabelstring'Refund to'
refundLabelstring'Refund'
submitLabelstring'Request return'
surface'raised' | 'bare''raised'
classClassValue—
selectedstring[][]
reasonstring—
commentstring''
refundTostring—

Events 5

EventPayload
submitrequest: ReturnRequestValue
update:selectedvalue: string[]
update:reasonvalue: string | undefined
update:commentvalue: string
update:refundTovalue: string | undefined

Data attributes 1

Data attributeValues
data-surface'raised' | 'bare'

Recipe return-request-option 1 group

Recipe meta 1 group

Recipe disabled 1 group

Return Request