SilverCart\Control\ActionHandler::changePositionQuantity
Decrements the shopping cart position quantity by 1.
- Author: Sebastian Diel <sdiel@pixeltricks.de>
Signature
public function changePositionQuantity(HTTPRequest
$request,
[boolean
$increment = true] )
Parameters
$request
—
SilverStripe\Control\HTTPRequest
- Request to check for product data
$increment
—
boolean
- Set to true to increment the position's
quantity by 1, set to fals to decrement the
position's quantity by 1
Returns
- void