• Resolved benjaminlazarus

    (@benjaminlazarus)


    Hello,

    I’ve recently been trying to add prices for each attribute as I have several hundred different variations.

    I have set each attribute with a price (+5000 for example).

    I have followed all of the instructions and have a regular price set for each variation.

    I don’t believe I have any conflicting plugins.

    Kind Regards,
    Benjamin

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mark Tomlinson

    (@marktomlinson)

    I wasn’t able to see the page because you have it locked from public view right now. But I do have some ideas of what the cause may be.

    How many is several hundred? My experience has shown that WooCommerce can only handle about 500 variations before it dies. This is due to a server timeout (usually 30 seconds of processor time) that prevents scripts from running perpetually. You can check if that is the problem by setting WordPress to capture a debug.log and looking for line that looks similar to this,
    PHP Fatal error: Maximum execution time of 30 seconds exceeded in ...

    The other thing it could be is if you have any ‘Any’ variations. For instance, if a certain pattern of fabric for a shirt contains a markup, but there is a variation set to ‘Any pattern’, then WooCommerce will select that one regardless of what other variations exist. This is easy to confirm because the ‘Any’ variations usually are sorted near the front. Also, if this is the problem, you will see variations with the correct prices in the admin console, but they will not be selected when you visit the store.

    I hope this helped.

    Thread Starter benjaminlazarus

    (@benjaminlazarus)

    Thanks for the speedy response!

    I have about 250-400 variations however have been testing with about 5-10.

    Nothing is set to any attribute.

    Could there be any other problems or conflicting plugins? I do have one that bulk edits the prices.

    Kind Regards,
    Benjamin

    • This reply was modified 4 years, 6 months ago by benjaminlazarus.
    • This reply was modified 4 years, 6 months ago by benjaminlazarus. Reason: Added Details
    Thread Starter benjaminlazarus

    (@benjaminlazarus)

    It worked not to worry! Thank you for your help. I made a new product and tried the old attributes and it worked. Also might have been the woocommerce bulk edit plugin.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Good to hear!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Prices Not Updating’ is closed to new replies.