function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Sites webshop with login and products

Anyone knows the best approach to create a webshop with products stored in the standard Product2 object. And to attach orders (an opportunity) to the appropriate account, based on login credentials of the user when ordering. The webcatalog of products should be publicly visible, but also for logged in users (customer portal or authenticated user, either will do).


Looking at the fact it's impossible to display a Product2 to a customer portal user (but STUPIDLY enough it CAN be made visible to guest users), there is no way to allow ordering of products only to customer portal (logged in) users.


What's the best approach here?