> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.customall.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Manual Handle "Add to Cart" Event

This article will guide you on how to manually handle the "Add to Cart" process for personalized products on Customall. Instead of relying on automated processes, you can use JavaScript code to manually add items to the cart.

First, you need to create a manual "Add to Cart" event using JavaScript on Shopify Theme. Below is a sample code snippet:

```javascript
window.manualATCEvent = function(){
  // Handle your logic here

}
```

Also Customall provide event to help you call add to cart after process your logic

```javascript
window.ctasdk.addToCart()
```

Sample code for handle manual Add To Cart event

```javascript
window.manualATCEvent = function(){
  // Handle your logic here
  alert("hello");
  window.ctasdk.addToCart()
}
```