Introduced address management functionality, including address creation, deletion, and display with full localization support. Integrated GraphQL queries, mutations, and reusable composables for backend communication.
- Added `addresses.vue` to profile for managing user addresses.
- Implemented `useAddressCreate`, `useAddressDelete`, and `useAddressAutocomplete` composables.
- Created reusable components: `forms/address.vue` and `cards/address.vue`.
- Updated `navigation.vue` to include addresses in profile navigation.
- Enhanced localization files for address-related translations.
This improves user experience by enabling comprehensive address management in the profile section. No breaking changes.
Implemented promocode application feature in the cart, allowing users to select and apply discounts during checkout. Updated GraphQL mutation, cart logic, and UI to support this functionality.
- Enhanced `cart.vue` with a new promocode selection section, including dropdown and styling.
- Modified `buyOrder` mutation to accept `promocodeUuid` and `forceBalance` parameters.
- Updated translations (`en-gb.json` and `ru-ru.json`) to include promocode-related strings.
Improves user experience by enabling discount application directly in the cart. No breaking changes.
Introduced `useExactProducts` composable to fetch precise product details for guest cart and wishlist items. Improved cookie-based cart and wishlist fallback handling for unauthenticated users. Updated related components and composables for better synchronization and type safety.
- Added `useExactProducts` composable leveraging the `GET_EXACT_PRODUCTS` query.
- Enhanced `wishlist.vue` and `cart.vue` for reactive updates on guest state changes.
- Improved product synchronization logic in `useOrderSync` and `useWishlistSync`.
- Updated translations and fixed minor typos in localization files.
Improves user experience by ensuring consistent product details, even for guests. No breaking changes.