Document Tag
-
Document List Tags
Description: Used to obtain the document list, related document list, and document pagination list. Usage: {% archiveList variableName with categoryId="1" order="id desc|views desc" type="page|list" q="search keywords" %} If the variable is defined as archives {% a -
Document/Product Details Tag
Description: Used to retrieve document detail data Usage: {% archiveDetail variableName with name="fieldName" id="1" %} Variable name is not required. If a variable name is set, it can be called later through the variable name. If no variable name is set, the result is output directly. The parameters supported by archiveDetail are: Document ID idid is not required. -
Previous Document Tag
Instructions: Used to obtain the usage method of the previous document data: {% prevArchive variable name %} If the variable is defined as prev {% prevArchive prev %}...{% endprevArchive %} prevArchive does not support parameters.prevArchive supports the following fields: document ID Id document title T -
Next Document Tag
Instructions: Used to obtain the usage method of the next document data: {% nextArchive variable name %} If the variable is defined as next, it is used as follows: {% nextArchive next %}...{% endnextArchive %}nextArchive does not support parameters.nextArchive supports the following fields: Document ID Id Document Title T -
related document tag
Description: Retrieve related documents of the current document. The logic of related documents is: retrieve adjacent documents of the same category based on the document ID of the current document.Therefore, this tag can only be used on the document detail page. Usage: {% archiveList variableName with type="related" limit="10" %} If the variable is defined as archives {% archiveL -
document parameter tag
Instructions: Used to obtain the parameter usage method of the backend settings for a specified document: {% archiveParams variableName with id="1" sorted=true %} If the variable is defined as params {% archiveParams params with id="1" sorted=true %} ...{% endarc %} -
document parameter filter tag
The document parameter filter can only be used on the document homepage or document category template, combined with the document pagination list.Explain: It is used to create filtering conditions based on various parameters of the document, such as when creating a real estate website, you can filter according to house types such as residential, commercial, residential-commercial, and so on, and at the same time, you can also filter according to the size of the house such as single room, one bedroom living room, two bedrooms living room, three bedrooms living room, and so on. In this case, you can use the document parameter filtering function. Enabling -
get product SKU tag
Retrieve detailed information about the SKU (Stock Keeping Unit) of a specified product, including specifications, price, stock, wholesale rules, and more.This interface is suitable for scenarios where detailed product specifications and purchase options need to be displayed.