php - Prestashop 1.6.1.1 empty cart after Guest checkout -
i enabled guest checkout after checkout popup message cart empty! :-( product allow buying guest, i've checked out. can't find place in prestachop code witch responsible empty cart. supose happen jquery , ajax because message apears without page reloading. how check acctually happen cart object using firebug or other debuging tool?
i created logger function , i'm trying find out when cart becomes empty happens suddenly.
controllers\front\orderopccontroller.php class orderopccontrollercore extends parentordercontroller { [...] public function init() { parent::init(); [...] loggerclass::mylogger($this->context->cart, __line__);
when add first product cart follwing output:
cart object ( [id] => 1872 [id_shop_group] => 1 [id_shop] => 1 [id_address_delivery] => 0 [id_address_invoice] => 0 [id_currency] => 1 [id_customer] => 0 [id_guest] => 5446 [id_lang] => 7 [recyclable] => 0 [gift] => 0 [gift_message] => [mobile_theme] => 0 [date_add] => 2016-02-06 00:18:59 [secure_key] => [id_carrier] => 0 [date_upd] => 2016-02-06 00:19:00 [checkedtos] => [pictures] => [textfields] => [delivery_option] => [allow_seperated_package] => 0 [_products:protected] => array ( [0] => array ( [id_product_attribute] => 31 [id_product] => 22 [cart_quantity] => 1 [id_shop] => 1
[...]
but after positive guest checkout message cartis empty , output empty cart too
cart object ( [id] => [id_shop_group] => 1 [id_shop] => 1 [id_address_delivery] => 0 [id_address_invoice] => 0 [id_currency] => 1 [id_customer] => [id_guest] => 0 [id_lang] => 7 [recyclable] => 0 [gift] => 0 [gift_message] => [mobile_theme] => [date_add] => [secure_key] => [id_carrier] => 0 [date_upd] => [checkedtos] => [pictures] => [textfields] => [delivery_option] => [allow_seperated_package] => [_products:protected] =>
[...]
save
button not disappears message account information saved successfully
showing.
Comments
Post a Comment