I have a nulled WHMCS script which I have used it on my hosting site.
When I add products to cart products added to cart in WHMCS page, but in that same domain I have created my own pages. For that reason being I want to use that session generated by WHMCS should be available on my page. but I am unable to do so.
Here is my code
$cartitems = count ($_SESSION['cart']['products'])
+ count ($_SESSION['cart']['addons'])
+ count ($_SESSION['cart']['domains']);
I would say that this doesn't work since you can't share the WHMCS session.
You can Create Your Own WHMCS Pages - this allows you to utilise all of the WHMCS Internal API commands as well as access the WHMCS Session variables including the cart array.