• Resolved rodrigocoragem96

    (@rodrigocoragem96)


    Hi there whene i update woocommerce multilingue 4.1.1 an error shows

    [14-Mar-2017 12:02:11 UTC] PHP Fatal error: Call to undefined method WPML_WP_API::defined() in /home/zufas/public_html/wp-content/plugins/woocommerce-multilingual/inc/currencies/currency-switcher/class-wcml-file.php on line 36

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter rodrigocoragem96

    (@rodrigocoragem96)

    this is not what appen cuz we have the stock in portuguese and its correct but in spanish appears no stock. for other words we need the script you gave us to make the oposite thing we need to equalise on the max gty

    Thread Starter rodrigocoragem96

    (@rodrigocoragem96)

    this is not what appen cuz we have the stock in portuguese and its correct but in spanish appears no stock. for other words we need the script you gave us to make the oposite thing we need to equalise on the max gty

    You can try the revised script here: https://pastebin.com/016bzDEK
    You will need to replace “false” on language code variable:

    
    function trbl_sync_stock( $source_language = false ){
    

    with the language code that you want to copy from.

    As usual, please test this on a staging or backup site first.

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Fatal error woocommerce multilingue 4.1.1’ is closed to new replies.