Add Reaction Commerce provider

Signed-off-by: Loan Laux <loan@outgrow.io>
This commit is contained in:
Loan Laux
2021-03-30 20:07:48 +04:00
parent 9b71bd77fc
commit 09249045eb
99 changed files with 24980 additions and 25 deletions

View File

@@ -0,0 +1,8 @@
import Cookies from 'js-cookie'
import { REACTION_ANONYMOUS_CART_TOKEN_COOKIE } from '../const'
const getAnonymousCartToken = (id?: string) => {
return id ?? Cookies.get(REACTION_ANONYMOUS_CART_TOKEN_COOKIE)
}
export default getAnonymousCartToken