- changed status to resolved
Guest cart reseting bug
Issue #83
resolved
In FCom_Sales_Model_Cart::sessionCart $this->BConfig->get('modules/FCom_Sales/cart_cookie_token_ttl_days') returns blank string
It makes cart cookies created with 0 lifetime, and as result creating double cart rows in fcom_sales_cart table, so after adding product to cart, as guest, cart still reports as empty, or it's cleared after moving to other page.
It seems like default_config is not recognized from manifest file in provided format. Providing default_config like modules/FCom_Sales/cart_cookie_token_ttl_days: 30 seems to be working ok.
Experienced on Windows localhost, so it could be some line break issue but I can't see any proof in Sublime.
Comments (1)
-
- Log in to comment
Thank you, fixed double declaration.