> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/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).

# Disable add to cart & slide out cart

This article will guide you on how to disable add to cart and the slide out cart that will appear automatically on the right side when customers add product to cart. This guide is applicable for Wave, Fall, X-Force, Maker and Lucky theme only 

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/ezgif-1-2d26e10165_1jlup42.gif)

###### In this article : 
1. Disable add to cart & slide-out cart
2. Enable slide-out cart
3. Change shopping cart font size
4. Disable the auto cart preview when every product added (apply to all theme)
5. Rename the “shipping, taxes & discounts will be calculated at checkout” on cart 

**⚠️ Kindly take note :**
* Above all code editing, you will need to re-edit the code again if you switch to a new theme template
* Different themes will have different slide-out cart
* Some theme does not have slide-out cart
* We do not allow to change or edit the code for the checkout page (which include shipping & payment method) due to security reasons
---
## 1. Disable add to cart & slide out cart

||| 📌Note: This step comes before the Candy theme, example: X-force, Prisme, DOUX, & etc. For newer themes, may refer to the step in the next section.

Step 1: Go to [EasyStore Admin](https://admin.easystore.co/) > Channels > Online Store > Edit source and reset the 3 files below :
* theme.js
* cart-drawer.liquid
* related-products.liquid

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-34_ivmpn7.png)

For mobile view, there's add `hide` text within it. 

a. Go to edit source > snippets > `product-grid-item.liquid` > search for:
    `{% if sold_out == false and product.price > 0 and settings.home_page_add_to_cart == true %}` (around row 63)
b. Add `hide` behind `addToCartList float-btn btn small--hide medium--hide`
c. Add `hide` behind `float-btn btn small--hide medium--hide`

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_19soaa1.png)

d. Search for: `{% if sold_out == false and product.price > 0 and settings.home_page_add_to_cart == true %}` (around row 103)
e. Add `hide` behind `addToCartList btn btn--outline large--hide`
 f. Add `hide` behind `btn btn--outline large--hide`

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1o0s26u.png)

Step 2 : Save and you are done.

||| 📌Note: This step is for the newer theme for example: Aroma, Kiddy, Vivid & etc. For older themes, may refer to the step above.

Step 1 : Go to [EasyStore Admin](https://admin.easystore.co/) > Channels > Online Store > Edit source > main-product.liquid

Step 2 : Remove the code section as shown in the image below

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-36_1ko6o07.png)

Step 3 : Save and you are done.

---
## 2. Enable slide-out cart

Step 1 : Go to [EasyStore Admin](https://admin.easystore.co/) > Channels > Online Store > Edit source > theme.js

Step 2 : Change the **// toggleCart();** to **toggleCart();** around line 109

| 💡 Tips : You can remove **popToast(add_cart_success_html)** if don't want to have a popup message when added product to cart 

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_djnftv.png)

Step 3 : Go to line 300 - 320 and change the **// toggleCart();** to **toggleCart(); **

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1eums3k.png)

 Step 4 : Save
---
## 3. Change shopping cart font size

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_4k46rr.png)

Step 1: Go to EasyStore Admin > Channels > Online Store > Edit source > assets > **theme.scss**

Step 2 : Look for **cart-drawer-wrapper** around line 4197 > change the font size

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-37_fcc7ls.png)

 Step 3 : Save and you're done!
---
## 4. Disable the auto cart preview when every product added (apply to all theme)

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-38_2pb7tq.png)

Step 1 : Go to Channels > Online Store > Edit Source > select **theme.js** file

Step 2 : remove these 2 line of **theme.toggleCart();** around line 115 and 319

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-39_1c0k0dc.png)

Step 3 : Save

**Before :**

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/before_1cwoqyu.gif)

**After :**

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/after_1x9mwml.gif)
---
## 5. Rename the “shipping, taxes & discounts will be calculated at checkout” on cart

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-40_7ah50z.png)

Step 1 : Click into Channels > Online Store > Edit Source > select **cart-drawer.liquid** file

Step 2 : Look for `<p><em>{{ 'cart.general.shipping_at_checkout' | t }}</em></p>` around line 470 and change the text here 

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-41_1b2hl4p.png)

Step 3 : Save

| 💡 Tips : If you do not want this wording to appear on the cart, you can remove the code `<p><em>{{ 'cart.general.shipping_at_checkout' | t }}</em></p>` 

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/b-42_zbagon.png)