Can I modify cart subtotal with custom data in an app?

I am building an app for creating some custom fields in the product page. So, I want to change the subtototal in cart page based on that custom data’s. Can I use functions for achieving this?. Is there any other methods?

Hello @rishad45 : Shopify functions presently have limitations and it applies discount strategy so you shall look at that.

Shopify function results will be displayed on checkout page and not on cart page.

On cart page you need to apply some JS tricks based on cart data and product meta data.

1 Like