Exemplo n.º 1
0
 public function renderDetails($tpl = null)
 {
     if ($this->getLayout() != 'modal') {
         $this->addToolBar();
         $this->sideBar = JHtmlSidebar::render();
     }
     $unidentified = new JeproshopGroupModelGroup(JeproshopSettingModelSetting::getValue('unidentified_group'));
     $guest = new JeproshopGroupModelGroup(JeproshopSettingModelSetting::getValue('guest_group'));
     $default = new JeproshopGroupModelGroup(JeproshopSettingModelSetting::getValue('customer_group'));
     /*
     		$unidentified_group_information = sprintf(
     				/*$this->l('%s - All persons without a customer account or customers that are not logged in.'),
     				'<b>'.$unidentified->name[$this->context->language->id].'</b>' * /
     		);
     		$guest_group_information = sprintf(
     				/*$this->l('%s - All persons who placed an order through Guest Checkout.'),
     				'<b>'.$guest->name[$this->context->language->id].'</b>' * /
     		);
     		$default_group_information = sprintf(
     				/*$this->l('%s - All persons who created an account on this site.'),
     				'<b>'.$default->name[$this->context->language->id].'</b>' */
     //);
     $groupModel = new JeproshopGroupModelGroup();
     $groups = $groupModel->getGroupList();
     $this->assignRef('groups', $groups);
     /*$this->displayInformation($this->l('PrestaShop has three default customer groups:'));
     		$this->displayInformation($unidentified_group_information);
     		$this->displayInformation($guest_group_information);
     		$this->displayInformation($default_group_information); */
     parent::display($tpl);
 }