Blog ideas?

Sure, I just liked the idea of being able to replace little bits of functionality that I didn’t like.

For me, in this instance, the Liferay commerce cart component is what I was wanting to target. It displays some content that I don’t want, and does not display some that I do want, which makes it appear to total things incorrectly.

For example, here is the summary at the bottom of the slide out cart component.

So there are a couple of things wrong (from my point of view) with the current implementation, some things I want to hide and some things I want to add.

I don’t want to show those discount fields giving customers the idea that they can get discounts (unless they did get a discount). I can hide those by CSS, though this would hide it even if they did get a discount.

You will also notice that the total does not add up. The current commerce cart does not show the sales tax, but does include it in its total, which would be confusing for a customer. (Probably a bug that might get fixed at some stage, but if I could have a way to relatively easily temporarily fix it, that would be useful.)

The original blog post looked like a promising/interesting way to get these changes made. I imagine there might be other small bits of functionality that you might like to alter. But yes, I guess it might tie the changes quite tightly to the current implementation, and might easily break. But it you are aware of that, it would seem simpler than making a whole new commerce cart component.

Hey @cfnz, I think your idea is a good product issue. I've posted it here for the commerce team to review: https://discuss.liferay.com/t/commerce-suggestion/90?u=dnebing