Advanced Settings [Developers only]

If you are a developer and looking to perform some action(s) yourself for the app instead of reaching out to us, here we have some developer options available in the Settings > General settings of our iCart Cart Drawer Cart Upsell shopify app.

Check the below lists of the options available for developer use – HTML Selector

  1. To open the iCart drawer when click on the theme’s cart icon – Visible only when the Side cart is active
  2. To remove anything like attribute, icon, class – Visible only when the Side cart is active
  3. To show cart item count in the theme cart icon – Visible when any option is active
  4. To open the iCart drawer on the add-to-cart event – Visible only when the Side cart is active
  5. To prevent click event of theme or iCart – Visible only when Side cart is active
  6. Checkbox: Prevent to auto open iCart drawer on the cart page – Visible only when the Side cart is active
  7. Checkbox: Prevent opening iCart drawer on add-to-cart event from anywhere (Like from Shopify, any 3rd party) – Visible only when the Side cart is active
  8. Checkbox: To use the original size of the image – Visible when any option is active
  9. Custom script (Use this option to do a custom script where iCart doing anything) – Visible only when the Side cart is active

Let’s understand each option in details

To open the iCart drawer when click on the theme’s cart icon

Some theme doesn’t support our cart drawer to be open when clicking on the theme’s native cart icon available in the header. To integrate our cart drawer with the theme’s native cart, please add the class/id/attribute selector of the cart icon in this option. So that when you click on the theme’s native cart icon, our iCart drawer will be opened.

To remove anything like attribute, icon, class

If you would like to remove any class/id/attribute from any element, add the selector class/id/attribute in this option.

To show cart item count in the theme cart icon

This option required to add a class/id/attribute of your theme’s cart icon to show the number of items added to the cart.

To open the iCart drawer on the add-to-cart event

Some theme’s default behavior is to show the theme’s side cart drawer when clicking on the add to cart button on the website and at that time our app’s drawer is not opening. So by adding a class/id/attribute of the add to cart button in this option, our app’s drawer will be opened.

To prevent click event of theme or iCart

This option will prevent a click of the element you add a class/id/attribute of any elements of the website along with the app too.

Prevent to auto open iCart drawer on the cart page.

While using only the Side cart drawer option, our app opens the drawer on the cart page automatically. If you want to prevent that drawer or being opened automatically on the cart page, check this option.

Prevent opening iCart drawer on add-to-cart event from anywhere (Like from Shopify, any 3rd party)

If you want to prevent our side cart drawer opened automatically when clicking on the add-to-cart button, please enable this option.

To use the original size of the image

By default, our app compresses the size and look of the image loaded on the side cart full cart page and the image to load them faster and reduce the load time and on some websites, it looks blurry. So when you check this option, your website’s original uploaded image will be loaded.

Custom script (Use this option to do a custom script where iCart doing anything)

Add the script to override our iCart feater as per your knowledge and own risk. If you want to add your own feature to our iCart app, use this option and add a script for it.

The option is located under Settings > General Settings > Advance settings


Here you can look at the option layout


Developer option - iCart