Jump to content

AjaxSearch Category->Name->Product Reference


Recommended Posts

Hello everybody!

I'd like to ask how to change ajax searching. Now it looks like this: Category Name -> Product Name
I'd like to add to this Product Reference.
I found the code:

foreach ($search as $product)
echo $product['id_product'].'|'.$product['pname'].'|'.$product['cname'].'|'.$link->getProductLink($product['id_product'], $product['prewrite'], $product['crewrite'])."\n";
die; 



but I don't know what is the variable name for product reference (e.g. $product['pref']).

Thank you for Your help! :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...