conditional display quick cart
I would show quick cart in some page if cart are not empty. I try so:
<?php
$show= myvariable;
if ($show<> "") {
include("include/inc_cart_summary.php");
}
?>
is unclear to me what to put in place to myvariable
I would show quick cart in some page if cart are not empty. I try so:
<?php
$show= myvariable;
if ($show<> "") {
include("include/inc_cart_summary.php");
}
?>
is unclear to me what to put in place to myvariable
use this code:
<?php
require_once("WA_eCart/<yourCartNam>_PHP.php");
$<yourCartNam>->GetContent();
if (!$<yourCartNam>->IsEmpty()) {
include("include/inc_cart_summary.php");
}
?>
where <yourCartNam> is the name of your cart object.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.