OK... last thing I thinks.
My results are coming up perfect now. Invalid results are messaging - except I get a duplicate message, that's a template issue our designer will take care of I think.
I'm getting some odd display issues now however. I think they are related to my plugin overriding params needed on the product listing page. Things like the pagination are missing when my final product listing is rendered sometimes. Default thumbnail size isn't loading properly. The bread crumbs are missing as well. Some of these are perhaps template issues some could be configuration/programming related?
I am calling a constructor:
public function __construct(&$subject, $config) {
$this->loadLanguage('plg_search_hikashop_products');
$this->loadLanguage('plg_search_hikashop_products_override');
parent::__construct($subject, $config);
if (!isset($this->params)) {
$plugin = & JPluginHelper::getPlugin('hikashop');
jimport('joomla.html.parameter');
$this->params = new JParameter($plugin->params);
}
}
EDIT:
Additionally, I don't know how to handle pagination... apparently my designer fixed the "pagination not showing up" issue since posted.
I was testing pagination, my initial page load is correct - total counts, number of pages, etc. But navigating the pagination takes me to the selected page out our total product count, not the original search limits. How do I pass my original data set filters to the pagination "engine?"
Example:
YMM Search results 22 total; 2 pages; 20 per page.
If you click "page 2," "next," or "all" from the "limit" select options the pagination event/request takes you to page 2 of 395 (our total products).
I'm losing my original data set in the pagination request.
Guidance greatly appreciated, again.
Max