public function getStartFormHtml() { if ($bundleBlock = $this->getLayout()->getBlock('product.info.configurable')) { $html = '<div style="display:none">'; $html .= $bundleBlock->toHtml(); $html .= '</div>'; return $html; } return parent::getStartFormHtml(); }
public function _prepareLayout() { parent::_prepareLayout(); $this->setTemplate('webpos/admin/webpos/checkout/product/giftvoucher.phtml'); return $this; }