Reviews for different language

Designer
Frá Turkey
Meðlimur síðan apr. 2019

if i use multi languages, review doesnt appear if selected second language. It's not an error, but it's open to interpretation. i prefer to show customers all reviews even its writen in different language. otherwise placed stars in right col, dont mean anything. No link, no reviews to show, it seems just placed for good looking page design or something else.. 
how should i think?

tim
Founder
Frá Sweden
Meðlimur síðan maí 2013
tim

That was the original behavior of this thing. And merchants didn't like it so we made them translatable by language.
It's a never ending debate. I think half the crowd likes it one way and the other half the other.
There is one short fix to the problem. Simply copy the review to all languages. It can be done by altering the way it is initially stored.

See includes/boxes/box_product_reviews.inc.php line 63.


      $review->data['review'][language::$selected['code']] = $_POST['review'];```
Designer
Frá Turkey
Meðlimur síðan apr. 2019

thank you. i just removed language options. it looks better for me. thank you again.

tim
Founder
Frá Sweden
Meðlimur síðan maí 2013
tim

I don't think that is supported by the CSV. The XML feed supports additional images.
https://support.google.com/merchants/answer/6324370?hl=en

You would have to join the images table with something like this:

  ...
      left join (
        select product_id, group_concat(filename separator ',') as images
        from ". DB_TABLE_PREFIX ."products_images
        group by product_id
        order by priority
      ) pimg on (p.id = pimg.product_id)
   ...```

You can then separate them using explode:

```  $product['images'] = explode(';', $product['images']);```

And iterate them to make links of them:

```  foreach ($product['images'] as $key => $image) {
    $product['images'][$key] = document::link(WS_DIR_APP . 'images/'. $image);
  }
Þú
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.