KickAssCommerce / KickAssCommerce

A small proof of concept for building and eCommerce system based on an underlying API system.
https://github.com/KickAssCommerce
MIT License
33 stars 4 forks source link

Stop the product repository knowing too much #28

Closed dmanners closed 7 years ago

dmanners commented 7 years ago

Description

I have removed the knowledge to the Moltin SDK array format from the Product Repository and into the Moltin bridge.

Motivation and context

This fixes https://github.com/KickAssCommerce/KickAssCommerce/issues/10 and also will help us when building more bridges to other api based commerce systems.

How has this been tested?

The frontend is working still!

Screenshots (if appropriate)

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

Checklist:

Go over all the following points, and put an x in all the boxes that apply.

Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests and code style pass.

If you're unsure about any of these, don't hesitate to ask. We're here to help!