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

[FEAT] Dynamic Product Page and Backend Integration with working Review Section #644

Merged
merged 3 commits into from
Oct 25, 2024

Conversation

IkkiOcean
Copy link
Contributor

@IkkiOcean IkkiOcean commented Oct 24, 2024

Pull Request

Title

Dynamic Product Page and Backend Integration with working Review Section

Description

This PR implements significant enhancements to the product page by connecting it with the backend, allowing for dynamic data retrieval. The following changes have been made:

Changes Made

  • Dynamic Product Information:
    • The product details (name, price, description, and images) are now fetched from the backend API, ensuring that the displayed information is always up-to-date.
  • Review Section Integration:
    • Customer reviews are now dynamically fetched from the database, allowing users to see the latest feedback from other customers.
    • The review submission form allows users to submit their ratings and comments, which are then stored in the database for future retrieval.
  • Code Refactoring:
    • Refactored the ProductPage component to utilize hooks for API calls, ensuring a cleaner and more maintainable codebase.
    • Created a separate ReviewSection component for better organization and modularity.

Checklist

  • I have tested the changes locally
  • Documentation has been updated (if necessary)
  • Changes are backward-compatible

Screenshots (if applicable)

productpage.mp4

URL : /agroshop/product/:id

Copy link

vercel bot commented Oct 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agro-tech-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2024 4:05pm

Copy link
Contributor

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@manikumarreddyu manikumarreddyu merged commit 21c151a into manikumarreddyu:main Oct 25, 2024
4 checks passed
Copy link
Contributor

🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. Your efforts are greatly appreciated. Feel free to reach out if you have any more contributions or if there's anything else we can assist you with. Keep up the fantastic work! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Connecting Product page with backend
2 participants