Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Adding a product to the basket with new parameter 'Quantity'

The new paramter 'Quantity' can be used when adding a product to a basket. In earlier versions of Exponential the shop did only add one product at a time. With this feature you can add as many products of the same kind…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/features/4.1/shop_parameter_quantity.txt

*Title: Adding a product to the basket with new parameter 'Quantity'.

*Documentation:
The new paramter 'Quantity' can be used when adding a product to a basket. 
In earlier versions of Exponential the shop did only add one product at a time.
With this feature you can add as many products of the same kind at once to the basket.

Example(node view template):

<form method="post" action={"content/action"|ezurl}>
	<label for="Quantity">Quantity</label><input type="input" id="Quantity" name="Quantity" value="" />
    <input type="submit" class="defaultbutton" name="ActionAddToBasket" value="Add to basket" />
    <input type="hidden" name="ContentNodeID" value="{$node.node_id}" />
	<input type="hidden" name="ContentObjectID" value="{$node.object.id}" />
    <input type="hidden" name="ViewMode" value="full" />
</form>

Something wrong on this page? Report an error

Documentation license

This page was inherited from the documentation of the original software. It is not covered by the GNU Free Documentation License; it is distributed under the GNU General Public License, version 2.

Copyright (C) 1999 - 2014 eZ Systems AS and contributors