-- HikaShop version -- : 2.1.2
-- Joomla version -- : 2.5.9
-- PHP version -- : 5.4
-- Browser(s) name and version -- : chrome v29.0.xxx
Issue 1:
How do we remove the Add Coupon from the final checkout page ( for us this is step 2 ). I am not asking how to remove Add Coupon.
Issue 2:
I saw this forum post :
www.hikashop.com/forum/4-how-to/13429-ch...der-in-checkout.html
and tried this condition switch in the view file /checkout/step.php - but it has not worked for us.
if($this->nextButton)
{
/**
* check for the step condition, if we are at the end of our checkout process, change the button to Finish
*/
if($this->step==2)
{
echo $this->cart->displayButton('complete','next',$this->params,hikashop::completeLink('checkout&task=step&step='.$this->step+1),'document.forms[\'hikashop_checkout_form\'].submit(); return false; ','id="hikashop_checkout_next_button"');
}
else
{
echo $this->cart->displayButton(JText::_('HIKA_NEXT'),'next',$this->params,hikashop_completeLink('checkout&task=step&step='.($this->step+1)),'
if(hikashopCheckChangeForm(\'order\',\'hikashop_checkout_form\'))
{
if(hikashopCheckMethods())
{
document.getElementById(\'hikashop_validate\').value=1; document.forms[\'hikashop_checkout_form\'].submit();
}
} return false;',
'id="hikashop_checkout_next_button"');
}
}