Buy Now Confirmation Popup Template
- Name:
buyNowConfirmationTemplate - Url:
#/lots/[LOT_UUID] - Description: Popup which is displayed when you click on buy now button on the lot.
Preview

Default Template
<confirmation-message />
<lot-details :lot="lot"/>
<tax-rate-and-premiums :lot="lot"/>
<bid-amounts :lot="lot" :bid-amount="bidAmount"/>
Available Components
<BidAmounts />
Displays 3 amounts if the configuration option showBidAmountsInConfirmation is enabled.
Component props
lot
- Type:
object - Required
bidAmount
- Type:
number - Required
Usage
<bid-amounts :lot="lot" :bid-amount="bidAmount"/>
<!-- or -->
<BidAmounts :lot="lot" :bid-amount="bidAmount"/>
<LotDetails />
Displays lot image and lot title next to each other.
Component props
lot
- Type:
object - Required
Usage
<lot-details :lot="lot"/>
<!-- or -->
<LotDetails :lot="lot"/>
<ConfirmationMessage />
Displays confirmation message - "Are you sure you want to buy this item?"
Component props
message
- Type:
string - Default: "Are you sure you want to buy this item?"
Usage
<confirmation-message />
<!-- or -->
<ConfirmationMessage />
<BidTotalAmount />
Displays total purchase amount including buyers premium.
Component props
lot
- Type:
object - Required
bidAmount
- Type:
number - Required
Usage
<bid-total-amount :lot="lot" :bid-amount="bidAmount"/>
<!-- or -->
<BidTotalAmount :lot="lot" :bid-amount="bidAmount"/>
<BidAmount />
Displays actual purchase amount without buyers premium.
Component props
lot
- Type:
object - Required
bidAmount
- Type:
number - Required
Usage
<bid-amount :lot="lot" :bid-amount="bidAmount"/>
<!-- or -->
<BidAmount :lot="lot" :bid-amount="bidAmount"/>
<CalculatedPremium />
Displays calculated buyers premium based on purchase amount.
Component props
lot
- Type:
object - Required
bidAmount
- Type:
number - Required
Usage
<calculated-premium :lot="lot" :bid-amount="bidAmount"/>
<!-- or -->
<CalculatedPremium :lot="lot" :bid-amount="bidAmount"/>
<TaxRateAndPremiums />
Displays buyers premium tiers.
Component props
lot
- Type:
object - Required
Usage
<tax-rate-and-premiums :lot="lot"/>
<!-- or -->
<TaxRateAndPremiums :lot="lot"/>
Properties
mainConfig
See documentation here
bidAmount
The actual purchase amount user is trying to buy item with.
lot
- Type:
object
Entire lot object. The object contains every single information associated to the lot. That can be used to render particular type of data that is not available as a ready component.
You can print the entire lot object into JSON format in the following way.
<pre>{{ lot }}</pre>
The result will be something like this
Click to expand lot object details
{
"auction": "...",
"auction_no": "ZS014",
"auction_title": {
"en": "ZS014",
"fr": "ZS014"
},
"auction_uuid": "5f467b35-b433-48fa-98b7-f1266104a73f",
"bp_tax_rate": "20.0000",
"branch_phone": null,
"buy_now_price": 500000,
"category": {
"dynamic_fields": {
"description": {
"field_class_name": "CharField",
"label": "Description",
"position": 2,
"rules": {
"allow_blank": false,
"allow_null": false,
"required": true
},
"type": "ckeditor"
},
"title": {
"field_class_name": "CharField",
"label": "Title",
"position": 1,
"rules": {
"allow_blank": false,
"allow_null": false,
"required": true
},
"type": "ckeditor"
}
},
"key": "ae92ebba-4779-453e-b087-8e836dbe9ea3",
"name": {
"en": "Sport Cars"
}
},
"collection_info": {
"address_1": null,
"address_2": null,
"city": null,
"email": null,
"municipality": null,
"phone": null,
"state": null,
"zip_code": null
},
"currency": {
"code": "GBP",
"display": "British Pound",
"symbol": "£"
},
"department": {
"image": null,
"key": "cars",
"name": {
"en": "Cars"
}
},
"description": {
"en": "<p>Bugati</p>Yes"
},
"dynamic_fields": {
"en": {
"description": "<p>Bugati</p>",
"is_featured": true,
"title": "<p>Bugati</p>"
}
},
"end_date": "2023-12-02 06:02:00+00:00",
"hammer_tax_rate": "20.0000",
"has_my_bid": false,
"high": null,
"image_urls": [
"http://localhost:4569/app.dev.artisio.co/media/001eacb6-ed5d-45d0-a783-210f647ece14/inventory/45fe1f41-69c0-41ef-be4b-5b27cb34258b/cf754343-ff05-4a93-bd1c-b68b6f57704f/0001_FqVXQw_sm.jpeg"
],
"images": [
{
"lg": {
"content_type": "image/jpeg",
"extension": "jpeg",
"height": 1080,
"mime": "image/jpeg",
"size": 169455,
"uploaded": true,
"url": "http://localhost:4569/app.dev.artisio.co/media/001eacb6-ed5d-45d0-a783-210f647ece14/inventory/45fe1f41-69c0-41ef-be4b-5b27cb34258b/cf754343-ff05-4a93-bd1c-b68b6f57704f/0001_FqVXQw_lg.jpeg",
"width": 1920
},
"original": {
"content_type": "image/jpeg",
"extension": "jpeg",
"height": 2000,
"mime": "image/jpeg",
"size": 2168703,
"uploaded": true,
"url": "http://localhost:4569/app.dev.artisio.co/media/001eacb6-ed5d-45d0-a783-210f647ece14/inventory/45fe1f41-69c0-41ef-be4b-5b27cb34258b/cf754343-ff05-4a93-bd1c-b68b6f57704f/0001_FqVXQw_original.jpeg",
"width": 3556
},
"sm": {
"content_type": "image/jpeg",
"extension": "jpeg",
"height": 400,
"mime": "image/jpeg",
"size": 29331,
"uploaded": true,
"url": "http://localhost:4569/app.dev.artisio.co/media/001eacb6-ed5d-45d0-a783-210f647ece14/inventory/45fe1f41-69c0-41ef-be4b-5b27cb34258b/cf754343-ff05-4a93-bd1c-b68b6f57704f/0001_FqVXQw_sm.jpeg",
"width": 600
},
"thumb": {
"content_type": "image/jpeg",
"extension": "jpeg",
"height": 100,
"mime": "image/jpeg",
"size": 1784,
"uploaded": true,
"url": "http://localhost:4569/app.dev.artisio.co/media/001eacb6-ed5d-45d0-a783-210f647ece14/inventory/45fe1f41-69c0-41ef-be4b-5b27cb34258b/cf754343-ff05-4a93-bd1c-b68b6f57704f/0001_FqVXQw_thumb.jpeg",
"width": 100
}
}
],
"increments": null,
"is_dynamic": true,
"is_favored": false,
"is_nft": false,
"is_private_treaty": false,
"is_started": true,
"is_vat_applicable_for_hammer_price": true,
"last_bid_amount": null,
"lot_no": "1",
"low": null,
"max_bid": null,
"max_bid_status": null,
"next": "a7ade8d6-15ed-4c11-a867-6a9f9a6fd722",
"nft_data": null,
"num_of_bids": 0,
"previous": null,
"quantity": 1,
"reserve": null,
"short_description": {
"en": "<p>Bugati</p>"
},
"start_date": "Fri, 24 Nov 2023 15:39:00 GMT",
"start_price": 20000,
"status": "published",
"stock_no": "BT1/4",
"subscriptions": [],
"tax_rate": "20.00",
"third_party_url": null,
"title": {
"en": "<p>Bugati</p>"
},
"uuid": "5b56a3a8-6097-4eb2-9157-8405ec7edb21",
"watchlist_count": 0,
"winning_bid": null,
"actual_start_date": "2023-11-24T15:39:00.000Z",
"actual_end_date": "2023-12-02T06:02:00.000Z",
"last_bids": [],
"hasBids": false,
"last_update_date": 1701079624786
}
Rendering content from lot object
You can output any of the lot fields in the following way.
<!-- Outputs lot's buy now price -->
{{ lot.buy_now_price }}
<!-- Outputs lot tax rate -->
{{ lot.tax_rate }}
There are a couple of fields on lot object which are translatable.
Example: short_description, title, description, etc.
These properties might contain value for multiple languages.
To display content for the current language you need to use filter currentLocale.
You can see how Vue.js filters can be used.
{{ lot.title | currentLocale }}
But if the content contains HTML tags the content will be displayed with tags.
<p>This is lot's description</p>
To render HTML tags properly you need to render translatable content in the following way.
<div v-html="$options.filters.currentLocale(lot.description)"></div>
The content will be rendered as expected inside <p> tag.
This is lot's description
Check if the customer is registered as bidder on the auction
<div v-if="lot.auction.is_bidder">
The customer is registered as bidder on the auction
</div>
If bidder auto approval is not enabled on the auction, bidder might be registered, but its status might not be approved. You can check this inside lot.auction.is_approved_bidder flag.
<div v-if="lot.auction.is_approved_bidder">
The customer is registered as bidder on the auction and is approved
</div>
Example 1
Check if the user is authenticated or not, check the bidder status as well and display bidding button, max bid button and buy now buttons only after that.
<div v-if="!is_authorized">
Please login on the website to place a bid
</div>
<div v-else>
<div v-if="!lot.auction.is_bidder">
Please register on the auction to place a bid
</div>
<div v-else-if="!lot.auction.is_approved_bidder">
Your bidder status is not approved, You can't place bids until you get approved.
<div v-if="lot.auction.require_credit_card_verification">
Please finish your credit card verification to be able to bid on the auction.
</div>
<div v-else-if="lot.auction.initial_deposit_amount">
This auction requires initial deposit. Please pay your deposit invoice to be able to bid on the auction
</div>
</div>
<div v-else>
<bidding-input/>
<bidding-max-bid/>
<bidding-buy-now-button/>
</div>
</div>
Methods
confirm
Confirms the popup and purchases the lot.
hide
Rejects the popup and closes.