Please indent your code and post it within php bbcode tags:
<?php
var_dump($package)
if(isset(!empty($package))
{
if($package === "7oz Bag")
{
echo "Price";
}
elseif($package === "Gift Bag (1.7 oz)")
{
echo "Price2";
}
else
{
echo "Cant find package - ".$package;
}
}
?>
The first problem is that you forgot a terminating semi-colon. It should be:
var_dump($package);
The next problem is that this does not make sense and has a syntax error:
if(isset(!empty($package))
You probably want to write:
if(!empty($package))
But wait, then you should shift the var_dump() to:
if(!empty($package))
{
var_dump($package);
since it is possible that $package does not exist at a point when you are trying to use var_dump() on it.