Skip to content

Conversation

@marlena-b
Copy link
Collaborator

Issue: #410

Previously, when a client submitted an order and displayed this order, there was no information about the discounts he received. Now, on the client order show page, there is information about the discounts that were applied.
Zrzut ekranu 2024-12-2 o 12 43 37

I also refactored some names that had "reset" to "remove", which I had overlooked during this pull request:
#422

I was thinking about creating another table for discounts, such as client_orders_discounts, and storing the discounts there instead of keeping them in the same table as client_order as it is now. What do you think about this?

@netlify
Copy link

netlify bot commented Dec 2, 2024

Deploy Preview for ecommerce-events failed.

Name Link
🔨 Latest commit b0f736d
🔍 Latest deploy log https://app.netlify.com/sites/ecommerce-events/deploys/6788d4b9b67a990008b9d1a6

@lukaszreszke
Copy link
Collaborator

Request for the future, please separate commits into smaller pieces :)

In this case, refactoring of reset -> remove could be separate commit from displaying the discounts

@marlena-b marlena-b merged commit fd4d273 into master Jan 21, 2025
27 of 31 checks passed
@mostlyobvious mostlyobvious deleted the display-time-promotion-on-client-order branch July 9, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants