Does anyone know the code I need to echo a cart summary?
i.e
Items(0) £0.00
?
Cheers
Phil
Does anyone know the code I need to echo a cart summary?
i.e
Items(0) £0.00
?
Cheers
Phil
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.
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.