Skip to content

iamsharzil/cms-magento

Repository files navigation

TypeScript + Next.js + Magento + Apollo example

☀️ Complete Ecom with Magento and NextJs ☀️

FEATURES

  • 👜 Add Item To Cart 👜
  • ❎ Delete Item From Cart ❎
  • 👜 Update Item From Cart 👜
  • ✏️ Set Shipping Address ✏️
  • 📝 Set Billing Address 📝
  • 📤 Set Shipment Mode 📤
  • 💳 Set Payment Mode 💳
  • 💡 Place Order 💡
  • 👦 Profile Page 👦

How to run this Project ❓

npm i --save

Configuration

Image of URL Config for Category in Magneto 2

Change URL in the index file with your Category URL

Create env.local file

GRAPHQL_URL = https://www.magentoURL.com/graphql
NEXT_PUBLIC_GRAPHQL_URL = https://www.magentoURL.com/graphql