UltraCart REST api build by SeaMonster Studios
https://github.com/UltraCart/responsive_checkout
- UltraCart Shopping cart
- AngularJS
- NodeJS
- ExpressJS
- GruntJS
- Handlebars.js
- Bower
- SASS
- Browserify
- Install it on your web server.
- Make sure that the rest_proxy.php file is on the same domain as the app (see issues for further explanation).
- Add the following to the .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Headers "*"
Header set Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS"
- Test rest_proxy.php. Test #1: If you call it directly from the web browser, you should receive back this response: "UltraCart rest proxy script called incorrectly. _url query parameter is required. Test #2: adjust your url to call this:
rest_proxy.php?_url=/rest/cart
you should receive back this response: "Missing Merchant Id." Test #3: call this:
rest_proxy.php?_url=/rest/cart&_mid=DEMO
you should receive back the json for an empty cart.
Build catalog pageBuild item detail pageCreate cartUpdate cart- Build checkout
Render cart items- reorganize Cart_1.0.js file into smaller files
Add billing and shipping fields- Add CC payment inputs and authentication
- Submit payment
- Email receipt
- Refactor loadCartFactory and calls into a directive.
Current development issues and problems that I am trying to solve will be tracked as issues in the repo. For a list of what the current sticking points are, just check the open issues.