• Resolved eduardojcasanova

    (@eduardojcasanova)


    Hello

    After installing translatepress “<span> – </span>” appear on products variations on woocommerce inventory, this is also the string sent to our payment gateway, so the client sees the purchased products like this:

    Product <span> – </span> product-variation

    I have try to fix this using the translatepress advanced options as sugested in other posts but it didnt work.

    Please let me know if there is any workarround for this.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey there,

    Thanks for reaching out to us!

    Please try using the following code to remove the span variation.

    Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db
    Add the following code to the end of it:

    add_action(‘init’, ‘trpc_remove_woo_wrap_variation’, 9999); function trpc_remove_woo_wrap_variation(){ remove_filter( ‘woocommerce_product_variation_title’, ‘trp_woo_wrap_variation’, 8, 4); }

    Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality.

    Let me know if this works for you!

    Regards

    Plugin Support Alex

    (@alexcozmoslabs)

    Since it’s has been more than 5 days since you received instructions about the opened topic, and you did not return with an update, we will mark this ticket as successfully resolved.
    If you have other questions regarding TranslatePress, we recommend you create another ticket.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘– appear on woocommerce inventory’ is closed to new replies.