Skip to content

MartinEichinger/audiophile-ecom-frontend

Repository files navigation

Frontend Mentor - Audiophile e-commerce website solution

This is a solution to the Audiophile e-commerce website challenge on Frontend Mentor. An e-commerce website using WordPress and React (> Frontity).

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Add/Remove products from the cart
  • Edit product quantities in the cart
  • Fill in all fields in the checkout
  • Receive form validations if fields are missed or incorrect during checkout
  • See correct checkout totals depending on the products in the cart
    • Shipping always adds 10€ to the order
    • VAT is calculated as 20% of the product total, excluding shipping
  • See an order confirmation modal after checking out with an order summary

Additional:

  • Make it a Fullstack application (Headless CMS + React)

Admin should be able to:

  • Define complete website content via WordPress
  • Define new products, costs and manage amount of stock in WordPress/WooCommerce
  • Handle orders in WooCommerce

Screenshot

Links

My process

Built with

What I learned

For this project I used React as frontend and WordPress as headless CMS for the first time. Together with that I also introduced myself to styled components. For the eCommerce context I used WooCommerce with a basic implementation of the WooCommerce API in my React project.

Continued development

Let's see what's coming next...

Useful resources

  • Frontity website - This helped me for getting introduced to frontity framework.
  • Bootstrap website - This helped to look up the individual functions from bootstrap.

Author