Title: Access tabs using WooCommerce API
Last modified: April 23, 2022

---

# Access tabs using WooCommerce API

 *  Resolved [twenty50cards](https://wordpress.org/support/users/twenty50cards/)
 * (@twenty50cards)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/access-tabs-using-woocommerce-api/)
 * We love this plugin. We’re now developing an app and need to access the data 
   on each product page using the WC API. Is this possible?
 * Example: see the About the Artist tab that includes an image and text. Visible
   on the product page but not in the JSON.
 * Product Page: [https://2050.cards/shop/birthday/most-popular/paws-for-celebration/](https://2050.cards/shop/birthday/most-popular/paws-for-celebration/)
 * API: [https://2050.cards/wp-json/wc/store/products/10639](https://2050.cards/wp-json/wc/store/products/10639)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Faccess-tabs-using-woocommerce-api%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [jpowersdev](https://wordpress.org/support/users/jpowersdev/)
 * (@jpowersdev)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/access-tabs-using-woocommerce-api/#post-15588941)
 * Hi [@twenty50cards](https://wordpress.org/support/users/twenty50cards/),
 * What you want to do is possible. You’ll first register the meta field with the
   rest api. Here are the docs on `register_meta` – [https://developer.wordpress.org/reference/functions/register_meta/](https://developer.wordpress.org/reference/functions/register_meta/).
   Make sure to read the notes on the `show_in_rest` argument.
 * The meta key for our tabs is `yikes_woo_products_tabs`. The data is serialized,
   which may require additional work to convert to JSON. Something like this will
   probably work – [https://stackoverflow.com/a/48238347](https://stackoverflow.com/a/48238347)
 * You also need to make sure that the product post type has support for ‘custom-
   fields’ in your theme. I believe it does by default, but that’s something to 
   check if it doesn’t work.
 * Let me know if that helps,
    Jon
    -  This reply was modified 4 years, 1 month ago by [jpowersdev](https://wordpress.org/support/users/jpowersdev/).
      Reason: formatting
 *  Thread Starter [twenty50cards](https://wordpress.org/support/users/twenty50cards/)
 * (@twenty50cards)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/access-tabs-using-woocommerce-api/#post-15589548)
 * Hi Jon,
 * Thank you very much for your detailed response. We will give that a try.
 * Best wishes,
 * Benjy

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

The topic ‘Access tabs using WooCommerce API’ is closed to new replies.

 * ![](https://ps.w.org/yikes-inc-easy-custom-woocommerce-product-tabs/assets/icon-
   256x256.png?rev=1558461)
 * [Custom Product Tabs for WooCommerce](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yikes-inc-easy-custom-woocommerce-product-tabs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/)
 * [Active Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yikes-inc-easy-custom-woocommerce-product-tabs/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 2 replies
 * 2 participants
 * Last reply from: [twenty50cards](https://wordpress.org/support/users/twenty50cards/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/access-tabs-using-woocommerce-api/#post-15589548)
 * Status: resolved