Documentation
Feedback
Guides
API Reference

Guides
Getting Started

Integration Guides




Payments

Orders

Fulfillment

VTEX inStore

UI Customization

Message Center

Pricing

Promotions

Infrastructure

Conversational Commerce

Search

VTEX Session

VTEX inStore
How to customize inStore
How to configure extra fields in inStore cart

The configuration of extra fields in the inStore cart allows product specifications to be used in the order invoice issuance process.

To create the extra fields, follow the steps below:

  1. Check current store configuration via Get orderForm configuration.
  2. Save the JSON information returned from the request.
{ "paymentConfiguration": { "requiresAuthenticationForPreAuthorizedPaymentOption": false, } "minimumQuantityAccumulatedForItems": 1, "decimalDigitsPrecision": 2, "minimumValueAccumulated": 0, "apps": [] }
  1. Make a request using the endpoint Update orderForm configuration with the same saved JSON data, and add the extra fields (fields) with the information inside the apps property.
{ "paymentConfiguration": { "requiresAuthenticationForPreAuthorizedPaymentOption": false, } "minimumQuantityAccumulatedForItems": 1, "decimalDigitsPrecision": 2, "minimumValueAccumulated": 0, "apps": [ { "fields": [ "cart-extra-context", "cart-type" ], "id": "cart-extra-context", "major": 1 } ] }
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Allow manual prices on inStore
How to manage inStore data
Contributors
1
Photo of the contributor
+ 1 contributors
On this page