antonythorpe/silvershop-jsonresponse

SilverShop submodule that provides JSON responses for cart updates

Installs: 18

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 2

Open Issues: 0

Type:silverstripe-vendormodule

2.0.1 2018-03-01 05:05 UTC

This package is auto-updated.

Last update: 2020-06-21 21:54:22 UTC


README

SilverShop submodule that provides JSON responses for cart updates

Build Status Scrutinizer Code Quality Latest Stable Version Total Downloads License

Based upon the excellent work of Mark Guinn with SilverShop Ajax.

How it works

Utilises the SilverShop extension points to provide a JSON response for cart changes.

Use Case

Enhanced UX utilising a MV* Javascript library.

Features

  • Additional endpoint of shoppingcart/get to obtain a JSON copy of the cart
  • JSON includes urls to addLink, removeLink, removeallLink, and setquantityLink for each product item in the cart
  • JSON includes image link, height, width, and alt for each item in the cart
  • Includes Subtotal and Grandtotal
  • Extension points for all endpoints, plus also for Modifiers

Limitations

Variations or the clear method have not been used in production.

Requirements

Documentation

Index

Support

None sorry

Contributions

Link

Change Log

Link

License

MIT