コード例 #1
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['auctionInc'] = static::t('ShippingCalc');
     }
     return $list;
 }
コード例 #2
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $pages = parent::getPages();
     if (!$this->isNew()) {
         $pages += array('upselling_products' => static::t('Related products'));
     }
     return $pages;
 }
コード例 #3
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list[static::PAGE_WHOLESALE_PRICING] = static::t('Wholesale pricing');
     }
     return $list;
 }
コード例 #4
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['product_reviews'] = static::t('Product reviews');
     }
     return $list;
 }
コード例 #5
0
ファイル: Product.php プロジェクト: kewaunited/xcart
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $pages = parent::getPages();
     if (!$this->isNew()) {
         $pages += array('pin_codes' => static::t('PIN codes'));
     }
     return $pages;
 }
コード例 #6
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['tabs'] = static::t('Tabs');
     }
     return $list;
 }
コード例 #7
0
ファイル: Product.php プロジェクト: kingsj/core
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['product_options'] = 'Product options';
     }
     return $list;
 }
コード例 #8
0
ファイル: Product.php プロジェクト: kingsj/core
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['attachments'] = 'Attachments';
     }
     return $list;
 }
コード例 #9
0
ファイル: Product.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Get pages sections
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list['additional_info'] = static::t('Additional details');
         $list['shipping_restrictions'] = static::t('Shipping restrictions');
     }
     return $list;
 }
コード例 #10
0
ファイル: Product.php プロジェクト: kewaunited/xcart
 /**
  * Get pages
  *
  * @return array
  */
 public function getPages()
 {
     $list = parent::getPages();
     if (!$this->isNew()) {
         $list = array_merge(array_slice($list, 0, 2), array(static::PAGE_VARIANTS => static::t('Variants')), array_slice($list, 2));
     }
     return $list;
 }