View Single Post
  #10  
Old 08-03-2017, 06:06 AM
 
ajeetsingh ajeetsingh is offline
 

Member
  
Join Date: Dec 2016
Posts: 28
 

Default Re: Have problem with product varient module

Quote:
Originally Posted by tony_sologubov
@ajeetsingh,

Judging by error messages in the log, there is a problem on 107 line in the classes/XLite/Module/Wevbkulsoftware/PreorderSales/Controller/Admin/Product.php file and I assume that the code you quoted earlier is correct:
Code:
/** * Page key */ const PAGE_VARI = 'preorders'; public function getPages() { $list = parent::getPages(); if (!$this->isNew()) { $list = array_merge( array_slice($list, 0, 5), array(static::PAGE_VARI => static::t('PreorderSales')), array_slice($list, 5) ); } return $list; } protected function getPageTemplates() { $list = parent::getPageTemplates(); if (!$this->isNew()) { $list = array_merge( array_slice($list, 0,5), array(static::PAGE_VARI => 'modules/Webkulsoftware/PreorderSales/preorders/body.twig'), array_slice($list, 5) ); } return $list; }

Could you please show the full code of that file?

Tony


Hi @tony_sologubov,

I have send you the file please check the full code of that file.

product.php

Thank You for your reply.
__________________
Ajeet Singh
Sr.Software Developer
Webkul Software Pvt. Ltd.
Reply With Quote