View Source ExCatalog.Pdf (ex_catalog v1.5.6)

pdf functions.

Link to this section Summary

Link to this section Functions

Link to this function

export(arg, limit \\ 500, currency \\ :USD, deleted \\ false)

View Source

Export all to files

examples

Examples

iex> categories_template = ExCatalog.Pdf.Template.Category
iex> products_template = ExCatalog.Pdf.Template.Product
iex> ExCatalog.export({categories_template,products_template})
Link to this function

export_categories(template, limit \\ 500, filename \\ "categories.csv", deleted \\ false)

View Source

Export categories to file

examples

Examples

iex> ExCatalog.export_categories(ExCatalog.Template.Category)
Link to this function

export_products(template, limit \\ 500, filename \\ "products.pdf", currency \\ :USD, deleted \\ false)

View Source

Export products to file

examples

Examples

iex> ExCatalog.export_products(ExCatalog.Template.Example)