Skip to content

Order styles

Customize the Order drop-in using CSS classes and design tokens. This page covers the Order-specific container classes and customization examples. For comprehensive information about design tokens, responsive breakpoints, and styling best practices, see Styling Drop-In Components.

Version: 1.4.0

Customization example

Add this to the CSS file of the specific commerce block where you’re using the Order drop-in.

For a complete list of available design tokens (colors, spacing, typography, etc.), see the Design tokens reference.

.order-order-actions__wrapper {
gap: 0 var(--spacing-small);
margin-bottom: var(--spacing-small);
margin-top: var(--spacing-medium);
gap: 0 var(--spacing-medium);
margin-bottom: var(--spacing-medium);
margin-top: var(--spacing-large);
}

Container classes

The Order drop-in uses BEM-style class naming. Use the browser DevTools to inspect elements and find specific class names.

/* CustomerDetailsContent */
.dropin-card__content {}
.order-customer-details-content {}
.order-customer-details-content__container {}
.order-customer-details-content__container--no-margin {}
.order-customer-details-content__container-billing_address {}
.order-customer-details-content__container-billing_address--fullwidth {}
.order-customer-details-content__container-description {}
.order-customer-details-content__container-email {}
.order-customer-details-content__container-payment_methods {}
.order-customer-details-content__container-payment_methods--fullwidth {}
.order-customer-details-content__container-payment_methods--icon {}
.order-customer-details-content__container-return-information {}
.order-customer-details-content__container-shipping_address {}
.order-customer-details-content__container-shipping_methods {}
.order-customer-details-content__container-title {}
/* EmptyList */
.dropin-card {}
.dropin-card__content {}
.order-empty-list {}
.order-empty-list--empty-box {}
.order-empty-list--minified {}
/* OrderActions */
.order-order-actions__wrapper {}
.order-order-actions__wrapper--empty {}
/* OrderCancel */
.dropin-modal__body--medium {}
.dropin-modal__header {}
.dropin-modal__header-close-button {}
.dropin-modal__header-title {}
.order-order-cancel__button-container {}
.order-order-cancel__modal {}
.order-order-cancel__text {}
.order-order-cancel__title {}
/* OrderCostSummaryContent */
.dropin-accordion-section {}
.dropin-accordion-section__content-container {}
.dropin-card__content {}
.dropin-price {}
.order-cost-summary-content {}
.order-cost-summary-content__accordion {}
.order-cost-summary-content__accordion-row {}
.order-cost-summary-content__accordion-total {}
.order-cost-summary-content__description {}
.order-cost-summary-content__description--discount {}
.order-cost-summary-content__description--gift-wrapping {}
.order-cost-summary-content__description--header {}
.order-cost-summary-content__description--printed-card {}
.order-cost-summary-content__description--shipping {}
.order-cost-summary-content__description--subheader {}
.order-cost-summary-content__description--subtotal {}
.order-cost-summary-content__description--total {}
.order-cost-summary-content__description--total-free {}
/* OrderHeader */
.order-header {}
.order-header-create-account {}
.order-header-create-account__button {}
.order-header-create-account__message {}
.order-header__icon {}
.order-header__order {}
.order-header__title {}
.success-icon {}
/* OrderLoaders */
.order-order-loaders--card-loader {}
/* OrderProductListContent */
.cart-summary-item__title--strikethrough {}
.dropin-card__content {}
.dropin-cart-item__alert {}
.order-confirmation-cart-summary-item {}
.order-order-product-list-content {}
.order-order-product-list-content__items {}
/* OrderSearchForm */
.dropin-card__content {}
.order-order-search-form {}
.order-order-search-form__button-container {}
.order-order-search-form__title {}
.order-order-search-form__wrapper {}
.order-order-search-form__wrapper__item--email {}
.order-order-search-form__wrapper__item--lastname {}
.order-order-search-form__wrapper__item--number {}
/* OrderStatusContent */
.dropin-card__content {}
.order-order-status-content {}
.order-order-status-content__wrapper {}
.order-order-status-content__wrapper-description {}
.order-order-status-content__wrapper-description--actions-slot {}
/* ReturnOrderMessage */
.order-return-order-message {}
.order-return-order-message__subtitle {}
.order-return-order-message__title {}
/* ReturnOrderProductList */
.cart-summary-item__title--strikethrough {}
.dropin-cart-item__alert {}
.dropin-cart-item__footer {}
.dropin-incrementer {}
.dropin-incrementer--medium {}
.dropin-incrementer__button-container {}
.order-create-return {}
.order-create-return_notification {}
.order-return-order-product-list {}
.order-return-order-product-list__item {}
.order-return-order-product-list__item--blur {}
/* ReturnReasonForm */
.dropin-cart-item {}
.dropin-field {}
.order-return-reason-form {}
.order-return-reason-form__actions {}
/* ReturnsListContent */
.dropin-accordion-section__content-container {}
.dropin-card__content {}
.dropin-content-grid {}
.dropin-content-grid__content {}
.dropin-divider {}
.dropin-divider--secondary {}
.order-returns-list-content {}
.order-returns-list-content__actions {}
.order-returns-list-content__card {}
.order-returns-list-content__card-wrapper {}
.order-returns-list-content__cards-grid {}
.order-returns-list-content__cards-list {}
.order-returns-list-content__descriptions {}
.order-returns-list-content__images {}
.order-returns-list-content__images-3 {}
.order-returns-list-content__return-status {}
.order-returns__header--full-size {}
.order-returns__header--minified {}
/* ShippingStatusCard */
.dropin-accordion-section__content-container {}
.dropin-card__content {}
.dropin-content-grid {}
.dropin-content-grid__content {}
.dropin-divider {}
.dropin-divider--secondary {}
.order-shipping-status-card {}
.order-shipping-status-card--count-steper {}
.order-shipping-status-card--return-order {}
.order-shipping-status-card__header {}
.order-shipping-status-card__header--content {}
.order-shipping-status-card__images {}
/* OrderCancelForm */
.order-order-cancel-reasons-form__button-container {}
.order-order-cancel-reasons-form__text {}