Simone Todaro
Simone Todaro
I don't think to this as a cart feature. This cart store data in laravel session, I took a look and it should be already persistent. Yesterday I was wrong:...
Yes, it seems reasonable to not mix up settings, but is not a trivial change. Currently storage politics is not made by the cart class. The service provider inject the...
The product conditions could have a different target (eg. Subtotal) to identify a set of conditions to be applied after calculating price \* quantity. The value should be referred to...
@HazeDevelopment Under the wood, both algorithms compute the same result. E.g. Consider a product with price = x, 3 item in the cart, -10% on tw items. (x - (0.1...
Yes, indeed. I thought that quantity check is enormously easier in your version, too. (To avoid to apply more discount than necessary) Maybe Darryl is busy, but he is certainly...
Thanks tagged
mmmh, that seems quite odd. Are you saying that if you navigate to page 2 and back, it works; navigate to page 3 and back twice, it works; but if...
FYI, if you use the latest turbo version, without this library, you can add a data-turbo-temporary to your HTML to prevent Turbo from caching your template (https://turbo.hotwired.dev/handbook/building#preparing-the-page-to-be-cached). It may be...
@xiaohui-zhangxh do you have a simple example so I can replicate it (I need the generated HTML)? If the page is not cached, it shouldn't even contain the teleported div...
I'm not sure `map` was meant to preserve the class implementation. It just maps all the values to a generic collection (you can also see the value type is `mixed`...