Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Echo Cart Summary?

    Does anyone know the code I need to echo a cart summary?

    i.e

    Items(0) £0.00

    ?

    Cheers

    Phil

  2. #2
    Join Date
    Jun 2008
    Location
    Morrisville, NC
    Posts
    50
    Plugin Contributions
    0

    Default Re: Echo Cart Summary?

    You can do something like:

    <?php
    var_dump($_SESSION['cart']);
    ?>

    Of course, you need to do that from a file that is far enough down the chain that the variable will be populated.

  3. #3
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Echo Cart Summary?

    Quote Originally Posted by peytonrm View Post
    You can do something like:

    <?php
    var_dump($_SESSION['cart']);
    ?>

    Of course, you need to do that from a file that is far enough down the chain that the variable will be populated.
    I think I need something that calls the variables as part of it? not to sure

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Echo Cart Summary?

    There is a cart summary addon in the addons area ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Echo Cart Summary?

    Quote Originally Posted by DrByte View Post
    There is a cart summary addon in the addons area ...
    Dr Byte,

    THANKYOU! awesome as ever!

    Phil

 

 

Similar Threads

  1. On Hover Cart Summary
    By Matthew Kin in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Mar 2015, 11:21 AM
  2. Replies: 2
    Last Post: 21 Aug 2014, 04:24 PM
  3. Replies: 2
    Last Post: 5 Aug 2012, 10:43 PM
  4. Making cart summary not show on cart page.
    By robbie269 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Dec 2010, 04:55 AM
  5. Shopping cart pages shoes php echo
    By videogameskins in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jul 2006, 09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg