Unable to edit product with variations to change shipping price.

I am not able to edit a variation, when I click the "More info" button, the page just refreshes.

  • Kasia Swiderska

    Hello Robert,

    Editing variations in product is not working, because of this part of code you have in child theme (functions.php):

    function child_dequeue_script() {
        wp_dequeue_script( 'mp-cart' );
        wp_dequeue_script( 'colorbox' );
    add_action( 'wp_print_scripts', 'child_dequeue_script', 100 );

    wp_dequeue_script( 'colorbox' ); - removed script that is handling popup for editing variation. I'm not sure why that code is there in first place, so I'm going to revert it to previous state, but if you know it can be removed, then you can edit that file and comment

    // wp_dequeue_script( 'colorbox' );

    or delete that line so editing variations will start working again.

    kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.