-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
layout: page | ||
title: Methods | ||
description: sCommerce Core methods | ||
permalink: /methods/ | ||
--- | ||
|
||
## Basic functionality | ||
|
||
### getProduct | ||
|
||
Retrieves the product based on the given ID and language. | ||
|
||
### getProductByAlias | ||
|
||
Retrieves a product by its alias. | ||
|
||
### getCategoryProducts | ||
|
||
Retrieves the products belonging to a specific category. | ||
|
||
### getActiveCategoriesTree | ||
|
||
## Technical functionality | ||
|
||
### documentListing | ||
|
||
Retrieves the products listing from cache or sets it if not found. | ||
|
||
### moduleUrl | ||
|
||
Retrieves the module URL. | ||
|
||
### config | ||
|
||
Retrieves the value from the config file based on the given key. |
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