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

BUG: Wrong category exported #4

Open
bwnnd opened this issue Nov 16, 2017 · 0 comments
Open

BUG: Wrong category exported #4

bwnnd opened this issue Nov 16, 2017 · 0 comments

Comments

@bwnnd
Copy link

bwnnd commented Nov 16, 2017

Hi!

While testing your plugin I encountered the following fault:

In the product export XML, the wrong category is selected for google_product_category.

I think the category is statically programmed to be "0" on line 277 in function formatGoogleCategory in XmlProductWriter.php:

$category = $product['categories'][0];

Changing it to "1" selected the google category in my install. Can you review this issue?

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