Hi Simon, Jacques:
The only way you could do this is to require the user to create an
account while you still have them on the store website either before the
order is created or as the order is created. Given that, why not just
insert some code into the checkout process that checks to see if the
user is an anonymous user and if they are, and they are purchasing
digital_goods (both being true), prompt them to create an account as
part of the checkout process. Anytime before the order is confirmed
would work.
Regards,
Ruth
Jacques Le Roux wrote:
Simon,
Product.productTypeId seems appropriate to me.
Jacques
From: "Simon Hutchinson" <[email protected]>
Jacques
What would be the preferred approach for determining the requirement
for registration before download.
e.g a new property on the product entity, by product type, by testing
for associated resource??
Simon
From: Jacques Le Roux [mailto:[email protected]]
I'd prefer #1 (generic) and would be happy to review and hopefully
commit any contribution...
Jacques
From: "Ruth Hoffman" <[email protected]>
Hi Simon:
#2 is pretty much what I plan to do. All my users, at this point,
start out as anonymous users. My solution: once a user has been
confirmed as purchasing the product, I will create a minimal account
for them using an email address (I assume that if they are
using the web to purchase products, they at least have a unique email
address) as the userLoginId and some arbitrary password.
Then, I will create (a custom) web page that requires login (using
the OFBiz login services) and on that page I will post all the
digital_goods purchased.
[Since I really don't care if they protect their account, I'm
probably not going to force them to change the password. Not sure
about that yet.]
I don't plan on using the "Order History" web page to distribute
purchased digital_goods.
Regards,
Ruth
Simon Hutchinson wrote:
-----Original Message-----
From: Ruth Hoffman [mailto:[email protected]]
Sent: Fri 9/25/2009 2:25 PM
To: [email protected]
Subject: Re: Downloading a digital product as an anonymous purchaser
Hi Simon:
I don't think it can be done. I've spent several hours deciphering
how digital goods work and, although I could be wrong, I don't
think there is a way using the default setup that a user can access
a purchased digital good without a login/password. That would
be because those products are, by default, made available on a
password protected web page and anonymous users, by default have
no login/password.
Actually, the user would need more than a login/password. They need
at an "account" which consists of, at a minimum some PARTY
and PARTYROLE information.
Be interested in hearing if anyone else has had a different experience.
Regards,
Ruth
Simon Hutchinson wrote:
Hi all,
If I purchase a DIGITAL_GOOD through ecommerce as a logged in user
the purchase is subsequently available for download through
my order history page.
My question is how a digital purchase is made available for
download for an anonymous user. I can make the purchase but don't
seem to be able to find where to download it.
Can anyone point me in the right direction?
Simon
Sound logical to be identified to download...
Perhaps, but currently a digital product is available for purchase
to an anonymous user who is then unable to retrieve their
purchase.
I suppose the options are.
1. Enforce registration for product downloads at purchase time.
2. Code a custom solution that makes the download available to
anonymous users
Simon