Use the following syntax:
1. Inserting price-list or catalog using IPrice menu item
ipricecalc XX (The expression must be enclosed in braces {})where XX is ID of IPrice menu item linked to price-list or catalog
For example:
ipricecalc 282
mean that plugin inserts product list into a content using menu item with ID 282.
2. Inserting price-list or catalog
ipricecalc secid="Section ID list" catid="Category ID list" itemsku="Items SKU list" menuid="XX" (The expression must be enclosed in braces {})where:
Section ID list - the list of section ID, separated by comma
Category ID list - the list of category ID, separated by comma
Items SKU list - the list of item SKU, separated by comma
XX is ID of IPrice menu item linked to price-list or catalog (optional parameter)
For example:
ipricecalc secid="10" catid="10,11" menuid="182"
mean that plugin inserts product list of section with ID 10, category with ID 10 and 11 into a content with context of menu item with ID 282.
3. Inserting 'BUY' button
ipricecalc buttonsku="Items SKU" menuid="XX" buttoncaption="text" (The expression must be enclosed in braces {})where:
Items SKU - the name of the item.
XX is ID of a menu item linked to price-list or catalog (optional parameter)
text - the title of 'BUY' button
You can use plugin parameters for 3 way:
- 'Button caption' - title of 'BUY' button
- 'Show quantity' - show or not item quantity selection
- 'Show price' - show or not the price of the item
- ''Add to cart' mode' - if value 'Add to cart' selected, then Item will be added to cart; if value 'Checkout page' selected, then Item will be added to cart and user will redirect to checkout page.
Do not use plugin several times in the same article to show the list of products. However, you can use plugin several times in the same article to show "Buy" buttons.
Do not use Joomla caching if you use plugin
It is necessary to turn off "Use pagination" parameter in the settings of the component or in the settings of the menu item IPrice, if the list of products is displayed using the content plugin IPrice. Paging the product list in this case does not work.