[Koha-bugs] [Bug 1802] New: Cart link broken, script dependent and incorrect

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Sat Jan 26 05:51:31 CET 2008


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1802

           Summary: Cart link broken, script dependent and incorrect
           Product: Koha
           Version: HEAD
          Platform: Macintosh
               URL: http://atz.dev.kohalibrary.com/cgi-bin/koha/opac-main.pl
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: OPAC
        AssignedTo: jmf at liblime.com
        ReportedBy: joe.atzberger at liblime.com
         QAContact: koha-bugs at nongnu.org


On every OPAC page...

<a id="cartmenulink" href="#">Cart<span id="basket"><script
language="javascript" type="text/javascript">if(basketcount){
document.write(basketcount) };</script></span></a>

This means script is required to view cart.  The template should know if there
are cart contents or not.  

When the script does display the number of items in cart, it is confused.  It
says "Cart (1)", but on mouseover says "Your cart contains 3 items".  

There's another section with Cart related code, but it is commented out.  Seems
like this a feature still in the middle of a development.




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list