Home Forums Basel support forum Product related 2 languages – different images

Product related 2 languages – different images

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1833

    graphe
    Participant

    Hi,

    In single product page, at the bottom, I see the related products.

    I want only appears related products by category, for that reason I changed abstract-wc-product.php file:

    $relate_by_tag = apply_filters( 'woocommerce_product_related_posts_relate_by_tag', false, $this->id );

    It works, but now I’m using WPML to translate to catalan and in catalan the related products shows ok but in spanish show random images that not belong to the category.

    I don’t understand the reason.

    related product spanish - NOT OK

    related product catalan - OK

    Any idea?

    Thanks again!

    #1842

    Artem Temos
    Keymaster

    Hello there,

    We would be glad to help you but since you have changed woocommerce files and have a problem related to the plugin we don’t know what it may be caused by. So it is out of our support scope.

    Thank you for understanding.

    #1860

    graphe
    Participant

    ok, I will ask to WPML support,

    Thanks anyway.

    #1870

    Artem Temos
    Keymaster

    You are welcome. Write us if you will have any additional questions regarding our theme.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Product related 2 languages – different images’ is closed to new replies.