Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
$15
GetShopped (wp-ecommerce): if() test is shopping cart empty?
<?php echo nzshpcrt_shopping_basket(); ?>However, I actually want this only to appear if there is something in shopping cart. In pseudo code, what I want looks like this:
<?php if (!shopping_cart_is_empty()): ?>
<?php echo nzshpcrt_shopping_basket(); ?>
<?php endif ?>How can I achieve this?
This question has been answered.
Lawrence Krubner | 03/24/11 at 8:55pm
Edit
(1) Possible Answers Submitted...
See a chronological view of answers?
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
-

Last edited:
03/27/11
4:06pmyves vu says:Hi,
you should use code:
<?php
if (isset($_SESSION['wpsc_cart']) && !empty($_SESSION['wpsc_cart']))
{
echo nzshpcrt_shopping_basket();
}
?>
cheers.
This question has expired.
Current status of this question: Completed
Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.
If the asker does not get an answer then they have 10 days to request a refund.
