Documentation for JoomShopping / YOOtheme Pro Integration Creating a template
To create a new template, go to YOOtheme -> Templates -> New Template. Specify a template name, select the page type, language restriction, and other parameters if necessary. Click "Save" and start designing.
When selecting a template, you should be redirected to the appropriate page. If this does not happen or an error occurs, go to the required JoomShopping store page manually.
In the open template, create a new layout or select an existing one from the library. Add/edit layout blocks.
To bind the required variable to the field, go to the "Advanced" tab and set the "Dynamic content" field based on the page for which the template is being created. Next to the required field, click the "Dynamic" button and select a variable.
If you need to display several typical elements on the page (for example, products in a category or reviews on a product page), then in the "Advanced" tab, select "Multiple Items Source" to pull up the variables of these sources (in the code, these several typical objects are presented as an array). There you can also choose which element of the array to start with and how many to limit yourself to.
Set the "Dynamic condition" parameter to set the condition for displaying the block based on the value of the dynamic variable.
- Introduction
- Pages
- Dynamic content
- Product
- Products list
- Category
- Manufacturer
- Vendor
- Search
- Checkout
- User
- Cart
- Wishlist
- Content
- Products filter
- Config
- Links
- For modules
- Creating a template
- Creating a module
- Custom modules
- Forms
- Variables
- Product
- Products list
- Category
- Manufacturer
- Vendor
- Search
- Cart
- Wishlist
- Checkout
- User
- Products filter
- Content
- Config
- Base element
- Link
- Universal list
- Universal string variable
- Language constant
- JSYT