Hello there!
I’m using v3.2 and I’m trying to customize the cart component for 2 things:
- Add how much is left to get free shipping
- Add suggested products
The thing is I don’t want to override the full cart, I’d just like to add a message using the flash-message component above the cart summary. However I’ve checked out the cart template and it looks like that there’s only 2 overridable wrappers, one for the space above the cart header (which looks weird when using the side cart which is the main way our users see the cart) and another one which doesn’t have a specific section so I feel forced to replace the whole component using the default template. Anyway, even if I try to override it fully I get an error when trying to use the “summary-fees” component saying “TypeError: Cannot read property ‘hasShippingAddress’ of undefined” which I haven’t been able to solve
Is there any way to use the free space below the items of the cart without going through so much trouble? Should this be a feature request to add an optional slot there?
Thanks!