Document the cart to platform-checkout handoff with Spark as reference

Đang mở
#34 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
graphql, javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với content/docs/storefront/themes/templates/urls-and-template-paths.mdx, content/docs/storefront/graphql/index.mdx và content/docs/storefront/themes/guides/product-variants.mdx, sau đó kiểm tra các tham chiếu của Spark đến checkout, side-cart và SparkVariantState. Được xem là hoàn tất khi handoff trigger, URL, hành vi của cart-state, ví dụ side-cart và tham chiếu variant được liên kết đủ rõ để có thể lần theo add-to-cart qua checkout chỉ từ tài liệu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem: The weakest documented seam in the theme docs is the one merchants care about most: how a theme cart hands off to platform checkout. There is no page covering the handoff mechanics, no worked side-cart example, and the variant-selection JS reference points to an unlinked "Base Theme."

Evidence: content/docs/storefront/themes/templates/urls-and-template-paths.mdx (checkout template named, no handoff topic); content/docs/storefront/graphql/index.mdx (side carts called the most common use, no worked example); content/docs/storefront/themes/guides/product-variants.mdx (defers to an unlinked base theme).

Done when:

  • A handoff page documents the cart-to-checkout transition: trigger, URL, and how cart state carries into /checkout/.
  • A side-cart tutorial exists with Spark's implementation linked as the public reference.
  • The variant guide links Spark's SparkVariantState as the reference implementation.
  • An outside developer can trace add-to-cart through checkout handoff from docs alone.
Ngôn ngữ chính
MDX
Star
2
Fork
0
Merge trung bình
6 giờ 4 phút
Pull request đã merge (30 ngày)
13

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NextCommerceCo/developer-docs

Tất cả issue của NextCommerceCo/developer-docs

Issue tương tự

Thêm issue về Documentation

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.