Skip to Content
Full Stack Development with JHipster
book

Full Stack Development with JHipster

by Deepu K Sasidharan, Sendil Kumar N
March 2018
Intermediate to advanced content levelIntermediate to advanced
380 pages
9h 23m
English
Packt Publishing
Content preview from Full Stack Development with JHipster

Adding a shopping cart for the application

In Chapter 5, Customization and Further Development, we saw how the generated application can be customized to make it look and behave like an e-commerce website. As mentioned there, it is not enough to make the application truly usable. The following are some of the features that you can try to implement to make the application more feature complete:

  1. Add a simple shopping cart feature on the client-side: 
    1. Create a ProductOrder object to hold the OrderItems. The ProductOrder is related to the Customer so tag it to the customer using details of the currently logged-in user.
    2. Add an add to cart button to the product items in the list. On clicking the button, create a new OrderItem for the Product ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full Stack Development with JHipster - Second Edition

Full Stack Development with JHipster - Second Edition

Deepu K Sasidharan, Sendil Kumar Nellaiyapen
Jasmine Cookbook

Jasmine Cookbook

Munish Kumar

Publisher Resources

ISBN: 9781788476317Supplemental Content