<we:sum name="attribute">
Since version: - | Requires endtag: no | Required modules: shop
Description
This tag is used to calculate the sum of a list of values of the same name within a shopping basket.
Attributes
name
Default value: - | since version: - | required: yes
Set this attribute to the name of the sum.
num_format
Default value: - | since version: - | required: no
Set this attribute to the number formating desired:
input number output number German 1000 1.000,00 English 1000 1,000.00 French 1000 1 000,00
Allowed values:
- german
- french
- english
- swiss
cachelifetime
Default value: 0 | since version: 4.2.0.0 | required: no
With this attribute you define the validity of the Cache in seconds for this we:Tag. This attribute is used only if cache type defined in the template is we:Tag Cache or Cache is disabled.
Syntax
<we:sum name="attribute" [num_format="german|french|english|swiss"] [cachelifetime="attribute"] />