• Resolved davvarn

    (@davvarn)


    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/

    Thanks in advance!

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HasThemes

    (@hasthemes)

    Hi @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 .

    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

    If you have any questions, please let us know.

    Thanks!

    Plugin Author HasThemes

    (@hasthemes)

    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.