May 25, 2019 07:31 AM
I want to build a pdf catalog of my products grouped by product type. Not seeing an easy solution to this and I missing something?
Terri
May 25, 2019 08:42 AM
Hi @Terri_Bose - yes, there is a way to do this. The trick is to have the product type as one table and the products as another. The type in the product table is linked to the product types table:
Now, if you create a page design on the Types table you can show the related products on this page:
Then just print all records to PDF.
Hope this helps
JB
May 25, 2019 09:34 AM
thanks that does help. Now how do I get this to look more like a catalog with a larger image and info underneath?
May 25, 2019 10:49 AM
I don’t have the answer to your image size question, but I am curious about how to prevent each group of product types from page-breaking onto a new page when creating a PDF with the page designer block.
I was able to recreate the example database that @JonathanBowen created above, but when I go to create a PDF file of my products grouped by type (using the page designer block), each grouped product type starts a new page.
I would love for the next grouped product type to appear directly underneath the previous grouped product type.
May 25, 2019 11:30 AM
Hi @Terri_Bose - you can’t change the layout too much in the “linked record” view I described above. However, if you do the layout the other way around, from the Products table, you’ve got much more flexibility on layout, image sizes, etc. Here’s what I did:
(note that the table is now “products”, not “types”)
The downside of this method is the products aren’t grouped by type (as in grouped under a type header), but if you sort your view appropriately, the print can be sorted by type.
JB
May 25, 2019 11:49 AM
Thanks, that might work.
May 25, 2019 10:52 PM
If printing from the grouped view (the product type table), is there any way to prevent each group from starting a brand new page?
May 26, 2019 03:40 AM
Hi @ScottWorld - you might be able to experiment with custom page size and achieve something that works, but I think this might depend upon a very specific product set, e.g. X products per type, for every type. In practice, I think this might be quite hard to achieve. Doing it the other way around (from the products table) and making the type more prominent might get you closer (although type will appear on every record).
JB
May 26, 2019 10:49 AM
Thanks, @JonathanBowen! :slightly_smiling_face:
Let’s say I kept it the way it is now — products grouped by “product type” (and printed from the “product type” table). Does Airtable only print out the first page of each grouped product type?
In other words, if there are so many products per group that the list of products needs to continue onto another page, will Airtable print the additional products on additional pages?
Will Airtable allow a group to extend onto multiple pages when printing?
May 28, 2019 08:04 AM
@JonathanBowen. I ended up using a pdf builder for wordpress for now but I still want to look into this further. I like the flexibility of page builder. I’m guessing that if I make a pdf the only only way to add links would be with adobe acrobat?