- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2018 08:34 AM
Hi all,
My team and I have implemented client scripts that make the Requested for for field read only and locked when certain items are in the cart. We are looking through the sc_cart_item table and look at all items that are in a cart that belong to the current user. We have noticed an issue when the user uses the Order Now button. If one of the restricted items is in their cart, then go to different item and attempt to Order Now, the client script is being triggered due to the item in the cart not visible to the user.
I have tried to cleanup carts using a business rule but was unable to do so. If a user selects the Order Now option and then decides to continue shopping, the item is now in a new cart initiated by the Order Now option as well as added to the Default cart of the user. This new cart that was created is now left in limbo with the user not having access to it.
I was hoping somebody else has noticed the same issue and was able to come up with some type of solution. For now, the Order Now option has been taken off of our cart layout.
Is this a known issue?
Thanks in advance,
Ryan
Solved! Go to Solution.
- Labels:
-
Best Practices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2018 11:32 AM
This is working as designed. There is a system property that you can change that may work better for you. Navigate to Service Catalog \ Catalog Administration \ Properties. Click Cart and then scroll down to the highlighted property:
As mentioned in the verbiage its meant to create a new cart for the "order now" item and leaves everything else in teh cart as is. I am not sure what you are referring to when you say that "selects Order Now and then does not checkout" because the purpose of order now is to order that one item and finish, similar to Amazon's 1-click ordering where it ignores the items in your cart.
Changing this property will order the item plus the items in the cart.
Please mark this post or any as helpful or the correct answer to your question so others viewing this thread can benefit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2018 12:16 PM
Awesome glad that is working for you.