Is it compatible with the WPML plugin?

Forums Cost of Goods for WooCommerce Is it compatible with the WPML plugin?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #95018
    Pablo
    Moderator
    Plugin Support

    Hi Leon,

    We have created the wpml-config.xml some time ago with the _alg_wc_cog_cost meta set up. It’s meant to copy the costs between translations, as the regular price is. This is our xml file:

    <wpml-config>
        <custom-fields>
            <custom-field action="copy">_alg_wc_cog_cost</custom-field>
        </custom-fields>
    </wpml-config>
    
    #103497
    Leon Keemer
    Participant

    Tnx! I am not sure were to put this file. Can you elaborate?

    #103508
    Pablo
    Moderator
    Plugin Support

    Hi,

    You don’t need to put this file anywhere. It is located in the plugin’s root folder. It will work out of the box.

    With that file, every time you create a translation of a product, its price will be copied along, i.e., the cost will be synced between translations, as the default price is.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.