Speak to our experts today 0333 004 0333
Speak to one of our experts today

Book Your Free Consultation Today

Get expert advice on how EKM can help you drive more sales, save valuable time, and grow your business effortlessly — all without the hassle.

  • Tailored advice for your business needs

  • Discover how EKM helps you scale with ease

  • No pressure — just expert insights and a clear path forward for your business

Book Your Free Consultation Today

Book a specific time and date for a consultation

or

Enter your details, and we’ll call you back ASAP.

User Guides

EKM Tag: [ekm:productqty]

This tag will output a product quantity box on the product page.

  • Tag Information
Basic Use
This tag outputs a simple

[ekm:productqty][/ekm:productqty]
                                
This would output something like...
Advanced Use
This tag is used to output a field for the customer to select the quantity of products to be added to the cart.

[ekm:productqty]
  output_start='<div class="ekmps-qty">';
  output_item='[input]';
  output_end='</div>';
[/ekm:productqty]
                                
This would output something like...
Tag Attributes
Value
value='1';

Specify the default value of the quantity box. This must be a number.

Value
Description
{user defined}
Define your own integer as the default value.
Input Class
input_class='1';

Specify a class to be added to the input field.

Value
Description
{user defined}
Define your own class to be added to the input field.
Output Start
output_start='<div>';

Specify any HTML to be output before the quantity box.

Value
Description
{user defined}
Define any opening HTML to go before the quantity box.
Output Item
output_item='[input]';

Specify any how the quantity box should appear when it is output.

Value
Description
[input]
Outputs an input field for the quantity.
[input-name]
Outputs the quantity field's name value.
[input-value]
Outputs the quantity field's value.
[input-id]
Outputs the quantity field's element ID. This is used by the system to target the field.
Output End
output_end='</div>';

Specify any HTML to be output after the quantity box.

Value
Description
{user defined}
Define any HTML to go after the quantity box.