Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Download Tracker 1.0.7 — Minor update available for module download_tracker (1.0.7). Release: Directory2Block Slideshow 1.0.8 — Minor update available for module directory2block_slideshow (1.0.8). Release: Mautic Audiences 1.1.5 — Minor update available for module mautic_audiences (1.1.5). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Commerce Add To Cart Pop-Up Form

No security coverage

Part of the Commerce ecosystem · 355 projects

View on drupal.org

The add to cart pop-up form module provides an add to cart link pseudo field to each product type that allows you to display the product, selected variation, and add to cart form in a themeable pop-up modal when the link is clicked. When the pop-up form is submitted, the cart block count is automatically updated and a themeable success form is displayed.

The pop-up modal allows you to configure the height and width of the modal in the manage display section for each product type. The pop-up modal is populated by fields configured in custom Add To Cart Pop-Up display modes for the Product Type, Variation Type, and Order Item Type.

Setup Instructions

  1. Go to Manage Display for your Product Type and Variation Type and enable the Add To Cart Pop-Up display mode.
  2. Set the weight of each field you wish to display in the pop-up form. Ensure that the Variations field is set to the Add To Cart formatter. Just like building a product page, the variation fields can be injected into the pop-up form to display alongside the product fields.
  3. Edit the Product Type display mode you wish to display the Add To Cart Pop-Up Link and drag the Add to cart pop-up form field into the visible area. Set the width and height of the modal form and choose whether you wish to combine similar order items.
  4. Go to Manage Form Display for your Order Item Type and enable the Add To Cart Pop-Up form display mode. Set the Purchased Entity field to either the Product variation title or attributes widget, and hide the Unit Price field.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
May 2023
Latest release
3 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0-beta3 Pre-release May 17, 2023
1.0.0-beta2 Pre-release May 16, 2023