Announcement

Collapse
No announcement yet.

Simple Question - How Do I Change the Words and Look of the Mini Cart?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Simple Question - How Do I Change the Words and Look of the Mini Cart?

    Good Afternoon Everyone.

    I know this is probably a simple question for most users - and I've searched the community for the answer with no luck. At present the mini cart just says- items: (number) value£0.00). I would like to change the mini cart to be more descriptive and add a heading. Where do I find the information/template I need to change?? All I can find is this script in the Act_Primary.html:

    <script language="JavaScript">

    document.write("NETQUOTEVAR:CARTCOOKIEITEMS&nbsp;" + getCartItem(3)+&nbsp;<BR>");

    document.write("NETQUOTEVAR:CARTCOOKIEVALUE&nbsp;" + getCartItem(1));

    </script>

    Cheers
    Mike

    #2
    That's the right bit. If you want to just change the prompts these are in Design / Text / Go to / Phase -1, ID 2212 and 2213.

    If you want a more complex layout you can add your own text or in the surrounding TABLE. The following 2 bits will write out just the count and value respectively.
    Code:
    <script Language=JavaScript>
    <!-- write just the count
    document.write(getCartItem(3));
    //-->
    </script>
    Code:
    <script Language=JavaScript>
    <!-- write just the value
    document.write(getCartItem(1));
    //-->
    </script>
    and here's a simple example
    Code:
    Your cart contains <script Language=JavaScript>
    <!-- write just the count
    document.write(getCartItem(3));
    //-->
    </script> items at a cost of <script Language=JavaScript>
    <!-- write just the value
    document.write(getCartItem(1));
    //-->
    </script>
    Norman
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks Norman, thats fantastic

      Comment


        #4
        As the only thing you'll be changing is Act_Primary.html it might be a good idea to back it up first then you can always revert back to your original if you have problems.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment

        Working...
        X