Just wondering if anyone knows of any quick trick (existing Macro) where during the checkout process I can determine whether a product type is in the cart, if it is not I will show a 'Continue as Guest' option on the Create an Account screen so users can bypass registration. If the product type is present in the cart, I want that button disabled so I can force them to create an account.
I know I can write a custom webpart or my own macro to check the condition, but mostly just want to know if there is something existing I don't know about.
You can get a list of the items by using this macro: ECommerceContext.CurrentShoppingCart.ShoppingCartItems
Thanks Brenden. I wasn't quite sure if I could use that, but I will take a look.
Please, sign in to be able to submit a new answer.