https://staging.amsel-suite.com/shop/cart/add/11

EcommerceController :: addToCartAction

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\EcommerceController::addToCartAction"
_firewall_context
"security.firewall.map.context.main"
_links
Symfony\Component\WebLink\GenericLinkProvider {#1758
  -links: []
}
_locale
"en"
_redirected
true
_route
"add_to_cart"
_route_params
[
  "_locale" => "en"
  "id" => "11"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"6ceb8b"
id
"11"
product
App\Entity\Product {#747
  -id: 11
  -category: Proxies\__CG__\App\Entity\Category {#880 …}
  -relatedProducts: Doctrine\ORM\PersistentCollection {#879 …}
  -displayOnShop: true
  #createdAt: DateTime @1747643753 {#750
    date: 2025-05-19 10:35:53.0 Europe/Berlin (+02:00)
  }
  #updatedAt: DateTime @1753263444 {#749
    date: 2025-07-23 11:37:24.0 Europe/Berlin (+02:00)
  }
  #translations: Doctrine\ORM\PersistentCollection {#943 …}
  #newTranslations: null
  #currentLocale: "en"
  #defaultLocale: "en"
  #deletedAt: null
  #sort: 1
  #reference: "TOME-STANDARD"
  #priceEuros: 34.99
  #promotionPriceEuros: 29.99
  #priceDollars: 40.99
  #promotionPriceDollars: 40.99
  #pricePounds: 30.99
  #promotionPricePounds: 30.99
  #promotionStartDate: DateTime @1746050400 {#752
    date: 2025-05-01 00:00:00.0 Europe/Berlin (+02:00)
  }
  #promotionEndDate: DateTime @1751320740 {#751
    date: 2025-06-30 23:59:00.0 Europe/Berlin (+02:00)
  }
  -pictures: Doctrine\ORM\PersistentCollection {#860 …}
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br"
cdn-loop
"cloudflare; loops=1"
cf-connecting-ip
"216.73.216.3"
cf-ipcountry
"US"
cf-ray
"9a99bf280a51f824-ORD"
cf-visitor
"{"scheme":"https"}"
connection
"Keep-Alive"
cookie
"PHPSESSID=lgb06ql0b8q0d66i5d9oj8s6kb; sf_redirect=%7B%22token%22%3A%2205ffe7%22%2C%22route%22%3A%22add_to_cart%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CEcommerceController%22%2C%22method%22%3A%22addToCartAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fstaging.amsel-suite.com%5C%2Fsrc%5C%2FController%5C%2FEcommerceController.php%22%2C%22line%22%3A79%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; hl=en"
host
"staging.amsel-suite.com"
referer
"https://staging.amsel-suite.com/fr/shop/cart/add/11"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
x-forwarded-for
"216.73.216.3"
x-forwarded-proto
"https"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=utf-8"
date
"Sat, 06 Dec 2025 06:32:33 GMT"
location
"/shop/cart"
x-debug-token
"e004a6"

Cookies

Request Cookies

Key Value
PHPSESSID
"lgb06ql0b8q0d66i5d9oj8s6kb"
hl
"en"
sf_redirect
"{"token":"05ffe7","route":"add_to_cart","method":"GET","controller":{"class":"App\\Controller\\EcommerceController","method":"addToCartAction","file":"\/var\/www\/staging.amsel-suite.com\/src\/Controller\/EcommerceController.php","line":79},"status_code":302,"status_text":"Found"}"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Sat, 06 Dec 25 07:32:32 +0100"
Last used
"Sat, 06 Dec 25 07:32:33 +0100"
Lifetime
0

Session Attributes

Attribute Value
cart
[
  "countCart" => 1
  "totalCart" => 40.99
  "products" => [
    [
      "product_id" => 11
      "product_name" => "Tome"
      "price" => 40.99
      "quantity" => 1
    ]
  ]
]
currency
"dollars"
customerSession
"lgb06ql0b8q0d66i5d9oj8s6kb"
selected_locale
"en"

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"56d69571da7706a143236b012ee075bc"
DATABASE_URL
"mysql://ollam:ypj94xhB7AO2Bm1H6So6ViK8b@localhost:3306/ollam?serverVersion=5.7"
JWT_PASSPHRASE
"22#Azuly2012"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://75122b2300fd3d6bff9f4ffe217fe84d:[email protected]:587/"
MAILJET_APIKEY_PRIVATE
"9cf416857f0ab2777b2d4b4c371fe64d"
MAILJET_APIKEY_PUBLIC
"75122b2300fd3d6bff9f4ffe217fe84d"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/staging.amsel-suite.com/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/staging.amsel-suite.com/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"216.73.216.3"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"9a99bf280a51f824-ORD"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CONNECTION
"Keep-Alive"
HTTP_COOKIE
"PHPSESSID=lgb06ql0b8q0d66i5d9oj8s6kb; sf_redirect=%7B%22token%22%3A%2205ffe7%22%2C%22route%22%3A%22add_to_cart%22%2C%22method%22%3A%22GET%22%2C%22controller%22%3A%7B%22class%22%3A%22App%5C%5CController%5C%5CEcommerceController%22%2C%22method%22%3A%22addToCartAction%22%2C%22file%22%3A%22%5C%2Fvar%5C%2Fwww%5C%2Fstaging.amsel-suite.com%5C%2Fsrc%5C%2FController%5C%2FEcommerceController.php%22%2C%22line%22%3A79%7D%2C%22status_code%22%3A302%2C%22status_text%22%3A%22Found%22%7D; hl=en"
HTTP_HOST
"staging.amsel-suite.com"
HTTP_REFERER
"https://staging.amsel-suite.com/fr/shop/cart/add/11"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])"
HTTP_X_FORWARDED_FOR
"216.73.216.3"
HTTP_X_FORWARDED_PROTO
"https"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"staging.amsel-suite.com"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/shop/cart/add/11"
REMOTE_ADDR
"172.69.17.74"
REMOTE_PORT
"12612"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1765002753
REQUEST_TIME_FLOAT
1765002753.34
REQUEST_URI
"/shop/cart/add/11"
SCRIPT_FILENAME
"/var/www/staging.amsel-suite.com/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.178.43.57"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"staging.amsel-suite.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.58 (Ubuntu) Server at staging.amsel-suite.com Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.58 (Ubuntu)"
SSL_TLS_SNI
"staging.amsel-suite.com"
SYMFONY_DOTENV_VARS
"APP_ENV,MAILER_DSN,DATABASE_URL,APP_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,MAILJET_APIKEY_PUBLIC,MAILJET_APIKEY_PRIVATE"