Title: Adding additional schema markup
Last modified: February 28, 2021

---

# Adding additional schema markup

 *  Resolved [stevert](https://wordpress.org/support/users/stevert/)
 * (@stevert)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/adding-additional-schema-markup/)
 * I am adding a custom field to the products’ schema with this
 *     ```
       add_filter( 'woocommerce_structured_data_product', function( $markup, $product ) {
           if( is_product() ) {
               $markup['brand'] = get_post_meta(get_the_ID(), 'brand', TRUE);
           }
       ```
   
 * but I woul like to also add the products’s image and decription to the schema(
   for Google Merchant Center requirements), how can I add this to my code?

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

 *  Plugin Support [Ross V. a11n](https://wordpress.org/support/users/rossviviano/)
 * (@rossviviano)
 * Automattic Happiness Engineer
 * [5 years, 2 months ago](https://wordpress.org/support/topic/adding-additional-schema-markup/#post-14116808)
 * Hi there,
 * Great question. This article goes over how to add that:
 * [https://kinsta.com/blog/schema-markup-wordpress](https://kinsta.com/blog/schema-markup-wordpress)
 * Best,
 * Ross
 *  Thread Starter [stevert](https://wordpress.org/support/users/stevert/)
 * (@stevert)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/adding-additional-schema-markup/#post-14128440)
 * [@rossviviano](https://wordpress.org/support/users/rossviviano/) okay, got my
   filter to work. However, Woocommerce seems to be sending the product price without
   taxes to Google, because in Merchant Center the prices of the products are without
   tax. We are entering product prices without tax in backend, but display them 
   WITH tax in frontend, and also need to have Google display them including tax.
   How can I change the price in the chema mark up to show price including tax?
 *  Plugin Support [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * (@drwpcom)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-additional-schema-markup/#post-14315727)
 * Hi [@stevert](https://wordpress.org/support/users/stevert/). Sorry that we missed
   your last response.
 * There is a discussion [here](https://github.com/woocommerce/woocommerce/issues/18852#issuecomment-747456144)
   about changing price in the schema markup to include tax in Google Merchant Center.
 * If that doesn’t help or you need assistance with the code, I recommend one of
   the following places for help:
    - The `#developers` channel in the WooCommerce Community Slack: [https://woocommerce.com/community-slack/](https://woocommerce.com/community-slack/)
    - The WooCommerce FB group: [https://www.facebook.com/groups/advanced.woocommerce/](https://www.facebook.com/groups/advanced.woocommerce/)
 * `

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

The topic ‘Adding additional schema markup’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Damianne P (a11n)](https://wordpress.org/support/users/drwpcom/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/adding-additional-schema-markup/#post-14315727)
 * Status: resolved