dotCMS Widgets

Widgets are pre-defined components which include the JS code to handle their behaviors already. We only need to add it to the page to re-use where necessary.


TypeDescriptionExampleConfigurable fields
1[siteCommon] AddStaticFileWidgetThis widget is used to include a pre-written JS file to handle the logic behind of a page. Pages require adding the JS file are: Order, Upsell, Index, Confirm, Decline.

Viewing the Order page in Edit mode, the file is included on the bottom of the page.

2[siteCommon] AffiliateFormWidgetThe affiliate form for registration.

3[siteCommon] BillingFormWidgetThis form is used in the order page which allows users to enter a different Billing Address, instead of using the Shipping Details.

4

[siteCommon] ChinaMethod


  • Require: [siteCommon] CTAButtonChinaWidget
QR Code payment methods using WeChat Pay and Alipay.

5

[siteCommon] CTAButtonChinaWidget

CTA button for order page which works with China Method (WeChat Pay and Alipay)

6

[siteCommon] CreditCardFormWidget

Credit Card information form. You can choose 2 different layouts for 2 order page versions.

7

[siteCommon] CreditCardMethodWidget


  • Require: [siteCommon] CreditCardFormWidget
  • Require: [siteCommon] CTAButtonWidget
The Credit Card payment option on Order page.

8[siteCommon] CTAButtonWidgetCTA button in order page which works with Credit Card payment option.

9[siteCommon] CTAButtonOrderListCTA button to complete the order in Order List page

10[siteCommon] CTAButtonOrderVipCTA button to complete the order with Credit Card Method and works with the VIP opt-in

11

[siteCommon] VipMembershipWidget


  • Required: [siteCommon] CTAButtonOrderVip
The VIP opt-in form for free expedited shipping

12[siteCommon] CTAButtonUpsellMiniNot used

13

[siteCommon] CustomerFormWidget


  • Available customized form for Chile, Colombia to collect local information
Input form to collect customer information, including First name, Last name, Email, Phone. Fields are configurable to fit the Order page layout.

14[siteCommon] DMCAWidgetNot used. Included in footer.

15[siteCommon] EstimatedFormWidgetPopup window to calculate shipping fee based on zip code, used in order page with shipping fee

16[siteCommon] ExitPopupWidgetAdd the Exit Popup and the JS code to control its behavior to the page.

17[siteCommon] FAQWidgetAccordion style FAQ (used in Chakra Sole index page)

18[siteCommon] FomoWidgetThis widget is used to include the fomo notification to the order page. Its data is specified a json file which is referred by the widget. It can be enabled using parameter fomo=1


19[siteCommon] IndicatorStepsThe 3-step indicator on the top of the upsell page.

20[siteCommon] InstallmentPaymentWidgetThis widget is used to provide customers option to select number of months for installment. Works with Credit Card method for Brazil.

21[siteCommon] KountWidgetNot used

22[siteCommon] LoaderWidgetAdd the loading bar to the order page. It can be controlled by the parameter loader=1.

23[siteCommon] PaypalButtonWidgetPaypal checkout button in order page, which works with the Paypal method.

24

[siteCommon] PaypalMethodWidget


  • Require: [siteCommon] PaypalButtonWidget
Allow users to select to pay by Paypal.

25[siteCommon] PaypalOneClickButtonWidgetPaypal Express Checkout button. Users don't need to enter any information before going to Paypal to login their account.
26[siteCommon] PaypalSmartButton AddStaticFilePaypal method using Smart Button. It automatically offer local payment methods based on IP. Used in both Order & Upsell pages

27[siteCommon] PreloadingWidgetNot used

28[siteCommon] ProductBannerSidebarWidgetThe banner on top of the right sidebar in order page

29[siteCommon] ProductDiscountInfoWidgetThe discount information on top of the product list in order page.

30[siteCommon] ProductLifetimeWarrantyLifetime Warranty widget to be used in the Descriptive Order page. It has a different layout than the original one, and CTA to select Yes or No

31[siteCommon] ProductListWidgetList of products in order page. The number of the products is flexible.


32[siteCommon] ProductSliderMain video / image slider in descriptive order page.

33[siteCommon] ProductWarrantyWidgetProduct warranty checkbox in order page. The percentage can be configured with funnel ID dropdown.

34[siteCommon] ReviewsPre-defined review information for product. 

35[siteCommon] ShippingFormBRWidgetCustomized shipping address form for Brazil. It is integrated with 3rd-party service to verify the CEP number and populate the correct address automatically.

36

[siteCommon] ShippingFormWidget


  • There are other customized forms for specific countries where address formats are different.
Shipping address form in order page.

37[siteCommon] SlotMachineSlot machine style exit popup

38[siteCommon] SmartPayPal OneClickButtonWidgetOne-click Paypal payment button with 2 options to use either Smart Button or Alternative Payment Method button

39[siteCommon] TimeCountdownWidgetThe time countdown in the index page.

40[siteCommon] UpsellCTAButtonWidgetThe CTA button in the upsell page.

41[siteCommon] WistiaVideoWidgetInsert a video from Wistia, using the video ID.