Wählen Sie Ihre Sprache:

<we:addPercent>

Since version: - | Requires endtag: yes | Required modules: shop

Description

This tag is used to add or subtract a percentage from a sum. Use this tag to calculate Value Added Tax (VAT), rebates, etc.

Attributes

percent

Default value: - | since version: - | required: yes

Set this attribute to the percentage you wish to apply. (Do not include the percent sign "%").


num_format

Default value: - | since version: - | required: no

Set this attribute to the appropriate number formating scheme.

Allowed values:

  • german
  • french
  • english

Syntax

<we:addPercent percent="attribute" [num_format="german|french|english"]> ... </we:addPercent>

Examples

Example #1 - number formating scheme: german

<we:addPercent percent="16" num_format="german">
  <we:sessionfield="Price">
</we:addPercent>

Example #2 - number formating scheme: french

<we:addPercent percent="16" num_format="french">
  <we:sessionfield="Price">
</we:addPercent>

Example #3 - number formating scheme: english

<we:addPercent percent="16" num_format="english">
  <we:sessionfield="Price">
</we:addPercent>