Title: Shortcode usage of name variable
Last modified: August 12, 2018

---

# Shortcode usage of name variable

 *  Resolved [asneeuw](https://wordpress.org/support/users/asneeuw/)
 * (@asneeuw)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/shortcode-usage-of-name-variable/)
 * Hello Mr. Francis,
 * I am using your Magento – WordPress integration to obtain Magento products on
   the WordPress CMS pages and it works fine, but is there a way to have multiple
   strings for name in the shortcode
    For example [magento category=94 name=%sweater%
   limit=3]
 * Now I need a second name string called t-shirt
    If I use [magento category=94
   name=%sweater% name=%t-shirt% limit=3] only the t-shirts are coming up.
 * Already thanks for your reply
    Arnold Sneeuw From the Netherlands
    -  This topic was modified 7 years, 10 months ago by [asneeuw](https://wordpress.org/support/users/asneeuw/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-usage-of-name-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [santerref](https://wordpress.org/support/users/santerref/)
 * (@santerref)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/shortcode-usage-of-name-variable/#post-10593399)
 * Hi [@asneeuw](https://wordpress.org/support/users/asneeuw/),
 * Right now, it’s not possible because all the attributes are AND conditions !
 * What you are asking is an OR condition.
 * I am working on a new version of the plugin and I will surely take your request
   as a new feature request. 🙂
 * The update is coming soon, keep in touch.
 * santerref.
 *  Thread Starter [asneeuw](https://wordpress.org/support/users/asneeuw/)
 * (@asneeuw)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/shortcode-usage-of-name-variable/#post-10647039)
 * Hi Mr Francis,
 * Thanks for your reply, please keep me updated about new releases.
 * Rgds, Arnold

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

The topic ‘Shortcode usage of name variable’ is closed to new replies.

 * ![](https://ps.w.org/mag-products-integration/assets/icon-128x128.jpg?rev=2595753)
 * [WP Storefront - Magento 2 Product Showcase](https://wordpress.org/plugins/mag-products-integration/)
 * [Support Threads](https://wordpress.org/support/plugin/mag-products-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/mag-products-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mag-products-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mag-products-integration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [asneeuw](https://wordpress.org/support/users/asneeuw/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/shortcode-usage-of-name-variable/#post-10647039)
 * Status: resolved