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

Implement the attributeForm query #2499

Merged
merged 75 commits into from
Feb 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
29ded9b
Solve issue if showStores was 0 it would render ‘0’ in the UI
paales Feb 11, 2025
2af9583
Hide downloads menu item when there aren’t any items to download
paales Feb 11, 2025
9f040a4
Implemented the `query { attributesForm }` to be able to dynamically …
paales Feb 11, 2025
20703bc
Magento 2.4.7: Implemented the `customer_account_create` and `custome…
paales Feb 11, 2025
2794efe
Magento <= 2.4.6: Solve issue where GraphCommerce's schema compatibil…
paales Feb 11, 2025
4fe122e
Cleanup
paales Feb 11, 2025
48d8922
Solve issue where trendingProducts or trendingFacetValues couldn’t be…
paales Feb 11, 2025
32b65d6
Make facetName and facetValue optional when retrieving trending products
paales Feb 11, 2025
03f0d55
Remove useless console.log
paales Feb 11, 2025
6ba8e23
Move the apollo client directives to the schema so all tooling unders…
paales Feb 11, 2025
002df96
Move the addresses section to the top of the account
paales Feb 11, 2025
9cf0450
Remove the 'ignored' string when loading the graphcommerce config env…
paales Feb 12, 2025
d3a9c67
Respect the contact_enabled configuration for the contactUs form/page
paales Feb 12, 2025
eb973e7
Render the no-route page (or whatever is configured) on the 404 page …
paales Feb 12, 2025
d06575b
Created a Payment tokens package to be able to manage stored cards fr…
paales Feb 12, 2025
1e38811
Added support for meta_keyword for products and categories
paales Feb 13, 2025
798c122
Use the `storeConfig.head_shortcut_icon` when configured, if not conf…
paales Feb 13, 2025
995007f
Moved queries/fragments to graphql folder for @graphcommerce/magento-…
paales Feb 13, 2025
b26f573
Moved all functionality from the @graphcommerce/magento-cart-billing-…
paales Feb 13, 2025
39058be
Support for Magento logo and Magento copyright notice in footer
paales Feb 13, 2025
3613b74
Split out various Cart related fragments to allow for easier extensib…
paales Feb 13, 2025
30f9371
Added support for viewing Invoices/Shipments and Credit Memo's
paales Feb 17, 2025
9f6a16b
Added missing FindAndReplace
paales Feb 17, 2025
9b6c47f
Solve build issues, EditBillingAddressForm missing and solve build is…
paales Feb 17, 2025
728e8ff
Added cms config for 404 and home pages.
paales Feb 17, 2025
0abc4fa
Remove applied_to for now
paales Feb 17, 2025
4dce1ab
Added missing schema
paales Feb 17, 2025
722763f
Support for new_from_date and new_to_date labels
paales Feb 17, 2025
b2b757e
Create separate ProductPrice fragment
paales Feb 17, 2025
c591ce8
getProductTierPrice typescript definition
paales Feb 17, 2025
acaae39
Fix test
paales Feb 17, 2025
58ca5aa
Disable configurable plugins when not viewing a configurable product
paales Feb 17, 2025
a835190
Build issues
paales Feb 17, 2025
d859dd8
Do not directly update the cache of the defaultConfigurableOptionsSel…
paales Feb 17, 2025
7565120
Customizable Product Options wouldn't be properly selected because th…
paales Feb 18, 2025
f408e1e
Moved graphql files to the graphql folder for products
paales Feb 18, 2025
b497116
Make sure CustomizableOptions are sorted correctly
paales Feb 18, 2025
89e785d
Moved entered_options to customizable_options_entered for the AddToCa…
paales Feb 18, 2025
ef441bf
Support for links_purchased_separately and links_title
paales Feb 18, 2025
739c292
Added todos for Downloadable products
paales Feb 18, 2025
044961b
Added additionalInformation to extend Order/Invoice/Shipment and Cred…
paales Feb 18, 2025
340c8ef
Solve issue where ActionCard would crash the whole app because it for…
paales Feb 18, 2025
89b47dd
Export toDate for the new label for products
paales Feb 18, 2025
da5c84a
Cleanup configurable queries/mutations/etc.
paales Feb 18, 2025
b96dd8b
Fix build
paales Feb 18, 2025
1a74303
Cleanup bundle queries
paales Feb 18, 2025
dc53b61
Added meta_keywords to CmsPageMeta and CategoryMeta
paales Feb 19, 2025
6cb4815
Deleting an account will now require reauthentication and moved the m…
paales Feb 19, 2025
37c00d8
Forward productListRenderer for all locations that can be rendered by…
paales Feb 19, 2025
7e72c24
Fix build
paales Feb 19, 2025
37d1136
Move pagemeta so it always renders a title
paales Feb 19, 2025
35fdadd
Removed deprecated fields from AddProductsToCartForm
paales Feb 19, 2025
224945f
Add the ability to edit bundle products from the cart page
paales Feb 19, 2025
e3ca71f
Migrate Downloadable products to selected_options_record
paales Feb 19, 2025
7c7d6e4
Solve issue where an individual item in the ActionCardListForm couldn…
paales Feb 20, 2025
2aac2c0
Revert the Action cart titles to subtitle1 and h6
paales Feb 20, 2025
e5226a2
Cleaned up PageMeta to be easier to work with fragments
paales Feb 20, 2025
17312d7
Make checkmo respect the payableTo and sendTo values
paales Feb 20, 2025
6b2b44c
Created a new PriceModifiers component that is implemented on CartIte…
paales Feb 20, 2025
09945ab
Solve issue where the UpdateItemQuantity would send a wrong query to …
paales Feb 20, 2025
2409514
Order/Invoice/CreditMemo and Shipment views
paales Feb 20, 2025
0078951
Prevent executing additional query when user is signing out
paales Feb 21, 2025
4d34876
Cleanup downloadable
paales Feb 21, 2025
1d148a4
Move recaptcha files around
paales Feb 21, 2025
f6934a3
Solve build errors
paales Feb 21, 2025
6d675d6
Handle date/datetime-local and time types for the TextFieldElement
paales Feb 21, 2025
e9da6a9
Added support for video's on the product page.
paales Feb 25, 2025
f0b5ec5
Solve build issue
paales Feb 27, 2025
b811674
Fix build
paales Feb 27, 2025
0f139f5
Fix build
paales Feb 27, 2025
4767a12
Fix build
paales Feb 27, 2025
38facd9
Fix build
paales Feb 27, 2025
abb2bc6
Fix build
paales Feb 27, 2025
e84d567
Fix tests
paales Feb 27, 2025
d485c4e
Updated version of new packages
paales Feb 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .changeset/chilled-pans-watch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-bundle': patch
---

Add the ability to edit bundle products from the cart page
5 changes: 5 additions & 0 deletions .changeset/clean-pumas-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-store': patch
---

Use the `storeConfig.head_shortcut_icon` when configured, if not configured it will use the favicon.ico and favicon.svg from the public folder.
5 changes: 5 additions & 0 deletions .changeset/clever-dodos-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-payment-included': patch
---

Make checkmo respect the payableTo and sendTo values
5 changes: 5 additions & 0 deletions .changeset/curly-meals-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-bundle': patch
---

Magento 2.4.7: Render discounts for bundle products
6 changes: 6 additions & 0 deletions .changeset/empty-chicken-push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/magento-cart-items': patch
'@graphcommerce/magento-product': patch
---

Added support for TIME and DATE for the customizable options. Added required stars.
5 changes: 5 additions & 0 deletions .changeset/five-cooks-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Customizable Product Options wouldn't be properly selected because the parent woudln't rerender anymore.
7 changes: 7 additions & 0 deletions .changeset/fluffy-owls-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphcommerce/magento-graphcms': patch
'@graphcommerce/magento-category': patch
'@graphcommerce/magento-product': patch
---

Forward productListRenderer for all locations that can be rendered by pagebuilder
6 changes: 6 additions & 0 deletions .changeset/funny-grapes-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/magento-cart-items': patch
'@graphcommerce/magento-store': patch
---

Created a new PriceModifiers component that is implemented on CartItems, allowing different product types to render their options in a consistent manner and allow rendering a base price so that the sum in the cart is correct.
6 changes: 6 additions & 0 deletions .changeset/good-cameras-peel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/framer-scroller': patch
'@graphcommerce/magento-product': patch
---

Added support for video's on the product page.
7 changes: 7 additions & 0 deletions .changeset/gorgeous-cameras-tie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphcommerce/magento-product': patch
'@graphcommerce/magento-category': patch
'@graphcommerce/next-ui': patch
---

Added support for meta_keyword for products and categories
5 changes: 5 additions & 0 deletions .changeset/healthy-toys-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/algolia-recommend': patch
---

Make facetName and facetValue optional when retrieving trending products
5 changes: 5 additions & 0 deletions .changeset/heavy-coats-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cart-items': patch
---

Solve issue where the UpdateItemQuantity would send a wrong query to the backend.
6 changes: 6 additions & 0 deletions .changeset/hungry-laws-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@graphcommerce/magento-graphcms': patch
'@graphcommerce/algolia-categories': patch
---

Added meta_keywords to CmsPageMeta and CategoryMeta
5 changes: 5 additions & 0 deletions .changeset/khaki-cups-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Make sure CustomizableOptions are sorted correctly
5 changes: 5 additions & 0 deletions .changeset/kind-jars-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Created a CustomizablePrice component that will highlight the price, to prevent duplicating logic and preventing rerenders.
5 changes: 5 additions & 0 deletions .changeset/late-garlics-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-customer': patch
---

Deleting an account will now require reauthentication and moved the menu item to the Authentication section
5 changes: 5 additions & 0 deletions .changeset/lemon-starfishes-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-payment-tokens': patch
---

Created a Payment tokens package to be able to manage stored cards from the account section.
5 changes: 5 additions & 0 deletions .changeset/loud-cougars-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-customer': minor
---

Magento 2.4.7: Implemented the `customer_account_create` and `customer_account_edit` forms using the `attributeForm` query for the registration page and customer information form. The forms respect the settings configured in the 'Customer Configuration section'. It allows configuration for `prefix`, `middlename`, `suffix`,`dob`, `gender` and other fields. This also makes the frontend compatible with Adobe Commerce's Customer Attributes module.
5 changes: 5 additions & 0 deletions .changeset/orange-gifts-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-newsletter': patch
---

Prevent executing additional query when user is signing out
5 changes: 5 additions & 0 deletions .changeset/pink-clocks-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Support for new_from_date and new_to_date labels
5 changes: 5 additions & 0 deletions .changeset/plenty-moons-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Refactored the price calculation of customizable options on the product page so required options are correctly handled.
5 changes: 5 additions & 0 deletions .changeset/popular-suns-exercise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-customer': minor
---

Added support for viewing Invoices/Shipments and Credit Memo's
5 changes: 5 additions & 0 deletions .changeset/serious-ducks-scream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-store': minor
---

Implemented the `query { attributesForm }` to be able to dynamically render forms with useAttributesForm/preloadAttributesForm and AttributesFormAutoLayout, and additional utilities to handle form submissions.
5 changes: 5 additions & 0 deletions .changeset/seven-avocados-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-bundle': patch
---

Calculate the product page price dynamically based on the options and quantities selected.
5 changes: 5 additions & 0 deletions .changeset/slow-ghosts-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/next-config': patch
---

Remove the 'ignored' string when loading the graphcommerce config env variable loading, as that isn't always correct
5 changes: 5 additions & 0 deletions .changeset/slow-hotels-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-graphql': patch
---

Magento <= 2.4.6: Solve issue where GraphCommerce's schema compatibility layer would define fields to be always return a value while they would never causing runtime errors which are hard to catch.
5 changes: 5 additions & 0 deletions .changeset/soft-clocks-fail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-configurable': patch
---

Do not directly update the cache of the defaultConfigurableOptionsSelection, but query the backend.
5 changes: 5 additions & 0 deletions .changeset/soft-cycles-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cart': patch
---

Removed deprecated fields from AddProductsToCartForm
5 changes: 5 additions & 0 deletions .changeset/stale-donuts-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-configurable': patch
---

Move the cartItemEdit functionality to a plugin for configurable products
5 changes: 5 additions & 0 deletions .changeset/stale-maps-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cart': patch
---

Moved all functionality from the @graphcommerce/magento-cart-billing-address package to the @graphcommerce/magento-cart package. All occurences of @graphcommerce/magento-cart-billing-address should be removed for your codebase.
5 changes: 5 additions & 0 deletions .changeset/sweet-lemons-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cart-coupon': patch
---

Split out various Cart related fragments to allow for easier extensibility: AppliedCoupon, CartPrices, CartTaxItem, Discount
9 changes: 9 additions & 0 deletions .changeset/ten-maps-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@graphcommerce/magento-product-bundle': patch
'@graphcommerce/magento-product-configurable': patch
'@graphcommerce/magento-product-downloadable': patch
'@graphcommerce/magento-product-simple': patch
'@graphcommerce/magento-product-virtual': patch
---

Implement the Cart options as priceModifiers so the logic can be somewhat re-used for multiple locations
5 changes: 5 additions & 0 deletions .changeset/ten-mugs-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/ecommerce-ui': patch
---

Solve issue where an individual item in the ActionCardListForm couldn't be disabed. Resulting in configurable options on the product page to be selectable while they shouldn't be.
7 changes: 7 additions & 0 deletions .changeset/tender-waves-hear.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphcommerce/magento-customer': patch
'@graphcommerce/magento-product-bundle': patch
'@graphcommerce/magento-product-downloadable': patch
---

Order/Invoice/CreditMemo and Shipment views
5 changes: 5 additions & 0 deletions .changeset/tiny-cups-turn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product-downloadable': patch
---

Support for links_purchased_separately and links_title
5 changes: 5 additions & 0 deletions .changeset/tricky-turtles-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-cms': patch
---

Render the no-route page (or whatever is configured) on the 404 page when running with only Magento.
5 changes: 5 additions & 0 deletions .changeset/twelve-zoos-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/algolia-recommend': patch
---

Solve issue where trendingProducts or trendingFacetValues couldn’t be resolved becasue root would be null
7 changes: 7 additions & 0 deletions .changeset/two-schools-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@graphcommerce/magento-open-source': patch
'@graphcommerce/magento-graphcms': patch
'@graphcommerce/misc': patch
---

Support for Magento logo and Magento copyright notice in footer
5 changes: 5 additions & 0 deletions .changeset/wet-seas-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/next-ui': patch
---

Solve issue where ActionCard would crash the whole app because it forwarded components to string attributes
5 changes: 5 additions & 0 deletions .changeset/wild-goats-run.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphcommerce/magento-product': patch
---

Renamed customizable_options_entered to entered_options_record and customizable_options to selected_options_record
3 changes: 1 addition & 2 deletions docs/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ roadmap.
customer_account_create, customer_register_address, customer_address_edit
- [ ] Magento 2.4.7: Prefix, middlename and suffix support in the checkout.
- [x] Adobe Commerce: Reward points functionality
- [x] Magento: customerPaymentTokens + deletePaymentToken

## Researching / Considering

Expand Down Expand Up @@ -77,8 +78,6 @@ roadmap.
- [ ] GraphCommerce B2B: Account approval workflow.
- [ ] GraphCommerce Pro: Shop in shop functionality
- [ ] GraphCommerce POS: Create a light POS integration for GraphCommerce
- [ ] Magento: customerPaymentTokens + deletePaymentToken
- [ ] Magento 2.4.7: createGuestCart migration

## Released

Expand Down
15 changes: 12 additions & 3 deletions examples/magento-graphcms/components/Layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
import { Image } from '@graphcommerce/image'
import { useCheckoutGuestEnabled } from '@graphcommerce/magento-cart'
import { StoreSwitcherButton } from '@graphcommerce/magento-store'
import { Footer as FooterBase } from '@graphcommerce/next-ui'
import { StoreConfigDocument, StoreSwitcherButton } from '@graphcommerce/magento-store'
import { DateFormat, FindAndReplace, Footer as FooterBase } from '@graphcommerce/next-ui'
import { Trans } from '@lingui/macro'
import { Button, IconButton, Link } from '@mui/material'
import { FooterQueryFragment } from './FooterQueryFragment.gql'
import { useQuery } from '@graphcommerce/graphql'

export type FooterProps = FooterQueryFragment

export function Footer(props: FooterProps) {
const { footer } = props
const cartEnabled = useCheckoutGuestEnabled()
const config = useQuery(StoreConfigDocument).data?.storeConfig
const year = <DateFormat dateStyle={undefined} year='numeric' date={new Date()} />

return (
<FooterBase
Expand Down Expand Up @@ -41,7 +44,13 @@ export function Footer(props: FooterProps) {
}
copyright={
<>
<span>{footer?.copyright}</span>
<span>
{config?.copyright ? (
<FindAndReplace source={config.copyright} findAndReplace={[['{YYYY}', year]]} />
) : (
footer?.copyright
)}
</span>

{footer?.legalLinks?.map((link) => (
<Link key={link.title} href={link.url} color='textPrimary' underline='always'>
Expand Down
16 changes: 15 additions & 1 deletion examples/magento-graphcms/components/Layout/Logo.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
import { Logo as LogoBase } from '@graphcommerce/next-ui'
import svgLogo from './graphcommerce.svg'
import { StoreConfigDocument } from '@graphcommerce/magento-store'
import { useQuery } from '@graphcommerce/graphql'

export function Logo() {
const { header_logo_src, secure_base_media_url, logo_alt, logo_height, logo_width } =
useQuery(StoreConfigDocument).data?.storeConfig ?? {}

// If you know that you always have a magentoLogo, you can optimize this component by not loading the svgLogo.
const magentoLogo = header_logo_src && logo_height && logo_width && secure_base_media_url
const src = magentoLogo ? `${secure_base_media_url}logo/${header_logo_src}` : svgLogo

return (
<LogoBase
sx={{
'& .GcLogo-logo': {
display: 'block',
width: 'auto',
height: { xs: '16px', md: '27px' },
paddingLeft: { xs: '10px', md: 0 },
marginTop: { xs: 0, md: '-5px' },
filter: (theme) => (theme.palette.mode === 'dark' ? 'invert(100%)' : 'none'),
},
}}
image={{ alt: 'GraphCommerce Logo', src: svgLogo, unoptimized: true }}
image={
magentoLogo
? { alt: logo_alt ?? '', src, height: logo_height, width: logo_width }
: { alt: logo_alt ?? '', src, unoptimized: true }
}
/>
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
ProductListPagination,
} from '@graphcommerce/magento-product'
import { LayoutTitle, memoDeep, StickyBelowHeader, Container } from '@graphcommerce/next-ui'
import { ProductListItems } from '../ProductListItems'
import { ProductListItems, productListRenderer } from '../ProductListItems'
import { ProductListLayoutProps } from './types'
import { Trans } from '@lingui/macro'

Expand Down Expand Up @@ -50,6 +50,7 @@ export const ProductListLayoutClassic = memoDeep(function ProductListLayoutClass
<CategoryDescription
sx={(theme) => ({ textAlign: 'center', mb: theme.spacings.sm })}
category={category}
productListRenderer={productListRenderer}
/>
<CategoryChildren
params={params}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { ProductFiltersProSearchTerm } from '@graphcommerce/magento-search'
import { Container, LayoutTitle, memoDeep, StickyBelowHeader } from '@graphcommerce/next-ui'
import { Trans } from '@lingui/macro'
import { Typography } from '@mui/material'
import { ProductListItems } from '../ProductListItems'
import { ProductListItems, productListRenderer } from '../ProductListItems'
import { ProductListLayoutProps, useLayoutConfiguration } from './types'

export const ProductListLayoutDefault = memoDeep(function ProductListLayoutDefault(
Expand Down Expand Up @@ -73,6 +73,7 @@ export const ProductListLayoutDefault = memoDeep(function ProductListLayoutDefau
textAlignSm='center'
sx={(theme) => ({ px: theme.page.horizontal })}
category={category}
productListRenderer={productListRenderer}
/>
<CategoryChildren
sx={(theme) => ({
Expand Down
Loading
Loading