the-x-man / SiteGenesis-OCAPI

Demandware SiteGenesis using OCAPI and ExpressJS framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SiteGenesis-OCAPI

Demandware SiteGenesis using OCAPI and ExpressJS framework

This is a very basic implementation of SiteGenesis using OCAPI provided by Demandware. It contains many bugs and project is developed as proof-of-concept that complete checkout can be achieved by OCAPI.

HTML templates present /views/ folder are used just to render the data and templates are taken from various sites which provide free html/css templates.

App Hosted on Heroku : http://sitegenesis-ocapi.herokuapp.com (not maintained)

I use a free version of heroku so please expect some downtime :)

In order to change order status of newly placed order to New, Confirmed, Ready For Export, please see code present in dwre-hooks folder and see hooks implementation in OCAPI DWRE documentation.

Sample Config File

//ocapiconfig.js
var config = {};

config.httphost = "http://xxx.yyy.xxx.demandware.net";
config.httpshost = "https://xxx.yyy.xxx.demandware.net";
config.siteid = "SiteGenesis";
config.ocapiversion = "16_3";
config.clientid = "your_client_id";

config.paymentmethodid = "CREDIT_CARD";
config.defaultshippingmethodid = "001";

module.exports = config;

Category Landing Page

alt tag

PDP

alt tag

Cart

alt tag

Shipping

alt tag

Billing

alt tag

Payment

alt tag

Confirmation

alt tag

Order In BM

alt tag

BM Payment

alt tag

About

Demandware SiteGenesis using OCAPI and ExpressJS framework


Languages

Language:JavaScript 51.1%Language:CSS 30.9%Language:HTML 18.0%