spree-contrib / spree_globalize

Adds support for model translations (multi-language stores) using Globalize gem
https://spreecommerce.org
BSD 3-Clause "New" or "Revised" License
24 stars 101 forks source link

missing find variants by product name #44

Open fxgit opened 6 years ago

fxgit commented 6 years ago

in the spree admin when find variants by product name using this url /api/v1/variants?q%5Bproduct_name_or_sku_cont%5D=jar&token=xxx&_=yyyyy the api response a empty result because don't use product translations table, in 3-0-stable spree_i18n had a variant decorator that solve this but it was removed.

Spree 3.4.3 spree_i18n - master spree_globalize - master

alexeyyanukovich commented 6 years ago

I have the same problem. When I try to search variants — get an error «Loading failed» Before install spree_globalize all works fine.

Fresh installed Spree 3.4.5 spree_i18n — master spree_globalize — master

AhmedAliIbrahim commented 5 years ago

@AlekseyArder did you find a solution or a workaround ?

alexeyyanukovich commented 5 years ago

@AhmedAliIbrahim unfortunately, I didn't. Waiting for future updates.

aivils commented 5 years ago

Here is solution: https://github.com/spree-contrib/spree_related_products/issues/169#issuecomment-469892045