Hello, I installed the tracker.
But when I try to check on a coupon code It tells me it can't find the coupon.
But when I try to check on a coupon code It tells me it can't find the coupon.
<?php
echo JText::_('COM_AWOTRACKER_SECRET_KEY');
?>
<?php
echo @$this->coupon_row->passcode;
?>
" />
<tr><td><b><?php echo JText::_('COM_AWOTRACKER_SECRET_KEY'); ?> <span style="color:red;">*</span></b></td>
<td><input type="text" name="passcode" value="<?php echo @$this->coupon_row->passcode;?>" /></td>
</tr>
<?php
$this->_db->setQuery('SELECT id FROM #__awocoupon WHERE estore="'.$this->estore.'" AND coupon_code="'.$this->_db->getEscaped(@$post->coupon_code).'" AND passcode="'.$this->_db->getEscaped(@$post->passcode).'" AND published IN (1,-1)');
?>
<?php
$this->_db->setQuery('SELECT id FROM #__awocoupon WHERE estore="'.$this->estore.'" AND coupon_code="'.$this->_db->getEscaped(@$post->coupon_code).'" AND published IN (1,-1)');
?>