Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Definition of categories of goods #1

Open
cellulosa opened this issue Sep 10, 2013 · 0 comments
Open

Definition of categories of goods #1

cellulosa opened this issue Sep 10, 2013 · 0 comments

Comments

@cellulosa
Copy link

No categories are assigned, here's the fix:

Edit these lines: https://github.com/novalis111/sphinxmage/blob/master/app/code/local/Exanto/Sphinxmage/Helper/Data.php#L79-L86
to:
$mProduct = Mage::getModel('catalog/product')->load($entity_id);
foreach ($mProduct->getCategoryCollection() as $mCategory) {
$mCategory->load();
$category.= ($category != '' ? '|' : '') . $mCategory->getName();
}

Source: fheyer/sphinxsearch#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant