Skip to content

Demandware SiteGenesis using OCAPI and ExpressJS framework

Notifications You must be signed in to change notification settings

ranveer5289/SiteGenesis-OCAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published