Git Product home page Git Product logo

sitegenesis-ocapi's Introduction

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

sitegenesis-ocapi's People

Contributors

ranveer5289 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sitegenesis-ocapi's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.