Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple content type changes to support future features #2

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

dvidsilva
Copy link
Contributor

Key Models Created

  1. Product:
    • Core content-type for products sold in the marketplace.
    • Attributes include name, price, description, inventory, and metadata for SEO.
    • Integrated with Stripe for payment processing and handling unique identifiers (IDs).
  2. Order:
    • Captures orders placed by customers, with attributes like total amount, status, and customer information.
    • Order snapshots were added to ensure consistency (e.g., if a product changes after the order is placed).
    • Tracks Stripe payment attempts and status for each order.
  3. Shipments:
    • Tracks deliveries associated with an order.
    • Multiple shipments per order are allowed.
    • Attributes include tracking code, status (shipped, in transit, delivered), and carrier info.
  4. Inbox:
    • Allows users to send messages to store owners without being logged in.
    • Messages are categorized by thread using a parentMessageId, enabling simple conversation threads.
    • Store owners can reply, creating an ongoing dialog.
  5. Pages:
    • For managing static content (e.g., about us, policies, etc.).
    • Pages have metadata for ordering in menus and SEO attributes.
  6. Categories:
    • Used for classifying products and content like blog posts.
    • Users can create their own categories, which are related to different content types.

Recent Focus

  • API Integration: Preparing the endpoints for reading products, creating orders, and handling payments.
  • Content Structure: Refining how categories are managed across content-types to keep everything organized.
  • Inbox Threads: Introduced conversation threading for store owner-customer communication.
  • Shipment Tracking: Ensuring that multiple shipments can be associated with a single order.

Next Steps

  • Finalize authorization roles: Ensure different types of users (store owners, customers, admins) have the appropriate permissions.
  • Test API with Frontend: Connect the API responses to the sample storefront.
  • Add SEO components: Ensure all models support meta-data for SEO purposes.

This gives us a solid foundation for Markket.place, and we’re now focusing on ensuring smooth front-end integration and finalizing the user experience!

@dvidsilva dvidsilva merged commit 6fc3cc4 into main Oct 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant