[Koha-bugs] [Bug 4274] Optionally allow sending cart without requiring login

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 02:09:23 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4274

--- Comment #11 from David Cook <dcook at prosentient.com.au> ---
(In reply to Jonathan Druart from comment #10)
> (In reply to David Cook from comment #9)
> > (In reply to Katrin Fischer from comment #8)
> > > A human being might still misuse the feature - I think it should be a choice
> > > for the library, so they can turn off 'non logged in cart sending'.
> > 
> > Agreed. We actually have this implemented locally as an "anonymous cart"
> > system preference. I think most of our libraries have it turned off (ie
> > require login), but a few want anyone to be able to use the cart.
> 
> Still have the code somewhere?

Yes, although we've customized the cart quite a bit, so it would take time,
which I don't have, to unravel it enough to share. 

Basically, I think you have a system preference, and enable $authnotrequired
where necessary and add Koha.Preference( '<anonymous cart>' ) where necessary
in the templates.

I could look at this another time, but need to focus on other things atm.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the Koha-bugs mailing list