I have sorted out my coupon code issues.
However I have one last issue.
When I visit the cart page without anything in my cart, my page is offset and I get errors.
Notice: Undefined variable: totalRows_Settings in C:\wamp\www\Siteezy_eCart2\Cart.php on line 160
Notice: Undefined variable: Settings in C:\wamp\www\Siteezy_eCart2\Cart.php on line 767
Warning: mysql_free_result() expects parameter 1 to be resource, null given in C:\wamp\www\Siteezy_eCart2\Cart.php on line 767
I am not sure if this is an issue with the order of my code, but if it is.
My problem is that, a while ago I paid for a support ticket, where a inventory system was created for me.
On the cart page, the cart dose not allow the user to add more Item then is availible.
When I re arrange the code this seems to stop working.
As a result, please tell me how to stop getting these errors, and If re arranging the code is needed, please provide instruction on how to do it without messing up my stock system.
Please not I only get this errors when I do not have anything in my cart. I have a view cart link on all my pages so if a user has not got anything in the cart and they visit the page, it gives errors
Please delete my attachment when you have it.