Support » Plugin: DeepL Pro API translation plugin » Metabox doesn’t appear in woocommerce products

  • Resolved rkramer

    (@rkramer)


    Dear Malaiac,

    I love the plugin, this is a huge time saver. Thanks a lot!
    However at the moment of writing, the DeepL-Translations metabox only appears in posts or pages. Is it possible that it appears as well in products (woocommerce) or even other custom post types?

    Thanks and kind regards,
    Remco

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

    (@malaiac)

    CPT support was planned a few months ago ; working on an update of the Pro version, to be published on https://solutions.fluenx.com/ . CPT support could make its way to the free version

    rkramer

    (@rkramer)

    Thanks Malaiac.
    In the meantime, I added support for woocommerce products.

    For other people reading this, who need woocommerce support:

    The following will add support for woocommerce products. Of course this will be overwritten after a plugin update but I had to find a quick solution.

    In the file classes/deepl-metabox.php

    In class WPDeepL_Metabox {

    Instead of:
    'screen' => array('post', 'page'),

    change it to:
    'screen' => array('post', 'page', 'product'),

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Metabox doesn’t appear in woocommerce products’ is closed to new replies.