Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

Installation

ElectricFeet edited this page Nov 29, 2017 · 6 revisions

Dependencies

  1. WooCommerce: woo-poly-integration version 1 requires WooCommerce 3 or higher, it is recommended to use the latest release version from WordPress.org. If you are doing development or very brave you might also like to use the WooCommerce Beta Tester plugin or the WooCommerce GitHub repository. If you must use WooCommerce2.6 please continue to use woo-poly-integration version 0.26. Please activate wooCommerce and run through the setup wizard or manually set the basic settings before activating the translation tool.

  2. Polylang please use latest version from Wordpress.org or Polylang.Pro. After activating Polylang, please complete Polylang basic configuration, woo-poly-integration can't do anything unless Polylang is configured, that is:

    1. go to Languages, Languages /wp-admin/admin.php?page=mlang and add your chosen languages.
    2. go to Languages, Settings /wp-admin/admin.php?page=mlang_settings and check the options for URL modifications. Note that the Polylang URL setting "The language is set from content" is not compatible with the Polylang-WooCommerce-Plugin combination.

    Make sure that Polylang is configured and working before installing this plugin.

How to install

Standard install

In your site Admin, go to Plugins, Add New and search for Hyyan WooCommerce Polylang Integration and install it.

Manual install

  1. Download the plugin as zip archive and then upload it to your wordpress plugins folder and extract it there.
  2. Activate the plugin from your admin panel.

Composer way

  1. run composer command : composer require hyyan/woo-poly-integration

Upgrade from WooCommerce 2.x

WooCommerce Polylang Integration 1.0.0 is the first release for WooCommerce 3.x. DO NOT install until you are doing the upgrade to WooCommerce 3.x.

If you are currently on WooCommerce 2.x, we recommend:

  1. Take a backup, especially of the database and the current versions of WooCommerce and woocommmerce-polylang integration. And do EVERYTHING in a test environment first. Test. WooCommerce 3 has a large number of breaking changes which may and do break other plugins.
  2. temporarily deactivate this plugin,
  3. upgrade WooCommerce and this plugin
  4. run WooCommerce database upgrade following the wooCommerce prompt
  5. reactivate this plugin