- 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 08:59 AM
I will be honest I am not completely following your issue but I wanted to make sure you are aware of hidden attributes at the catalog item level that start with "No" that may help. You can set at the individual item level whether it can be added to a cart or can be "ordered now":
Again not fully understanding the issue, maybe you need to restrict these items from being added to a cart.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2018 10:45 AM
The underlying issue that we are trying to resolve is a user having multiple carts even though only 1 is visible to them at a time. When the Order Now option is selected, a new cart is created with only that item. All of the items that were in the cart previously are still stored in the DEFAULT cart. If the user selects Order Now and then does not checkout this new cart, the item is transferred to the DEFUALT cart but this new cart is not deleted and still contains this one item (it is now in the new cart as well as the DEFAULT cart).
Having multiple carts for 1 user is interfering with client scripts that we have implemented.
I can provide screenshots if you need more detail on the issue.
Thanks,
Ryan
- 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 11:50 AM
Thanks for responding for my posts so quickly. This system property is a good solution to our issue due to the fact that our Order Now button is not a 1-click ordering process.
Appreciate your responses as always,
Ryan