EKM Tag: [ekm:product_urgency_low_stock_bar]
This tag is tactic of the Product Urgency feature. When the product stock is below a set threshold this tag will output a bar that will be more filled the closer the stock gets to zero.
- Tag Information
[ekm:product_urgency_low_stock_bar][/ekm:product_urgency_low_stock_bar]
[ekm:product_urgency_low_stock_bar]
output_start='<div>';
output_item='[bar]<p>Only <strong>[stock]</strong> left in Stock</p>';
output_end='</div>';
[/ekm:product_urgency_low_stock_bar]
output_start='<div>';
Define any HTML you wish to be output before the tactic. This will only output if there is a tactic to output.
output_item='[bar]<p>Only <strong>[stock]</strong> left in Stock</p>';
Define any HTML you want to output in tandem with the stock bar and stock value
output_end='</div>';
Define any HTML you wish to be output after the tactic has been output.
product_id='auto';
Specify the ID of a specifc product you'd like to output the tactic for. When on a product page you can use the value auto
.
The EKM system allows for some tags to be nested within other tags.
When nesting this tag you do not need to make any changes to it. It can be inserted into other tags like below.
[ekm:if]
...
ifvalue='[ekm:sitename][/ekm:sitename]';
...
[/ekm:if]