CartController :: addToCartAction
Request
GET Parameters
Key | Value |
---|---|
id | "408" |
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_controller | "App\Controller\CartController::addToCartAction" |
_editmode | false |
_firewall_context | "security.firewall.map.context.demo_frontend" |
_locale | "de" |
_pimcore_context | "default" |
_pimcore_frontend_request | true |
_redirected | true |
_route | "shop-add-to-cart" |
_route_params | [ "_locale" => "de" ] |
_security_firewall_run | "_security_demo_frontend" |
_stopwatch_token | "fab425" |
contentDocument | Pimcore\Model\Document\Page {#1876 #dao: null #dependencies: null #__dataVersionTimestamp: 1708813349 #path: "/" #properties: [ "footer" => Pimcore\Model\Property {#1873 #dao: null #name: "footer" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "footer" : null : "document" : "document" : null : 136 : true : false } "language" => Pimcore\Model\Property {#1882 #dao: null #name: "language" #data: "de" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "language" : "de" : "text" : "document" : null : 136 : true : false } "left_nav_show" => Pimcore\Model\Property {#1885 #dao: null #name: "left_nav_show" #data: false #type: "bool" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "left_nav_show" : false : "bool" : "document" : null : 136 : true : false } "left_nav_start_node" => Pimcore\Model\Property {#1884 #dao: null #name: "left_nav_start_node" #data: "136" #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "left_nav_start_node" : "136" : "document" : "document" : null : 136 : true : false } "navigation_root" => Pimcore\Model\Property {#1878 #dao: null #name: "navigation_root" #data: "136" #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "navigation_root" : "136" : "document" : "document" : null : 136 : true : false } "newsletter_confirm_mail" => Pimcore\Model\Property {#1875 #dao: null #name: "newsletter_confirm_mail" #data: "146" #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "newsletter_confirm_mail" : "146" : "document" : "document" : null : 136 : true : false } "news_default_document" => Pimcore\Model\Property {#1874 #dao: null #name: "news_default_document" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "news_default_document" : null : "document" : "document" : null : 136 : true : false } "password_reset_mail" => Pimcore\Model\Property {#1881 #dao: null #name: "password_reset_mail" #data: "145" #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "password_reset_mail" : "145" : "document" : "document" : null : 136 : true : false } "terms_and_conditions" => Pimcore\Model\Property {#1877 #dao: null #name: "terms_and_conditions" #data: null #type: "document" #ctype: "document" #cpath: null #cid: 136 #inheritable: true #inherited: false : "terms_and_conditions" : null : "document" : "document" : null : 136 : true : false } "navigation_accesskey" => Pimcore\Model\Property {#1872 #dao: null #name: "navigation_accesskey" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_accesskey" : "" : "text" : "document" : null : 136 : false : false } "navigation_anchor" => Pimcore\Model\Property {#1871 #dao: null #name: "navigation_anchor" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_anchor" : "" : "text" : "document" : null : 136 : false : false } "navigation_class" => Pimcore\Model\Property {#1870 #dao: null #name: "navigation_class" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_class" : "" : "text" : "document" : null : 136 : false : false } "navigation_exclude" => Pimcore\Model\Property {#1869 #dao: null #name: "navigation_exclude" #data: false #type: "bool" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_exclude" : false : "bool" : "document" : null : 136 : false : false } "navigation_name" => Pimcore\Model\Property {#1868 #dao: null #name: "navigation_name" #data: "Home" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_name" : "Home" : "text" : "document" : null : 136 : false : false } "navigation_parameters" => Pimcore\Model\Property {#1867 #dao: null #name: "navigation_parameters" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_parameters" : "" : "text" : "document" : null : 136 : false : false } "navigation_relation" => Pimcore\Model\Property {#1866 #dao: null #name: "navigation_relation" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_relation" : "" : "text" : "document" : null : 136 : false : false } "navigation_tabindex" => Pimcore\Model\Property {#1865 #dao: null #name: "navigation_tabindex" #data: "" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_tabindex" : "" : "text" : "document" : null : 136 : false : false } "navigation_target" => Pimcore\Model\Property {#1864 #dao: null #name: "navigation_target" #data: null #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_target" : null : "text" : "document" : null : 136 : false : false } "navigation_title" => Pimcore\Model\Property {#1863 #dao: null #name: "navigation_title" #data: "Oldimer Cars" #type: "text" #ctype: "document" #cpath: null #cid: 136 #inheritable: false #inherited: false : "navigation_title" : "Oldimer Cars" : "text" : "document" : null : 136 : false : false } ] #id: 136 #creationDate: 1566982699 #modificationDate: 1708813349 #versionCount: 13 #userOwner: 2 #locked: null #userModification: 0 #parentId: 1 #parent: null #_fulldump: false #o_dirtyFields: null -activeDispatchingEvents: [] #fullPathCache: null #type: "page" #key: "de" #index: 1 #published: true #children: [] #hasChildren: [] #siblings: [] #hasSiblings: [] #controller: "App\Controller\ContentController::portalAction" #template: "" #editables: null #versions: null #contentMasterDocumentId: null #supportsContentMaster: true #missingRequiredEditable: null #staticGeneratorEnabled: null #staticGeneratorLifetime: null #inheritedEditables: [] #scheduledTasks: null -useTargetGroup: null #title: "" #description: "" #metaData: [] #prettyUrl: null #targetGroupIds: "" +"____pimcore_cache_item__": "document_136" : null : 1708813349 : "/" : [ "footer" => Pimcore\Model\Property {#1873} "language" => Pimcore\Model\Property {#1882} "left_nav_show" => Pimcore\Model\Property {#1885} "left_nav_start_node" => Pimcore\Model\Property {#1884} "navigation_root" => Pimcore\Model\Property {#1878} "newsletter_confirm_mail" => Pimcore\Model\Property {#1875} "news_default_document" => Pimcore\Model\Property {#1874} "password_reset_mail" => Pimcore\Model\Property {#1881} "terms_and_conditions" => Pimcore\Model\Property {#1877} "navigation_accesskey" => Pimcore\Model\Property {#1872} "navigation_anchor" => Pimcore\Model\Property {#1871} "navigation_class" => Pimcore\Model\Property {#1870} "navigation_exclude" => Pimcore\Model\Property {#1869} "navigation_name" => Pimcore\Model\Property {#1868} "navigation_parameters" => Pimcore\Model\Property {#1867} "navigation_relation" => Pimcore\Model\Property {#1866} "navigation_tabindex" => Pimcore\Model\Property {#1865} "navigation_target" => Pimcore\Model\Property {#1864} "navigation_title" => Pimcore\Model\Property {#1863} ] : 136 : 1566982699 : 1708813349 : 13 : 2 : null : 0 : 1 : null : false : null : null : "page" : "de" : 1 : true : [] : [] : [] : [] : "App\Controller\ContentController::portalAction" : "" : null : null : null : true : null : null : null : [] : null : "" : "" : [] : null : "" } |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br, zstd, deflate" |
cache-control | "max-age=0" |
connection | "keep-alive" |
content-length | "" |
content-type | "" |
cookie | "_pc_tvs=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg4MDI1LCJwdGciOnsiY21mOnNnIjp7Ijg2MCI6MX0sIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMX0sImV4cCI6MTc4NDUzMjIwMX0.88GMcXleFU5fZpJfAEgs8S0ejRXKo1jAcOBZWK_Am1Y; _pc_tss=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg3NTY3LCJwdGciOnsiX20iOjEsIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMSwidmk6c3J1IjpbN119LCJleHAiOjE3NTI5OTgwMDF9.g9oc1I0HnO4t6PkAsuZIS_dYFfUfbB8noNbhbUrCP20; ecommerceframework_trackingcode_flashmessagelistener=1; sf_redirect=%7B%22token%22%3A%22c2b4e1%22%2C%22route%22%3A%22shop-add-to-cart%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22addToCartAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fpimcore%5C%2FMovieCollection%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A66%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=rgn9q8pfsr0t19sjac21tj1n4m" |
host | "185.213.27.223" |
user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
via | "1.1 squid-proxy-5b5d847c96-v2jzj (squid/6.10)" |
x-forwarded-for | "10.2.131.36" |
x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "private, must-revalidate" |
content-language | "de" |
content-type | "text/html; charset=UTF-8" |
date | "Sun, 20 Jul 2025 07:23:23 GMT" |
expires | "Tue, 01 Jan 1980 00:00:00 GMT" |
location | "/de/cart" |
pragma | "no-cache" |
set-cookie | [ "ecommerceframework_trackingcode_flashmessagelistener=1; path=/; httponly; samesite=lax" "_pc_tss=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDMuNDkwOCwicHRnIjp7Il9tIjoxLCJfYyI6MTc1Mjk5NjIwMSwiX3UiOjE3NTI5OTYyMDMsInZpOnNydSI6WzddfSwiZXhwIjoxNzUyOTk4MDAzfQ.t3GrX6BZ3lJf5ltrwKgm3GwFfdcGlhodIfXlbuIQKpg; expires=Sun, 20-Jul-2025 07:53:23 GMT; Max-Age=1800; path=/; httponly; samesite=lax" "_pc_tvs=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDMuNDkxMDcyLCJwdGciOnsiY21mOnNnIjp7Ijg2MCI6MX0sIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMX0sImV4cCI6MTc4NDUzMjIwM30.2P96dnG9lMAzFtQGe6d1rSoww-Di6ZZN4aVe63WegvM; expires=Mon, 20-Jul-2026 07:23:23 GMT; Max-Age=31536000; path=/; httponly; samesite=lax" ] |
x-debug-token | "1f1896" |
x-pimcore-output-cache-disable-reason | "Tracking Codes Passed" |
x-powered-by | "pimcore" |
Cookies
Request Cookies
Key | Value |
---|---|
PHPSESSID | "rgn9q8pfsr0t19sjac21tj1n4m" |
_pc_tss | "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg3NTY3LCJwdGciOnsiX20iOjEsIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMSwidmk6c3J1IjpbN119LCJleHAiOjE3NTI5OTgwMDF9.g9oc1I0HnO4t6PkAsuZIS_dYFfUfbB8noNbhbUrCP20" |
_pc_tvs | "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg4MDI1LCJwdGciOnsiY21mOnNnIjp7Ijg2MCI6MX0sIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMX0sImV4cCI6MTc4NDUzMjIwMX0.88GMcXleFU5fZpJfAEgs8S0ejRXKo1jAcOBZWK_Am1Y" |
ecommerceframework_trackingcode_flashmessagelistener | "1" |
sf_redirect | "{"token":"c2b4e1","route":"shop-add-to-cart","method":"GET","controller":{"class":"App\\Controller\\CartController","method":"addToCartAction","file":"\/var\/www\/pimcore\/MovieCollection\/src\/Controller\/CartController.php","line":66},"status_code":302,"status_text":"Found"}" |
Response Cookies
Key | Value |
---|---|
_pc_tss | Symfony\Component\HttpFoundation\Cookie {#3513 #name: "_pc_tss" #value: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDMuNDkwOCwicHRnIjp7Il9tIjoxLCJfYyI6MTc1Mjk5NjIwMSwiX3UiOjE3NTI5OTYyMDMsInZpOnNydSI6WzddfSwiZXhwIjoxNzUyOTk4MDAzfQ.t3GrX6BZ3lJf5ltrwKgm3GwFfdcGlhodIfXlbuIQKpg" #domain: null #expire: 1752998003 #path: "/" #secure: null #httpOnly: true -raw: false -sameSite: "lax" -secureDefault: false } |
_pc_tvs | Symfony\Component\HttpFoundation\Cookie {#3509 #name: "_pc_tvs" #value: "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDMuNDkxMDcyLCJwdGciOnsiY21mOnNnIjp7Ijg2MCI6MX0sIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMX0sImV4cCI6MTc4NDUzMjIwM30.2P96dnG9lMAzFtQGe6d1rSoww-Di6ZZN4aVe63WegvM" #domain: null #expire: 1784532203 #path: "/" #secure: null #httpOnly: true -raw: false -sameSite: "lax" -secureDefault: false } |
ecommerceframework_trackingcode_flashmessagelistener | Symfony\Component\HttpFoundation\Cookie {#3500 #name: "ecommerceframework_trackingcode_flashmessagelistener" #value: "1" #domain: null #expire: 0 #path: "/" #secure: null #httpOnly: true -raw: false -sameSite: "lax" -secureDefault: false } |
Session
Session Metadata
Key | Value |
---|---|
Created | "Sun, 20 Jul 25 09:23:21 +0200" |
Last used | "Sun, 20 Jul 25 09:23:22 +0200" |
Lifetime | 0 |
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
Key | Value |
---|---|
ecommerceframework_trackingcode_flashmessagelistener | [ "Pimcore\Bundle\EcommerceFrameworkBundle\Tracking\Tracker\Analytics\EnhancedEcommerce" => [ "ga('require', 'ec');\n" """ ga('ec:addProduct', {"id":"232","name":"VW ","category":"Sportwagen","price":"47895.9500","quantity":1});\n ga('ec:setAction', 'remove');\n """ "ga('require', 'ec');\n" """ ga('ec:addProduct', {"id":"728177203","name":"Austin-Healey 3000 Mk II K\u00fchleremblems ","category":"K\u00fchleremblems","price":"595.9500","quantity":1});\n ga('ec:setAction', 'add');\n """ ] ] |
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_ENV | "dev" |
Defined as regular env variables
Key | Value |
---|---|
APP_DEBUG | "1" |
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
DOCUMENT_ROOT | "/var/www/pimcore/MovieCollection/public" |
DOCUMENT_URI | "/index.php" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
HOME | "/var/www" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
HTTP_CACHE_CONTROL | "max-age=0" |
HTTP_CONNECTION | "keep-alive" |
HTTP_COOKIE | "_pc_tvs=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg4MDI1LCJwdGciOnsiY21mOnNnIjp7Ijg2MCI6MX0sIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMX0sImV4cCI6MTc4NDUzMjIwMX0.88GMcXleFU5fZpJfAEgs8S0ejRXKo1jAcOBZWK_Am1Y; _pc_tss=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpYXQiOjE3NTI5OTYyMDEuOTg3NTY3LCJwdGciOnsiX20iOjEsIl9jIjoxNzUyOTk2MjAxLCJfdSI6MTc1Mjk5NjIwMSwidmk6c3J1IjpbN119LCJleHAiOjE3NTI5OTgwMDF9.g9oc1I0HnO4t6PkAsuZIS_dYFfUfbB8noNbhbUrCP20; ecommerceframework_trackingcode_flashmessagelistener=1; sf_redirect=%7B%22token%22%3A%22c2b4e1%22%2C%22route%22%3A%22shop-add-to-cart%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CCartController%22%2C%22method%22%3A%22addToCartAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fpimcore%5C%2FMovieCollection%5C%2Fsrc%5C%2FController%5C%2FCartController.php%22%2C%22line%22%3A66%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; PHPSESSID=rgn9q8pfsr0t19sjac21tj1n4m" |
HTTP_HOST | "185.213.27.223" |
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
HTTP_VIA | "1.1 squid-proxy-5b5d847c96-v2jzj (squid/6.10)" |
HTTP_X_FORWARDED_FOR | "10.2.131.36" |
PATH_INFO | "" |
PHP_SELF | "/index.php" |
QUERY_STRING | "id=408" |
REDIRECT_STATUS | "200" |
REMOTE_ADDR | "216.73.216.148" |
REMOTE_PORT | "22320" |
REMOTE_USER | "" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "http" |
REQUEST_TIME | 1752996203 |
REQUEST_TIME_FLOAT | 1752996203.3991 |
REQUEST_URI | "/de/cart/add-to-cart?id=408" |
SCRIPT_FILENAME | "/var/www/pimcore/MovieCollection/public//index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "185.213.27.223" |
SERVER_NAME | "movies.franz.rest" |
SERVER_PORT | "80" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SOFTWARE | "nginx/1.18.0" |
SYMFONY_DOTENV_VARS | "APP_ENV" |
USER | "www-data" |