• Home
  • Help Center
    • Discount Depot – Shopify App
    • Checkout Guardian- Shopify App
    • Shipping Optimizer – Shopify App
  • Blog
    • Discount Depot-Blogs
    • Checkout Guardian-Blogs
  • Contact Us
  • Home
  • Help Center
    • Discount Depot – Shopify App
    • Checkout Guardian- Shopify App
    • Shipping Optimizer – Shopify App
  • Blog
    • Discount Depot-Blogs
    • Checkout Guardian-Blogs
  • Contact Us
home/Discount Depot/Uninstallation/Removing the leftover code after uninstalling the Discount Depot App

Removing the leftover code after uninstalling the Discount Depot App

136 views 0 January 19, 2024 Updated on February 5, 2024

In case you have uninstalled the discount depot app there might be some leftover code depending on your paid/free theme. Don’t ’t worry, follow the below-shared steps to completely get it removed, or contact us to get it removed for you at – support@discountdepot.axtrics.com 

Step 1: Go to the Themes Folder.

Step 2: Open the  layout/theme.liquid file. 

Then find and delete the below-shared code  

{% render ‘Axt-cp-header’ %}  

Step 3: 
Open the  snippets/price.liquid file. 

Then find and replace the following code  

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ money_price }}</span> 

With  

{{ money_price }} 

Step 4: Please Check the below-shared files one by one on your store, you might not have all the files present on your store so replace the code of the files present on your store accordingly: –  

1. Open the sections/product-template.liquid file. 

 a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

 b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

2. Open the snippets/product-form.liquid file 

a).Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

3. Open the snippets/product-price-listing.liquid file

a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

4. Open the snippets/product-price.liquid file. 

 a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

5. Open the sections/main-product.liquid file

a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

6. Open the snippets/product-grid-item.liquid, snippets/product-card.liquid file. 

 a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

7. Open the snippets/product-card.liquid; file

 a). Find and replace the following code 

<span class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ product.price | money }}</span> 

With 

{{ product.price | money }} 

b). Find and replace the following code 

<span  class=’axt-cp-custom {{ product.selected_or_first_available_variant.id }} {{ product.id }}’ id='{{ product.id }}’ axt-cp-product-id={{ product.selected_or_first_available_variant.id }} > {{ current_variant.price | money }}</span> 

With 

{{ current_variant.price | money }} 

Step 5: Open the below-shared files one by one on your store, you might not have all the files present on your store so replace the code of the files present on your store accordingly: – 

1. Open the sections/cart-template.liquid file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} 

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} 

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

2. Open the templates/cart.liquid file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} 

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} 

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

3. Open the sections/main-cart-items.liquid file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} ;

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} ;

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

4. Open the sections/cart-notification-product.liquid file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} 

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} 

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

5. Open the snippets/ajax-cart-template.liquid  file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} 

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} 

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

6. Open the snippets/cart-drawer.liquid file

a). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.original_price | money }}</span> 

With 

{{ item.original_price | money }} 

b). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_price | money }}</span> 

With 

{{ item.final_price | money }} 

c). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.final_line_price | money }}</span> 

With  

{{ item.final_line_price | money }} 

d). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_price | money }}</span> 

With 

{{ line_item.final_price | money }} 

e). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.original_price | money }}</span> 

With 

{{ line_item.original_price | money }} 

f). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.final_line_price | money }}</span> 

With 

{{ line_item.final_line_price | money }} 

g). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.variant.price | money }}</span> 

With 

{{ line_item.variant.price | money }} 

h). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.variant.price | money }}</span> 

With 

{{ item.variant.price | money }} 

i). Find and replace the following code 

<span class=’axt-cp-cart-total’ >{{ cart.total_price | money }} </span> 

With 

{{ cart.total_price | money }} 

j). Find and replace the following code 

<span class=’axt-cp-cart-total’ > {{ cart.total_price | money_with_currency }}</span> 

With 

{{ cart.total_price | money_with_currency }} 

k). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ item.unit_price | money }}</span> 

With 

{{ item.unit_price | money }} 

l). Find and replace the following code 

<span class=’cart-axt cart-{{ item.variant_id }}’>{{ line_item.unit_price | money }}</span> 

With 

{{ line_item.unit_price | money }} 

m). Find and replace the following code 

<span class=’axt-cart-original-price cart-ori-{{ item.variant_id }}’ >{{ item.original_line_price | money }}</span> 

With 

{{ item.original_line_price | money }} 

Step 6: Finally, find and delete the following file in the Snippets folder.

Axt-cp-header.liquid

Thank you.

Was this helpful?

Yes  No
Leave A Comment Cancel reply

Uninstallation
  • Removing the leftover code after uninstalling the Discount Depot App
Discount Depot Categories
  • Account Settings
  • Uninstallation
  • Getting Started
  • Shopify App Blocks
  • Terms and Conditions
  • Privacy Policy
  • Copyright 2025 Axtrics Support. All Rights Reserved.