-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from MakairaIO/oxid-custom-paths-and-relativ-url
Add option for custom paths and relative URLs in Oxid-Shop-Adapter
- Loading branch information
Showing
7 changed files
with
73 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
export const USER_LOGIN = '/index.php?cl=MakairaUserController&fnc=login' | ||
export const USER_GET_CURRENT = | ||
'/index.php?cl=MakairaUserController&fnc=getCurrentLoggedInUser' | ||
export const USER_LOGOUT = '/index.php?cl=MakairaUserController&fnc=logout' | ||
import { OxidPaths } from './types' | ||
|
||
export const CART_GET = '/index.php?cl=MakairaCartController&fnc=getCartItems' | ||
export const CART_ADD = | ||
'/index.php?cl=MakairaCartController&fnc=addProductToCart' | ||
export const CART_REMOVE = | ||
'/index.php?cl=MakairaCartController&fnc=removeCartItem' | ||
export const CART_UPDATE = | ||
'/index.php?cl=MakairaCartController&fnc=updateCartItem' | ||
|
||
export const REVIEW_GET = '/index.php?cl=MakairaReviewController&fnc=getReviews' | ||
export const REVIEW_CREATE = | ||
'/index.php?cl=MakairaReviewController&fnc=createReview' | ||
export const PATHS: OxidPaths = { | ||
USER_LOGIN: '/index.php?cl=MakairaUserController&fnc=login', | ||
USER_GET_CURRENT: | ||
'/index.php?cl=MakairaUserController&fnc=getCurrentLoggedInUser', | ||
USER_LOGOUT: '/index.php?cl=MakairaUserController&fnc=logout', | ||
CART_GET: '/index.php?cl=MakairaCartController&fnc=getCartItems', | ||
CART_ADD: '/index.php?cl=MakairaCartController&fnc=addProductToCart', | ||
CART_REMOVE: '/index.php?cl=MakairaCartController&fnc=removeCartItem', | ||
CART_UPDATE: '/index.php?cl=MakairaCartController&fnc=updateCartItem', | ||
REVIEW_GET: '/index.php?cl=MakairaReviewController&fnc=getReviews', | ||
REVIEW_CREATE: '/index.php?cl=MakairaReviewController&fnc=createReview', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters