Thanks for your reply, the functionality I am trying to achieve is to provide customized Invoice for premium customers/products and regular one for rest of the products.
Thanks for providing the way to start, I think we are hard coding the product IDs here, can we improve something with that? or can we do something more dynamic like having the flexibility to choose template from drop down right from where we customize our product.
I’ll definitely try the code.
Thanks