• Resolved madmax4ever

    (@madmax4ever)


    Hello,

    To be more compliant with latest version of WC and take into account other languages, this line should be:
    $action = get_permalink( get_option( 'woocommerce_shop_page_id' ) ) . $query_string;
    as in others languages, the shop’s permalink might not be ‘shop’…

    Great plugin!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeroen Sormani

    (@sormano)

    Hi,

    Thank you for the suggestion. I don’t believe ‘wc_get_page_id’ should be replaced by ‘get_option’ here; this would remove a filter within Woo that may be used by plugins.
    That function also uses the get_option in the end, which would then also be able to be filtered if that is a concern.

    Cheers,
    Jeroen

    Thread Starter madmax4ever

    (@madmax4ever)

    Thanks for your answer and sorry for my mistake.
    👍

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WC compatibility / translation’ is closed to new replies.