docs: added customer storefront guides (#7685)

* added customer guides

* fixes to sidebar

* remove old customer registration guide

* fix build error

* generate files

* run linter
This commit is contained in:
Shahed Nasser
2024-06-13 12:21:54 +03:00
committed by GitHub
parent d862d03de0
commit c1db40b564
80 changed files with 2301 additions and 701 deletions
@@ -17,7 +17,7 @@ fetch(
`http://localhost:9000/store/carts/${cartId}/complete`,
{
credentials: "include",
method: "POST"
method: "POST",
}
)
.then((res) => res.json())
@@ -65,7 +65,7 @@ export const highlights = [
import { useState } from "react"
import { useCart } from "../../providers/cart"
export default function SystemDefaultPayment () {
export default function SystemDefaultPayment() {
const { cart, refreshCart } = useCart()
const [loading, setLoading] = useState(false)
@@ -87,7 +87,7 @@ export default function SystemDefaultPayment () {
`http://localhost:9000/store/carts/${cart.id}/complete`,
{
credentials: "include",
method: "POST"
method: "POST",
}
)
.then((res) => res.json())