Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Orders
    • Serializers
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Interfaces
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • CartController
  • CartDropdownController
  • CartShippingCostsController
  • CheckQuantityController
  • CheckStatusController
  • CookieBarController
  • CreateGuestController
  • CreateRegistreeController
  • ExtraContentController
  • FilterController
  • ImageRequestController
  • JsTranslationsController
  • LiveSearchController
  • PayPalConfigurationController
  • PayPalController
  • ProductQuestionController
  • SharedShoppingCartConfigurationController
  • SharedShoppingCartController
  • ShipcloudController
  • StyleEdit3AuthenticationController
  • WishListController

Class CheckQuantityController

Class CheckQuantityController

HttpViewController implements HttpViewControllerInterface
Extended by CheckQuantityController
Package: HttpViewControllers
Category: System
Extends: HttpViewController
Located at Controllers/HttpView/ShopAjax/CheckQuantityController.inc.php

Methods summary

public HttpControllerResponse
# actionDefault( )

Returns

HttpControllerResponse

Todo

use GET and POST REST-API like

Overrides

HttpViewController::actionDefault
protected string
# _getQuantityErrorMessage( IdType $productId, DecimalType $quantity )

Parameters

$productId
$quantity

Returns

string

Todo

use decimal point from current currency instead of , for all currencies
protected array
# _getCombinationStatusInformation( IdType $combiId, DecimalType $quantity )

Parameters

$combiId
$quantity

Returns

array
protected array
# _getResponseArray( string $errorMessage, array $combinationStatusInformation )

Parameters

$errorMessage
$combinationStatusInformation

Returns

array

Methods inherited from HttpViewController

__construct(), _callActionMethod(), _getPostData(), _getPostDataCollection(), _getQueryParameter(), _getQueryParametersCollection(), _render(), _validatePageToken(), proceed()

Properties summary

Properties inherited from HttpViewController

$assets, $contentView, $httpContextReader, $httpResponseProcessor, $postDataArray, $queryParametersArray

API documentation generated by ApiGen