View Single Post
  #2  
Old 08-01-2016, 09:44 AM
 
BrandonLR BrandonLR is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 161
 

Default Re: Default Search Module / Tutorial

I don't know if this was the issue but I did find an error in syntax here:
http://devs.x-cart.com/en/customization_examples/resetting_the_search_parameter_from_any_word_to_al l_words.html
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; } }

The bold & underlined forward slash between <YOUR-DEVELOPER-ID>/<YOUR-MODULE-ID> should be a back slash, no?
__________________
X-Cart Business 5.4.1.29
Reply With Quote