Show the extra charge being applied on cart page

Topic summary

A user is seeking to display an extra charge on the Shopify cart page. They’ve implemented an app that automatically adds this charge to the total price, but the additional cost isn’t shown separately.

Proposed Solution:

  • Loop through cart items and sum their individual prices
  • Subtract this sum from the total price (which includes the extra charge)
  • The difference reveals the hidden extra cost
  • Display this calculated value on the cart page

Implementation Note:
This is the logic framework only—actual code implementation would be required to execute this solution. The discussion includes a screenshot showing the current cart page layout where the extra charge needs to be visible.

Summarized with AI on November 3. AI used: claude-sonnet-4-5-20250929.

I have used an app for this.

But I want to have the extra price shown on the cart page.

But now it automatically adds to the total price..

One logic that comes to mind is we can loop through items in the product and sum up the price. We can then minus that from the total price which now includes the extra cost as well. This way we can get the extra cost that is being applied and show it on the page.

Obviously this is just m the logic part, will need implementation with code.

Please reach out via personal links below for a convenient conversation and collaboration.

Best

Shadab