• Resolved joycegrace

    (@joycegrace)


    Hello,
    Using V 9.4.7 of your plugin. All plugins, themes and WP core are updated.

    We are getting the error of “Invalid value for category [sale price]” on our product bundles where all products are optional and item grouping is set to “grouped”. See settings in WP backend here: https://cloudup.com/cPuoxSX2WKK

    It seems this error is popping up not because of the regular price, but the sale price is populating as “0.”

    However, no products in the bundles are using the sale price (i.e. no discount %), nor is the parent product price settings indicating a sale. All are “priced individually.”

    Here is a screenshot of what shows in Google Merchant Centre: https://cloudup.com/c95l4y6LGLS (price is filled in, sale price says “0”).

    Here is a screenshot of what Google wants us to do with this error: https://cloudup.com/cP1YjX70Ihh

    This is the plugin we use to create the bundles: https://woocommerce.com/products/product-bundles/

    This is not happening for product bundles where “Item grouping” is “Flat” and where products in the bundle are NOT optional.

    This is also not happening on other non-bundle products, where no sale price has been entered.

    Can you please help us solve this?

    Thank you.

    • This topic was modified 3 years, 9 months ago by joycegrace.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Joyce,

    We have tried to replicate the issue at hand. We created a bundled product with the same settings as you shared in your screenshot. The bundled product is not on sale and nor are any of the two products we added to the bundle. Yet we do not get a sale price of 0 in the feed.

    This our our bundled products settings:
    https://www.dropbox.com/s/ieexzgsh1678v8f/bundled.png?dl=0

    Are yours any different?

    Thread Starter joycegrace

    (@joycegrace)

    Hello, are you using the latest version of the plugin? Just making sure because they got rid of the need for min/max quantities to be a separate plugin and have added more settings that relate to variations. I don’t see those in your screenshots, but they do show on my screen. Though, this has been happening before.

    Nonetheless, my settings are a little different: https://cloudup.com/cKOvz3g_tjv

    I have max bundle set at 1, and “priced individually” is checked (mentioned earlier).

    And just so you can see, we have no price or sale price entered at a product level: https://cloudup.com/cvZ-59dtYzL

    Thank you for your help.

    Hi Joyce,

    Thanks for the extra details. I believe the issue at hand is caused by the fact that your individual products have no prices set at all. This is a uncommon situation.

    We could not reproduce the issue at hand exactly. However in our case it did add a sale price bigger then 0 when there was no sale price set at all so we did push out a new release of the plugin (version 9.4.9) that solved the issue we were experiencing. Changes are that it also solves the issue you have with the sale price.

    Can you update the plugin and give it a try?

    Thread Starter joycegrace

    (@joycegrace)

    Our products do have prices. They are pulled into the product bundle, and then a user has to select the product they want to add to create the bundle. Prices don’t show on the back end of the product bundle creation screen.

    The error is gone but the change you made seemed to have triggered a warning. It is now displaying the wrong prices in the feed for the bundles with different settings.

    So now there is a new issue, which is not the same as the issue I just posted about. Would you like me to start a new thread to explain this? Or should I continue here?

    Thank you for your help.

    I was referring to your quote here where you mentioned that your individual products don’t have prices set (which is unusual):

    And just so you can see, we have no price or sale price entered at a product level: https://cloudup.com/cvZ-59dtYzL

    Please elaborate on the wrong price you are experiencing now so we can have a look at it.

    Thread Starter joycegrace

    (@joycegrace)

    Correct, but I said, “at a product level.” And if you look at the screenshot, you can see that these are standard price settings for a WooCommerce product, and not price settings for individual products in a product bundle. It is a different area of settings. This was so you could be sure we didn’t set a sale price anywhere else that would override or affect the bundle sale price, which was showing up in your feed.

    There is no reason to assume that individual products in a product bundle don’t have a price set at all. That’s not something controlled in the product bundle settings, which you can see from additional screenshots. It can only take a discount %, that’s all.

    Is that clearer?

    Regarding the wrong price being shown up, this might have been an error not to do with your plugin (not sure… it could have been from product bundles, but not something I did). I noticed that the price and sale price were being automatically populated at the product level. But this happened only after I submitted this request, re-submitted the feed to Google, updated your plugin, etc.

    The regular price was being used as a ‘base’ price and adding up the numbers wrong. Still the numbers and calculations made no sense. However, this warning seems to have gone away for now. If it comes up again I’ll be in touch.

    • This reply was modified 3 years, 9 months ago by joycegrace.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Invalid value for category [sale price] on product bundles’ is closed to new replies.