• I’m having some issues … it will not allow me to add prices or other data into the variations that I set for the global attribute. I add in a price and click save and go to look at it – and EVERYTHING is gone. On the storefront end – this is what it says for that product: Sorry, this product is unavailable. Please choose a different combination.

    So I have deactivated ALL plugins (not that I had a lot anyways) except Woocommerce (Version 2.6.9). Just updated all my themes and WordPress (WordPress 4.7) and activated the Twenty Fifteen theme.

    I go into my product, product data is set at variable product.

    A global attribute for length has been set with 2 options. About as simple as one can get.

    This global attribute has been added to the product.

    Go to the variations tab, and I open one of the variations. The checkbox for enabled is checked. I check the virtual checkbox – leaving the other two UNchecked.

    I put in a price of 2.00. I leave the sale price blank. Stock status says it is in stock.

    Shipping and tax class is same as parent. 2 words description. Again about as simple as you can get. Click “save changes” button. Screen refreshes. I reopen – NOTHING is saved.

    Rinse and repeat.

    HELP!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Could be DB caching – you host should be able to shed more light on that. Would also suggest enabling wp_debug in your wp-config.php file to see if any PHP errors are triggered when updating. Would also check the PHP MySQL version number your server is running on…

    Thread Starter nashoba

    (@nashoba)

    Thank you!!

    PHP Version: 5.6.17
    MySQL Version: 5.6.34

    Enabled debug, went to site and got this message:
    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/*/public_html/wp-includes/wp-db.php on line 1568

    and then when I try to log in I get the following:

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-includes/pluggable.php on line 893

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-includes/pluggable.php on line 894

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-includes/pluggable.php on line 895

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-includes/pluggable.php on line 1179

    It won’t allow me to see the site in order to move forward and try to see what errors the variations data saving would throw.

    Thread Starter nashoba

    (@nashoba)

    Ahhh – forgot to switch back the default twentysixteen theme.

    Guess I have something else to hammer out theme-wise.

    Anyways switched it to twentysixteen, enabled debug again, and still getting the 1568 line error, but went through trying to save the variations data, clicking the variations save button did nothing. Clicking the products publish button gave me these errors:

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/*/public_html/wp-includes/wp-db.php on line 1568

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/*/public_html/wp-includes/wp-db.php:1568) in /home/*/public_html/wp-includes/pluggable.php on line 1179

    Still header issues. Weird.

    Any ideas?

    Thread Starter nashoba

    (@nashoba)

    Is there anything I can or should do about those to see if they are the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product Variation Data Not Saving’ is closed to new replies.