Title: Shortcode? And something else
Last modified: November 20, 2021

---

# Shortcode? And something else

 *  Resolved [davvarn](https://wordpress.org/support/users/davvarn/)
 * (@davvarn)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/shortcode-and-something-else/)
 * Hi!
 * I saw that there is a shortcode-support in the plugin.
    (nr. 24 – Shortcode support)
 * How do I access that? And with that, can I list all of the colors from a swatch/
   whole attribute on a page?
    I have a page where customers can order 3D-printed
   parts, and where they can select a color from a swatch. And I would also love
   to have a page where all colors/swatch is listed, therefor I think shortcode 
   would fit.
 * Also I have two different swatches on one product. Where the user can select 
   a color from specific material.
 * Like one attribute called PETG colors and one attribute PLA colors.
    But the 
   user should only need to press one color from one attribute, not both to enable
   the “add to cart”-button.
 * I temporarily added one color called “No color” for both attributes that the 
   customer need to press in order to activate the “add to cart”.
    But I want to
   either be pre-selected as “No color” on both attributes or only need to press
   a color from one of them. Page as example; [https://db3d.nu/produkt/shotglashallare/](https://db3d.nu/produkt/shotglashallare/)
 * Thanks in advance!
 * Regards

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

 *  Plugin Author [HasThemes](https://wordpress.org/support/users/hasthemes/)
 * (@hasthemes)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/shortcode-and-something-else/#post-15090479)
 * Hi [@davvarn](https://wordpress.org/support/users/davvarn/)
 * Thanks for reaching out. Unfortunately, the shortcode doesn’t work everywhere.
   It works only with the product loop. Some theme authors remove the positions 
   from the product loop but you want to show the swatches on the product loop. 
   Here you will need to use the shortcode. Please see this screenshot [https://i.imgur.com/d05xRgZ.png](https://i.imgur.com/d05xRgZ.png).
 * You can pre-select any attribute/color by editing the product to show the “Add
   to cart” button by default. Please see this screenshot [https://i.imgur.com/oFqg2ud.png](https://i.imgur.com/oFqg2ud.png)
 * If you have any questions, please let us know.
 * Thanks!
 *  Plugin Author [HasThemes](https://wordpress.org/support/users/hasthemes/)
 * (@hasthemes)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/shortcode-and-something-else/#post-15116033)
 * Hi,
 * Since we haven’t heard back from you. We are closing the ticket for now. If you
   need further assistance please feel free to reopen this ticket at any time OR
   create a new ticket. 
 * Thanks!

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

The topic ‘Shortcode? And something else’ is closed to new replies.

 * ![](https://ps.w.org/swatchly/assets/icon-256x256.png?rev=2893238)
 * [Swatchly – Product Variation Swatches for WooCommerce](https://wordpress.org/plugins/swatchly/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/swatchly/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/swatchly/)
 * [Active Topics](https://wordpress.org/support/plugin/swatchly/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/swatchly/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/swatchly/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [HasThemes](https://wordpress.org/support/users/hasthemes/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/shortcode-and-something-else/#post-15116033)
 * Status: resolved