@@ -, +, @@ popup on one click --- .../prog/en/modules/admin/preferences/opac.pref | 6 ++++ .../opac-tmpl/bootstrap/en/includes/masthead.inc | 32 +++++++++++++++------- .../bootstrap/en/includes/opac-bottom.inc | 1 - .../opac-tmpl/bootstrap/en/modules/opac-basket.tt | 5 +++- koha-tmpl/opac-tmpl/bootstrap/js/basket.js | 22 +++++++++++---- 5 files changed, 48 insertions(+), 18 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref @@ -416,6 +416,12 @@ OPAC: no: "Don't allow" - patrons to store items in a temporary "Cart" on the OPAC. - + - pref: EnableOneClickToOpenCartPopup + choices: + yes: Enable + no: "Don't enable" + - Enable to load the cart popup immediately upon clicking on the OPAC cart icon. + - - pref: OpacTopissue choices: yes: Allow --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -1,6 +1,7 @@ [% USE Koha %] [% USE Branches %] [% SET OpacLangSelectorMode = Koha.Preference('OpacLangSelectorMode') %] +[% SET CartOneClick = Koha.Preference('EnableOneClickToOpenCartPopup') %]