Skip to main content
All CollectionsWeb CheckoutFrequently Asked Questions
Is it possible to use the widget in both pop-up and embedded modes at the same time?
Is it possible to use the widget in both pop-up and embedded modes at the same time?
Lucia Burin Sestakova avatar
Written by Lucia Burin Sestakova
Updated over 2 months ago

Yes, the widget can be used in both modes on the same page at the same time. Follow these guidelines to implement it correctly:

  • Default Configuration:

    Ensure the application data-config DOES NOT contain the “embedded”: true attribute in the script.

  • Pop-up mode:

    You can use either the <a> or <button> tags, which will contain the ventrata-checkout attribute and its data-config. While you may specify the “embedded”: false attribute, it is not required as this is the default setting.

    Refer to the Implementation Guide for more details.

  • Embedded mode:

    Use the <aside> tag to define the widgets’s width and height. Add the ventrata-embedded-widget attribute along with the widget’s data-config. Be sure to specify the “embedded”: true attribute to enable embedded mode.

    Refer to the Implementation Guide for more details.

Did this answer your question?