Support » Plugin: WooCommerce Product Feed for Google, Facebook, eBay and Many More » Invalid price in attribute: price

  • Resolved FGD

    (@creativetopia)


    I have created the feed and set the Regular Price. However, when I upload my XML feed to Google Merchant Center, I have several products that have a price as 0 (zero.)

    I checked the database and the price is there. Have you experienced this before?

    Any help would be appreciated

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ohidul Islam

    (@wahid0003)

    Hi,

    I think you did not set price for each variation. If the variation price is empty then the regular price for the variation will be 0.

    FGD

    (@creativetopia)

    Thanks for the response. I thought that might be the problem too but the products do not have any variations and are WooCommerce Simple Products.

    FGD

    (@creativetopia)

    Will do!

    FGD

    (@creativetopia)

    Hmm… that webappick.com/support website is not responding.

    FGD

    (@creativetopia)

    Hmmm… the link you sent is not responding.

    FGD

    (@creativetopia)

    Sorry for the double post… WordPress had some issues when I was trying to submit. It is working now and I just sent the request.

    Thanks!

    FGD

    (@creativetopia)

    The plugin author had marked this as resolved. The recommendation was to purchase the Pro version of the plugin. And it would have supplied a way to bypass this issue. However, we took another approach. Here is what caused the issue.

    My client duplicated a variable product then changed that new product to a simple product. That caused the variations to get a post_status of ‘trash’. I’m not sure why this plugin is scraping trashed variations?

    Anyhow…. So, we decided to clean the database using a SQL query ->

    UPDATE wp_posts   
    SET post_status = 'trash'   
    WHERE   
        post_type = 'product_variation' AND   
        post_status = 'publish' AND   
        post_parent = 'X' /* WHERE 'X' is the product ID */ 

    Hopefully this will help somebody with a similar issue and XML files and Google Merchant Center reporting products with a price of 0 zero.

    Cheers!

    (I suppose this solves it.)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Invalid price in attribute: price’ is closed to new replies.