Support » Plugin: WooCommerce » Weird bug, x becomes &.times;

  • Resolved odedta



    I am using OceanWP + Elementor Pro along with Woocommerce and WC Variation Swatches.
    In the additional details section of the product page there is the field Measurements of the product., it appears as (Width x Height).

    On click on one of the variations turns the x into ×.
    Since this happens only when the variation is clicked I assume it’s plugin related.

    This is how it looks:

    Lastly, I have tried to disable all plugins but Woocommerce and change the theme and this still happens, I also tried to post it on WC Variation Swatches thread and they said it’s a bug in Woocommerce.

    Please advise. Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Melinda


    Automattic Happiness Engineer

    Hi there!

    I took a look at the page at and I was unable to replicate it, however the site was displaying right to left (not left to right as in your video) so perhaps the translation/settings that you are using to control language are having an impact. I selected all color variations and all of the separators remained X the entire time.Perhaps you were able to solve this already?

    Thanks for replying Melinda,

    I accidentally gave you a link to the Hebrew website, here is the link I wanted to paste before:

    Also, it had a script running in order to prevent this bug which i commented out, please view the link I attached.

    By the way, this is what I wrote to stop that bug:

    $( '.variable-item' ).on('click', function() { // Fix Woocommerce bug.
        document.body.innerHTML = document.body.innerHTML.replace( '×', 'x' );
    } );
    • This reply was modified 10 months, 2 weeks ago by  odedta.
    Plugin Support Melinda


    Automattic Happiness Engineer

    Thanks. Just to confirm, you say this is happening even when you disable the WC Variation Swatches plugin, is that correct? It happens with ONLY WooCommerce active? (if you use just standard variation dropdown for the colors?).

    Yes, this happens even if I use TwentySeventeen with Woocommerce only.

    • This reply was modified 10 months, 2 weeks ago by  odedta.
    Plugin Support ryanr14


    Hi @odedta,

    I used your above link and tried to recreate the display issue, but wasn’t able to get the same results. See my video here.

    Am I doing something wrong?

    No, you are absolutely right, for some reason this is not happening again and just to make sure I installed a fresh copy of WooCommerce on a fresh WP installation, it doesn’t work.

    Thank you for following up and trying to help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Weird bug, x becomes &.times;’ is closed to new replies.