• Resolved kirill92

    (@kirill92)


    Hello.

    I configured your plugin on multilingual website with Polylang. Categories names were translated but products for other languages didn’t show in the tab container.

    I looked up in the plugin code and I saw you used
    $cat->name here
    echo do_shortcode('[product_category category="' . $cat->name . '" per_page=' . $product_number . ' columns=' . $column_number . ' orderby="date" order="desc"]');

    I changed to
    echo do_shortcode('[product_category category="' . $cat->slug . '" per_page=' . $product_number . ' columns=' . $column_number . ' orderby="date" order="desc"]');

    and translated products started to show in other other languages

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small fix needed’ is closed to new replies.