Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Hyyan Abo Fakher

    (@hyyan)

    @bas Elbers if you can not see the polylang translations widget in product page just make sure that polylang is managing your products translations from polylang settings page. and every think will go fine.

    Thread Starter Bas Elbers

    (@baaaaas)

    Thanks it’s working now.One more question.

    https://abcaps.com/cart/

    When I update the cart, it redirects to the page in default language. The action on the form has the right url.

    Also tried:

    function get_woocommerce_cart_polylang() {
        return pll_get_post(get_option('woocommerce_cart_page_id' ) );
    }
    add_filter('woocommerce_cart_page_id', "get_woocommerce_cart_polylang");

    But doesn’t help. Something is redirecting it to the default language cart page.

    Plugin Author Hyyan Abo Fakher

    (@hyyan)

    @bas Elbers sorry for late answer , I’ve just visited your site to see what is wrong and I think you have not translated the woocommerce pages (cart, myaccont,shop,…) these pages need to be translated , the shop page in your site does not display the products in the chosen languages too.

    there is no need for the code you have written , the plugin is already doing something similar for all woocommerce pages , take a look at the code Here to be sure

    Plugin Author Hyyan Abo Fakher

    (@hyyan)

    Consider as resolved , please reopen if not

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working at all’ is closed to new replies.