OrderItemController :: addAction

Request

GET Parameters

Key Value
productId
"47"
template
"@SyliusShop/Product/Show/_addToCart.html.twig"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"sylius.controller.order_item:addAction"
_links
Fig\Link\GenericLinkProvider {#7705
  -links: [
    "000000005ac685e900000000717c0694" => Fig\Link\Link {#7698
      -href: "https://preprod.pro-occasion-rayonnage.fr/new-api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => true
      ]
      -attributes: []
    }
  ]
}
_route
"sylius_shop_partial_cart_add_item"
_route_params
[
  "_sylius" => [
    "template" => "$template"
    "factory" => [
      "method" => "createForProduct"
      "arguments" => [
        "expr:notFoundOnNull(service('sylius.repository.product').find($productId))"
      ]
    ]
    "form" => [
      "type" => "Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"
      "options" => [
        "product" => "expr:notFoundOnNull(service('sylius.repository.product').find($productId))"
      ]
    ]
    "redirect" => [
      "route" => "sylius_shop_cart_summary"
      "parameters" => []
    ]
  ]
]
_sylius
[
  "template" => "$template"
  "factory" => [
    "method" => "createForProduct"
    "arguments" => [
      "expr:notFoundOnNull(service('sylius.repository.product').find($productId))"
    ]
  ]
  "form" => [
    "type" => "Sylius\Bundle\CoreBundle\Form\Type\Order\AddToCartType"
    "options" => [
      "product" => "expr:notFoundOnNull(service('sylius.repository.product').find($productId))"
    ]
  ]
  "redirect" => [
    "route" => "sylius_shop_cart_summary"
    "parameters" => []
  ]
]

Request Headers

Header Value
accept
"*/*"
accept-charset
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"
accept-encoding
"gzip, br, deflate"
accept-language
"en-us,en;q=0.5"
cookie
"PHPSESSID=60joios9prqb4s5ogl5uqtgsa1"
forwarded
"for="74.7.243.236";host="preprod.pro-occasion-rayonnage.fr";proto=https"
from
"gptbot(at)openai.com"
host
"preprod.pro-occasion-rayonnage.fr"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
x-forwarded-for
"74.7.243.236"
x-openai-host-hash
"962510446"
x-php-ob-level
"4"

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"
date
"Mon, 15 Dec 2025 08:03:15 GMT"
x-debug-token
"99c507"

Cookies

Request Cookies

Key Value
PHPSESSID
"60joios9prqb4s5ogl5uqtgsa1"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Mon, 15 Dec 25 09:02:46 +0100"
Last used
"Mon, 15 Dec 25 09:02:46 +0100"
Lifetime
"0"

Session Attributes

Attribute Value
_csrf/https-cookie_consent
"7K_ak9iDAdx5fTparhgSwGA7bjYEYrcBGnJHgRRQyf4"
_csrf/https-monsieurbiz_searchplugin_search
"RHUqhUOp4IbP9qksEgod5pWZnPLphfHj32p3ZosNPfA"
_csrf/https-sylius_add_to_cart
"F0tz5TrRhSvAG-QUGd2vKPdpQmOB8Ymq2tSaT1rDj08"

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APPLICATION_NAME
"prorayon"
APP_DEBUG
"0"
APP_ENV
"dev"
APP_SECRET
"EDITME"
DATABASE_URL
"mysql://rayonnage:46fo-p1v280M@127.0.0.1/rayonnage_preprod"
GOOGLE_RECAPTCHA_SECRET
"6LcyegMnAAAAACPUW3s441NjNLnSVYq_-gDD-VeV"
GOOGLE_RECAPTCHA_SITE_KEY
"6LcyegMnAAAAALWj-MfxDITpqOo7Y3IABr2oXnmZ"
JWT_PASSPHRASE
"frfrfrf"
JWT_PUBLIC_KEY
"frfrfrf"
JWT_SECRET_KEY
"frfrfrf"
MAILER_URL
"smtp://localhost"
MESSENGER_TRANSPORT_DSN
"doctrine://default"
MONSIEURBIZ_SEARCHPLUGIN_ES_HOST
"localhost"
MONSIEURBIZ_SEARCHPLUGIN_ES_PORT
"9200"
RECAPTCHA3_KEY
"6LcyegMnAAAAALWj-MfxDITpqOo7Y3IABr2oXnmZ"
RECAPTCHA3_SECRET
"6LcyegMnAAAAACPUW3s441NjNLnSVYq_-gDD-VeV"
WKHTMLTOIMAGE_PATH
""/usr/local/bin/wkhtmltopdf""
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
CONTEXT_DOCUMENT_ROOT
"/home/rayonnage/preprod/sylius/public/"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/rayonnage/preprod/sylius/public/"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_CHARSET
"ISO-8859-1,utf-8;q=0.7,*;q=0.7"
HTTP_ACCEPT_ENCODING
"gzip, br, deflate"
HTTP_ACCEPT_LANGUAGE
"en-us,en;q=0.5"
HTTP_COOKIE
"PHPSESSID=60joios9prqb4s5ogl5uqtgsa1"
HTTP_FORWARDED
"for="74.7.243.236";host="preprod.pro-occasion-rayonnage.fr";proto=https"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"preprod.pro-occasion-rayonnage.fr"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_FOR
"74.7.243.236"
HTTP_X_OPENAI_HOST_HASH
"962510446"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
"template=@SyliusShop/Product/Show/_addToCart.html.twig&productId=47"
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"preprod.pro-occasion-rayonnage.fr"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/products/caillebotis"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"43110"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1765785780
REQUEST_TIME_FLOAT
1765785780.507
REQUEST_URI
"/_partial/cart/add-item?template=@SyliusShop/Product/Show/_addToCart.html.twig&productId=47"
SCRIPT_FILENAME
"/home/rayonnage/preprod/sylius/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"37.187.147.197"
SERVER_ADMIN
"o.haro@arobases.fr"
SERVER_NAME
"preprod.pro-occasion-rayonnage.fr"
SERVER_PORT
443
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"preprod.pro-occasion-rayonnage.fr"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,MAILER_URL,MESSENGER_TRANSPORT_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,MONSIEURBIZ_SEARCHPLUGIN_ES_HOST,MONSIEURBIZ_SEARCHPLUGIN_ES_PORT,APPLICATION_NAME,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET,RECAPTCHA3_KEY,RECAPTCHA3_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE"

Parent Request

Return to parent request (token = 354922)

Key Value
_controller
"sylius.controller.product:showAction"
_firewall_context
"security.firewall.map.context.shop"
_links
Fig\Link\GenericLinkProvider {#3402
  -links: [
    "000000005ac696ca00000000717c0694" => Fig\Link\Link {#3377
      -href: "https://preprod.pro-occasion-rayonnage.fr/new-api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => true
      ]
      -attributes: []
    }
  ]
}
_route
"sylius_shop_product_show"
_route_params
[
  "_sylius" => [
    "template" => "@SyliusShop/Product/show.html.twig"
    "repository" => [
      "method" => "findOneByChannelAndSlug"
      "arguments" => [
        "expr:service('sylius.context.channel').getChannel()"
        "expr:service('sylius.context.locale').getLocaleCode()"
        "$slug"
      ]
    ]
  ]
  "slug" => "caillebotis"
]
_sylius
[
  "template" => "@SyliusShop/Product/show.html.twig"
  "repository" => [
    "method" => "findOneByChannelAndSlug"
    "arguments" => [
      "expr:service('sylius.context.channel').getChannel()"
      "expr:service('sylius.context.locale').getLocaleCode()"
      "$slug"
    ]
  ]
]
slug
"caillebotis"