Skip to content
Commerce addition to the Flamingo Framework
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
breadcrumbs tidy up documentation Apr 3, 2019
cart cart: Fix wrong scoped error bug May 20, 2019
category category: Add new TypePromotion category type (#25) May 10, 2019
checkout add WithContext to logging May 8, 2019
customer tidy up documentation Apr 3, 2019
docs adjust intro text Apr 4, 2019
order add WithContext to logging May 8, 2019
payment cart: add gob test and skip use of private fields May 1, 2019
price price,product: handle MaxInt edge cases and make sure maxLoyaltySpend… May 19, 2019
product price,product: handle MaxInt edge cases and make sure maxLoyaltySpend… May 19, 2019
search add WithContext to logging May 8, 2019
w3cdatalayer add WithContext to logging May 8, 2019
.gitattributes add Makefile and local setup Apr 2, 2019
.gitignore change cart validation to rely on unique item ID Apr 2, 2019
.gitlab-ci.yml Relax the gitlab pipeline Apr 2, 2019
.travis.yml add travis CI and fix linter warnings (#20) Apr 25, 2019
CHANGELOG.md add product catagory changes to Changelog Apr 2, 2019
CONTRIBUTING.md add license and contribution Apr 2, 2019
LICENSE add license and contribution Apr 2, 2019
Makefile Rework checkout: Use new cart forms in a checkout composite form / Us… Apr 2, 2019
Readme.md Adding Name to Restrictor Interface (#28) May 15, 2019
go.mod price,product: handle MaxInt edge cases and make sure maxLoyaltySpend… May 19, 2019
go.sum commerce: Update dependency to flamingo.me (#18) Apr 23, 2019

Readme.md

Build Status

Flamingo Commerce

Contains modules that helps building powerful and flexible ecommerce websites.

Read more under go.flamingo.me

Flamingo Commerce in Beta

Flamingo Commerce is Beta because we will still change the API (models and methods). You are encourages to use it but if you update you might need to adjust your code to the latest changes.

Setup

We recommend to use go modules, so you just need to add Flamingo Commerce to your main go file as import:

e.g. to use the product module add

import (
  "flamingo.me/flamingo-commerce/v3/product"
)

And then load the Module in your application bootstrap:

// main is our entry point
func main() {

	flamingo.App([]dingo.Module{
	    ...
		//flamingo-commerce modules
		new(product.Module),
		
	}, nil)
}

To update the dependency in go.mod run

go get flamingo.me/flamingo-commerce/v3

Demo

There is a demo: https://demoshop.flamingo.me

And the code is also published: https://github.com/i-love-flamingo/commerce-demo-carotene

You can’t perform that action at this time.