Title: Custom fields inside quickview
Last modified: March 7, 2018

---

# Custom fields inside quickview

 *  Resolved [whipsterloaded](https://wordpress.org/support/users/whipsterloaded/)
 * (@whipsterloaded)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-inside-quickview/)
 * I’m looking to add a custom field to the product quickview window. I’ve found
   the quick-view-content template, but I’m not sure where the ‘ocean-woo-quick-
   view-product-content’ function is so I can add my function to include the custom
   field I’ve created.
 * Any ideas?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-fields-inside-quickview%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-inside-quickview/#post-10052641)
 * Hello, the quick view content is the same as the single product content, so you
   will need to add content to your single products, then it will be automatically
   added to the quick view.
 *  Thread Starter [whipsterloaded](https://wordpress.org/support/users/whipsterloaded/)
 * (@whipsterloaded)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-inside-quickview/#post-10053418)
 * Thanks for the quick response. I agree with you standard content will show, but
   my custom fields aren’t. I’m sure it’s my code…but not sure. In the link [https://staging1.sentinelsolar.com/product-types/inverters/grid-tie-inverter/](https://staging1.sentinelsolar.com/product-types/inverters/grid-tie-inverter/)
   you can see on the archive page, quick view shows title, excerpt and meta box
   inside. But if you go to the single product page for the item, you can see the
   custom fields for 2 download links – just below the metafields. These fall under
   the product entry summary with the standard fields, but for some reason they 
   aren’t included in the quickview…
 * This is my code for the fields:
 *     ```
       add_action( 'woocommerce_single_product_summary', 'downloads', 20);
   
   
       	function downloads() {
       	global $post;
   
       	$download1 = get_post_meta($post->ID, 'specsheet', true);
       	$download2 = get_post_meta($post->ID, 'manual', true);
   
       	   echo '<div class="download-block"><div class="download-link">'; echo '<a target="blank" href="' . $download1. '"><i class="fa fa-file-pdf-o"></i> Specsheet</a> <a target="blank" href="' . $download2. '"><i class="fa fa-file-pdf-o"></i>  Manual</a>'; echo'</div></div>';
       	}
       ```
   
 * Preferably I would injuect he fields above the metabox, but I can’t find the 
   hook/priority combo to do it…so It falls after the summary.
 * Thanks again for any help.
    -  This reply was modified 8 years, 2 months ago by [whipsterloaded](https://wordpress.org/support/users/whipsterloaded/).
      Reason: added link to demo page--
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-inside-quickview/#post-10057203)
 * Hi, I have some hooks for the next theme release, you will be able to do it more
   easily.

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

The topic ‘Custom fields inside quickview’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

## Tags

 * [quick+view](https://wordpress.org/support/topic-tag/quickview/)

 * 3 replies
 * 2 participants
 * Last reply from: [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/custom-fields-inside-quickview/#post-10057203)
 * Status: resolved