Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Selim-Dev/ecommerce-next.js-strapi
/ functions
Functions
42 in github.com/Selim-Dev/ecommerce-next.js-strapi
⨍
Functions
42
◇
Types & classes
0
↓ 2 callers
Function
getTotalAmount
()
app/cart/page.jsx:10
↓ 1 callers
Function
EmailTemplate
({ body, })
app/_components/email-template.jsx:16
↓ 1 callers
Function
createOrder
()
app/checkout/_components/CheckoutForm.jsx:64
↓ 1 callers
Function
deleteCartItemFromList
(id)
app/cart/page.jsx:17
↓ 1 callers
Function
getCartItems
()
app/_components/Header.jsx:22
↓ 1 callers
Function
getLatestProducts_
()
app/_components/ProductSection.jsx:11
↓ 1 callers
Function
getProductById_
()
app/product-details/[productId]/page.js:17
↓ 1 callers
Function
getProductListByCategory
(product)
app/product-details/[productId]/page.js:24
↓ 1 callers
Function
handleAddToCart
()
app/product-details/[productId]/_components/ProductInfo.jsx:13
↓ 1 callers
Function
handleError
(error)
app/checkout/_components/CheckoutForm.jsx:24
↓ 1 callers
Function
sendEmail
()
app/checkout/_components/CheckoutForm.jsx:87
Function
BreadCrumb
({ path })
app/_components/BreadCrumb.jsx:3
Function
Cart
()
app/cart/page.jsx:7
Function
Cart
()
app/_components/Cart.jsx:4
Function
CartItemSkelton
()
app/cart/_components/CartItemSkelton.jsx:3
Function
Checkout
()
app/checkout/page.jsx:9
Function
CheckoutForm
({ amount })
app/checkout/_components/CheckoutForm.jsx:7
Function
Footer
()
app/_components/Footer.jsx:4
Function
Header
()
app/_components/Header.jsx:10
Function
Hero
()
app/_components/Hero.jsx:3
Function
Home
()
app/page.js:5
Function
POST
(req)
app/api/send-email/route.js:6
Function
POST
(request: any)
app/api/create-intent/route.tsx:7
Function
Page
()
app/(auth)/sign-up/[[...sign-up]]/page.jsx:3
Function
Page
()
app/(auth)/sign-in/[[...sign-in]]/page.jsx:3
Function
PaymentConfirm
()
app/payment-confirm/page.jsx:5
Function
ProductBanner
({ product })
app/product-details/[productId]/_components/ProductBanner.jsx:3
Function
ProductDetails
({ params })
app/product-details/[productId]/page.js:10
Function
ProductInfo
({ product })
app/product-details/[productId]/_components/ProductInfo.jsx:9
Function
ProductItem
({product})
app/_components/ProductItem.jsx:5
Function
ProductList
({productList})
app/_components/ProductList.jsx:4
Function
ProductSection
()
app/_components/ProductSection.jsx:6
Function
RootLayout
({ children })
app/layout.js:16
Function
SkeletonProductInfo
()
app/product-details/[productId]/_components/SkeletonProductInfo.jsx:3
Function
addToCart
(payload)
app/_utils/CartApis.js:3
Function
createOrder
(data)
app/_utils/OrderApis.js:3
Function
deleteCartItem
(id)
app/_utils/CartApis.js:10
Function
getLatestProducts
()
app/_utils/ProductApis.js:3
Function
getProductById
(id)
app/_utils/ProductApis.js:4
Function
getProductsByCategory
(category)
app/_utils/ProductApis.js:6
Function
getUserCartItems
(email)
app/_utils/CartApis.js:5
Function
handleSubmit
(event)
app/checkout/_components/CheckoutForm.jsx:14