> For the complete documentation index, see [llms.txt](https://docs.zapiet.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zapiet.com/javascript-api/methods.md).

# Methods

The following method can be used to reload the widget. Primarily used for ajax cart support.&#x20;

```javascript
Zapiet.start(ZapietWidgetConfig);
```

The following method can be used to detect whether or not customers should be able to proceed to checkout process. This ensures customers have selected a checkout method, date and time.

```
Zapiet.Widget.checkoutEnabled();
```
