# `PhoenixKitEcommerce.ProductSource.Legacy`
[🔗](https://github.com/BeamLabEU/phoenix_kit_ecommerce/blob/0.5.11/lib/phoenix_kit_ecommerce/product_source/legacy.ex#L1)

`ProductSource` adapter over `phoenix_kit_shop_products` and
`phoenix_kit_shop_categories`.

This is today's product/category query code, moved here verbatim from
`PhoenixKitEcommerce` — no behavior change. It is (and stays) the
default adapter: `ProductSource.current/0` picks it whenever the
catalogue source isn't explicitly switched on.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
