Title: Product Name Shortcode
Last modified: May 3, 2018

---

# Product Name Shortcode

 *  Resolved [amandarmnd](https://wordpress.org/support/users/amandarmnd/)
 * (@amandarmnd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/product-name-shortcode/)
 * Is it possible to use the “submit review” shortcode with the “product name” having
   a value of whatever product page you happen to be on? I know the UPCP product
   page can have a tab with customer reviews. However, I would like a tab with just
   the option of leaving a review so users don’t have to scroll past reviews to 
   get to the option to leave a review.
 * Thank you!

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

 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/product-name-shortcode/#post-10247164)
 * Hi Amanda,
 * The only way for you to do that would be to modify the plugin output in the Shortcodes.
   php file in the Functions folder, which we don’t recommend doing unless you’re
   comfortable. It uses PHP to pull the product name data, which is why you can’t
   just throw it into the shortcode anywhere. You’d have to place the following 
   line in the area of the plugin code that you want the submit review form to show:
 *     ```
       echo do_shortcode("[submit-review product_name='" . $Product->Item_Name . "']");
       ```
   
 *  Thread Starter [amandarmnd](https://wordpress.org/support/users/amandarmnd/)
 * (@amandarmnd)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/product-name-shortcode/#post-10252050)
 * Hello. Thanks!
 * I have very little understanding of PHP. Are you saying this goes in the Shortcodes.
   php file of the Product Catalog or Product Review plugin? Are there two modifications?
   One in the Shortcodes.php file of the Review plugin and one where I want the 
   submit review form to show (ie, a custom tab added to the product page). I apologize
   if this is more customization than you can help with through this means of communication.
   However, I’ll probably find someone with PHP experience to help.
 * Thanks for you help!
 *  Plugin Contributor [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * (@etoilewebdesign)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/product-name-shortcode/#post-10255271)
 * Hi Amanda,
 * The Shortcodes.php file we mentioned is in the Functions folder of the Product
   Catalog plugin.

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

The topic ‘Product Name Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-reviews/assets/icon-128x128.png?rev=1814372)
 * [Ultimate Reviews](https://wordpress.org/plugins/ultimate-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-reviews/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [etoilewebdesign](https://wordpress.org/support/users/etoilewebdesign/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/product-name-shortcode/#post-10255271)
 * Status: resolved