View Single Post
  #5  
Old 08-01-2016, 09:07 PM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Default Search Module / Tutorial

Quote:
Originally Posted by qualiteam
No, you should create the following new file and enter its contents as per the documentation:
classes/XLite/Module/YOUR-DEVELOPER-ID/YOUR-MODULE-ID/View/Form/Product/Search/Customer/SimpleForm.php


The documentation only says
Code:
namespace XLite\Module\<YOUR-DEVELOPER-ID>/<YOUR-MODULE-ID>\View\Form\Product\Search\Customer; class SimpleForm extends \XLite\View\Form\Product\Search\Customer\SimpleForm implements \XLite\Base\IDecorator { protected function getDefaultParams() { $params = parent::getDefaultParams(); $params[\XLite\View\ItemsList\Product\Customer\Search::PARAM_INCLUDING] = \XLite\Model\Repo\Product::INCLUDING_ALL; return $params; } }

Could you please update the documentation with the needed corrections?
http://devs.x-cart.com/en/customization_examples/resetting_the_search_parameter_from_any_word_to_al l_words.html
__________________
X-Cart Business 5.4.1.29
Reply With Quote