# Turn short snippet into button made with stacks?

**URL:** <https://forums.realmacsoftware.com/t/turn-short-snippet-into-button-made-with-stacks/875>\
**Category:** RapidWeaver Classic\
**Created:** [July 28, 2015, 9:26pm UTC](https://forums.realmacsoftware.com/t/turn-short-snippet-into-button-made-with-stacks/875 "2015-07-28T21:26:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirbull](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sirbull/32/352_2.png) [@sirbull](https://forums.realmacsoftware.com/u/sirbull)\
**Post date:** [July 28, 2015, 9:26pm UTC](https://forums.realmacsoftware.com/t/turn-short-snippet-into-button-made-with-stacks/875/1 "2015-07-28T21:26:25Z")

</div>

Hi! I’m trying to implement cartloom into a website biult with stacks. I got a snippet from cartloom, but don’t know how to intergrate the snippet into a button (made from stacks)… I’m using Joe Workman’s Links-stack together with the Jack stack to create a button that looks the way I want.

Here is the snippet I’m trying to make into a link that I can put somewhere.

```
<a class="cartloom-addtocart" href="https://sirbull.cartloom.com/cart/add/118391">Add to Cart</a>

```

How can I integrate this snippet into a stack? Now it is just text…

---

<div class="post-metadata">

**Author:** ![sirbull](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sirbull/32/352_2.png) [@sirbull](https://forums.realmacsoftware.com/u/sirbull)\
**Post date:** [July 28, 2015, 9:51pm UTC](https://forums.realmacsoftware.com/t/turn-short-snippet-into-button-made-with-stacks/875/2 "2015-07-28T21:51:13Z")

</div>

I found out a solution!  
I didn’t know I could add a class to a link in the default rapidweaver link box. Thanks google! 😉

Just type inn “class” under “name” and in this case “cartloom-addtocart” under “value” in the link popup box.

---

<div class="post-metadata">

**Author:** ![bitbumpy](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bitbumpy/32/5939_2.png) [@bitbumpy](https://forums.realmacsoftware.com/u/bitbumpy)\
**Post date:** [July 29, 2015, 2:08am UTC](https://forums.realmacsoftware.com/t/turn-short-snippet-into-button-made-with-stacks/875/3 "2015-07-29T02:08:30Z")

</div>

Or you could get the dedicated stack for that…? Download is at the bottom of the page.

[http://cartloom.com/help/topic/53/how-to-use-cartloom-3-stack](http://cartloom.com/help/topic/53/how-to-use-cartloom-3-stack)
