Adam Bernstein
Is there a way to hide PayPal Express from the Cart view if the user is not logged in? In Views/Cart/Index.cshtml, I see:
@if (Model.PayPalExpressAvailable) {
    [PayPal Express button gets added here]
However, is there anything I can add to the logic to check for logged in status? I don't see anything in CartViewModel.

Or is there another way to achieve this?

FYI, the reason for hiding it is that if the non-registered user purchases via PayPal Express, they do not get prompted to create an account during the checkout process, so it appears it would require a support request to connect them to their order information after purchase.

We are using Hotcakes version 1.10.4 Pro, and our store is here .

Thanks in advance!
  • Sign-up for the Hotcakes Community Newsletter: