Home App Docs Blog Github

How to print the cart content in to a PDF?

Hello

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

Regards

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.

Hi,

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