# How to print the cart content in to a PDF?

**URL:** <https://forum.builder.io/t/how-to-print-the-cart-content-in-to-a-pdf/316>\
**Category:** Shopify\
**Tags:** feature, shopify\
**Created:** [December 8, 2020, 2:20am UTC](https://forum.builder.io/t/how-to-print-the-cart-content-in-to-a-pdf/316 "2020-12-08T02:20:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VickyConstruct](https://avatars.discourse-cdn.com/v4/letter/v/bb73d2/32.png) [@VickyConstruct](https://forum.builder.io/u/VickyConstruct)\
**Post date:** [December 8, 2020, 2:20am UTC](https://forum.builder.io/t/how-to-print-the-cart-content-in-to-a-pdf/316/1 "2020-12-08T02:20:16Z")

</div>

Hello

I wonder if is possible to add a button to the cart that let me print my cart content to pdf?

Regards

---

<div class="post-metadata">

**Author:** ![maddy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/maddy/32/11_2.png) [@maddy](https://forum.builder.io/u/maddy)\
**Post date:** [December 8, 2020, 7:07pm UTC](https://forum.builder.io/t/how-to-print-the-cart-content-in-to-a-pdf/316/2 "2020-12-08T19:07:17Z")

</div>

Hi @VickyConstruct! Thanks for reaching out.

Builder does not have the built in functionality of printing page content as pdf files, but a similar option would be adding a button to your cart page that allows users to print out the cart content. To do so:

1. Drag and drop a button block onto your cart page
2. Navigate to the “Data” tab and select “+ New action” under the element actions section. Select “click” as the event and add `window.print()` as the action.

Let us know if you have any questions.

---

<div class="post-metadata">

**Author:** ![VickyConstruct](https://avatars.discourse-cdn.com/v4/letter/v/bb73d2/32.png) [@VickyConstruct](https://forum.builder.io/u/VickyConstruct)\
**Post date:** [December 9, 2020, 2:21am UTC](https://forum.builder.io/t/how-to-print-the-cart-content-in-to-a-pdf/316/3 "2020-12-09T02:21:56Z")

</div>

Hi,

Thank you, one question is possible to print the cart as a pdf or csv?
