Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VCST-1808: back in stock module #1358

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

VCST-1808: back in stock module #1358

wants to merge 7 commits into from

Conversation

mihey8800
Copy link
Contributor

@mihey8800 mihey8800 commented Oct 7, 2024

@@ -36,18 +36,22 @@ export function groupByVendor<T extends LineItemType | OrderLineItemType>(items:
return result;
}

function prepareItemPrices(item: AnyLineItemType) {
const price = "price" in item ? item.price : undefined;
function prepareItemPrices(item: AnyLineItemType | Product) {
Copy link
Collaborator

@NaMax66 NaMax66 Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create the separate function prepareLineItem(item: Product): PreparedLineItemType

client-app/modules/quotes/useUserQuotes.ts Outdated Show resolved Hide resolved
client-app/pages/account/back-in-stock-subscriptions.vue Outdated Show resolved Hide resolved
client-app/pages/account/back-in-stock-subscriptions.vue Outdated Show resolved Hide resolved
client-app/pages/account/back-in-stock-subscriptions.vue Outdated Show resolved Hide resolved
client-app/pages/account/back-in-stock-subscriptions.vue Outdated Show resolved Hide resolved
# Conflicts:
#	client-app/core/utilities/line-items/index.ts
#	client-app/shared/catalog/components/display-products.vue
#	client-app/shared/catalog/components/product-card-grid.vue
#	client-app/shared/catalog/components/product-card-list.vue
#	locales/en.json
Copy link

sonarcloud bot commented Oct 15, 2024

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.

4 participants