Menu
Product
Showcase
Partners
Community
Resources
Services
Sign Up / Log In
Try It Now
Download
Product
Showcase
Partners
Community
Resources
Services
Sign Up / Log In
Forums
Search Forum
Search
Advanced Search
Topics
Posts
Unanswered
Active Topics
Prev
Go to previous topic
Next
Go to next topic
Last Post 7/13/2017 1:59 PM by
Adam Bernstein
Hide PayPal Express from Cart view if not logged in
0 Replies
0 Subscribed to this topic
1 Subscribed to this forum
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
Adam Bernstein
New Member
Posts:9
7/13/2017 1:59 PM
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:
[code=csharp]@if (Model.PayPalExpressAvailable) {
[PayPal Express button gets added here]
}
[/code]
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 [url=https://www.practicewise.com/Store]here[/url].
Thanks in advance!
You are not authorized to post a reply.
Private
General
--Ask Anything
--Content Management
--Customer Experience
--Marketing
--SEO
Merchants
--Catalog Management
--Marketing/Promotions
--Order Management
--Payments
--Shipping
--Store Administration (General)
Designers
--Themes
--Viewsets
--General Design
Developers
--Extension Points (Store-Relate...
--Implementation
--Installation and Upgrade
--Module Development
--General Development
Forums
Developers
General Development
Sign-up for the Hotcakes Community Newsletter:
E-Mail Address