Restrict Access on eCart Display Page
I am not sure if what I am trying to do is even possible, but I would like to set some show if conditions on my cart display page. I made a rule to exclude a certain description when eCart object conditions are met. However, when I upload and test my page, I get the following error.
Fatal error: Call to a member function DisplayInfo() on a non-object in /home7/commonsc/public_html/WA_SecurityAssist/HelperGroupsRulesPHP.php on line 8
The following includes line 8 in the code.
$comparisons = array();
$comparisons = array(TRUE, "".$CommonScentsCart->DisplayInfo("Itemtype") ."", 1, "CD");
$comparisons = array(TRUE, "".$CommonScentsCart->DisplayInfo("Price") ."", 5, "140");
$group = Array();
Thanks in advance.