Title: Invalid or missing required attribute: store code
Last modified: April 14, 2022

---

# Invalid or missing required attribute: store code

 *  Resolved [whatsdd](https://wordpress.org/support/users/whatsdd/)
 * (@whatsdd)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/)
 * Hi,
 * I have created a google shopping feed with attributes with a WordPress Plugins
   and it works. However, in the local inventory feed google asked for store code.
   I have already added a store code to my GMB account. Now, I want to add the same
   good to my feed in attributes Plugins. I will be very thankful if someone could
   help me how to add the store code in my feed. Thank you and Best Regards,
 * Invalid or missing required attribute: store code
    Feed: [https://billigetesterpro.no/wp-content/uploads/woo-feed/google_local_inventory/xml/local-inventory.xml](https://billigetesterpro.no/wp-content/uploads/woo-feed/google_local_inventory/xml/local-inventory.xml)
   Best Regards, Amy
    -  This topic was modified 4 years, 1 month ago by [whatsdd](https://wordpress.org/support/users/whatsdd/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finvalid-or-missing-required-attribute-store-code-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [ansarybadal](https://wordpress.org/support/users/ansarybadal/)
 * (@ansarybadal)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15569983)
 * Hi [@whatsdd](https://wordpress.org/support/users/whatsdd/)
 * You need to add the store code here – [https://www.dropbox.com/s/bkb0yyji69f7le3/2022-04-19_13-05-33.png?dl=0](https://www.dropbox.com/s/bkb0yyji69f7le3/2022-04-19_13-05-33.png?dl=0)
 * Thank you,
 *  [salwaz](https://wordpress.org/support/users/salwaz/)
 * (@salwaz)
 * [4 years ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15664816)
 * Hi,
 * Please help, I have the same issue as above. I try to generate google local inventory
   feed. I already setup the store code in GMB and when generated feed I added store
   code in that place you showed on picture. After generating feed, store code doesn’t
   appear in xml file, it shows like this for every product:
 * <item>
    <g:store_code/> <g:id>10660</g:id> <g:quantity>12</g:quantity> <g:price
   >75.00 USD</g:price> <g:sale_price/> <g:sale_price_effective_date/> <g:availability
   >in stock</g:availability> <g:pickup_method/> <g:pickup_sla/> </item>`
 * I tried multiple times, istalled ctx feed version is the newest 4.4.60.
    Thank
   you in advance!
 *  Plugin Support [ansarybadal](https://wordpress.org/support/users/ansarybadal/)
 * (@ansarybadal)
 * [4 years ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15669292)
 * Hello [@salwaz](https://wordpress.org/support/users/salwaz/)
 * Can you please share a screenshot of the feed config? You can use [pasteboard](https://pasteboard.co/)
   or Dropbox to share the screenshot.
 * Thank you,
 *  [salwaz](https://wordpress.org/support/users/salwaz/)
 * (@salwaz)
 * [4 years ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15670366)
 * Hi,
 * First when I created the feed it was not adding store id, I tried to regenerate
   still didn’t work. Then I left it how it was and when it was automatically regenerated
   again next day it was already correct, in the xml file the items had store id
   as it should. So the bug is when someone creates the feed. Anyways, here is the
   link to the feed config:
 * [https://pasteboard.co/palso6Gd8pZS.jpg](https://pasteboard.co/palso6Gd8pZS.jpg)
 * Thank you anyways
 *  Plugin Support [ansarybadal](https://wordpress.org/support/users/ansarybadal/)
 * (@ansarybadal)
 * [4 years ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15672184)
 * Hi [@salwaz](https://wordpress.org/support/users/salwaz/)
 * The possible reason could be feed caching. If you are using any caching plugin
   then please, exclude the feed directory from the caching plugin.
    [Here](https://webappick.com/docs/ctx-feed/faqs/how-to-solve-feed-configuration-not-updating-issue/)
   you can find the instructions on how to exclude the plugins directory from a 
   few most popular caching plugins.
 * Thank you,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Invalid or missing required attribute: store code’ is closed to new replies.

 * ![](https://ps.w.org/webappick-product-feed-for-woocommerce/assets/icon-256x256.
   gif?rev=3346213)
 * [Product Feed Manager for WooCommerce – CTX Feed – Support 220+ Shopping & Social Channels](https://wordpress.org/plugins/webappick-product-feed-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/webappick-product-feed-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/reviews/)

## Tags

 * [attribute](https://wordpress.org/support/topic-tag/attribute/)
 * [invalid](https://wordpress.org/support/topic-tag/invalid/)
 * [missing](https://wordpress.org/support/topic-tag/missing/)

 * 5 replies
 * 3 participants
 * Last reply from: [ansarybadal](https://wordpress.org/support/users/ansarybadal/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/invalid-or-missing-required-attribute-store-code-3/#post-15672184)
 * Status: resolved