Hi Vinod, as you probably know there is a bug report for this:
*BugĀ 9290* <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9290> - Restricting patron category for online purchase suggestion When a user is logged in, the patron category shows in the source code at least for recent versions: span class="loggedinusername" data-borrowernumber="51" data-branchcode="CPL" data-categorycode="S">Your account</span> I've not found an example using this in the jQuery sample library, but maybe someone else has a snippet you could adapt. Hope this helps, Katrin On 13.03.21 08:31, vinod mishra wrote:
Hello I wish to activate online purchase suggestion but hide the same for a specific category of users. Any help is appreciated with JQuery, etc. With Regards, Vinod Kumar Mishra, Assistant Librarian, Biju Patnaik Central Library (BPCL), NIT Rourkela, Sundergadh-769008, Odisha, India. Mob:91+9439420860 URL: http://vinod.itshelp.co.in/ ORCID ID: http://orcid.org/0000-0003-4666-7874 *"Spiritual relationship is far more precious than physical. Physical relationship divorced from spiritual is body without soul" -- Mahatma Gandhi* _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha