Custom Product Block In Sales Pack

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dodom2
    Senior Member
    • Jan 2020
    • 198

    Custom Product Block In Sales Pack

    Hello Espo Peeps. I have the sales pack extension and inside of the pdf template feature there is a product block option. I would like to display just the title. Is there a "placeholder" I can use for this or would I have to edit the product block in the backend?
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    could you clarify for what entity do you try to fetch this field and how exactly this field is called in the Entity Manager?

    Comment

    • dodom2
      Senior Member
      • Jan 2020
      • 198

      #3
      Its the product entity in the sales pack. The only place holder for product is the "Product List".

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        > The only place holder for Product is the "Product List".
        Do you mean Item List?
        In a Sales Pack there are three predefined pdf templates. Investigate the quote template of how the Item List is represented inside of it. Open a code view. Using {{#each }} operator you can fetch a demanded field https://github.com/espocrm/documenta...#each-iterator
        Attached Files

        Comment

        Working...