What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello Community. A couple of questions about Carts. Some of our users are leaving carts open on our
Hello Community. A couple of questions about Carts. Some of our users are leaving carts open on our store and this is generating a good amount of product reserves on our availability making it impossible for other users to purchase that inventory. (Some carts sometimes may take a day or tow to be concluded)
- Is there a way we can setup a cart expiration time, in a configuration, in order for carts over that time to be deleted and reserves return to stock?
- Could we make carts do no generate that reserve into spryker availability , meaning only affecting availability at order purchase?
Comments
-
What you mean with let the carts open? If I remember correctly, items in the basket would not be reserved for customer. If customer makes the checkout and chose prepayment, the items will be reserved in the payment pending state by default. You could add a timeout or remove the reservation. this will be handled in the oms xml files under config/zed/oms/XXXXX,xml
0 -
Yes that is my understanding too - there is no reservation in the cart context (customer context) but there is reservation on orders that have been placed (backoffice context)
0 -
However I would be interested if Spryker has a cart reservation feature that I am not aware of π‘
0 -
hi i found that there is already CronJob exists which clears the guest cart after certain time through cronjob /spryker-b2c/config/Zed/cronjobs/jenkins.php $jobs[] = [
'name' => 'clean-expired-guest-cart',
'command' => '$PHP_BIN vendor/bin/console quote:delete-expired-guest-quotes',
'schedule' => '30 1 * * *',
'enable' => true,
'stores' => $allStores,
];0 -
you can clone this for all users binding condition on the timebase to clear out the cart after some hour as per your need
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random