Jump to content

Edit History

Dissolved Fractals

Dissolved Fractals


typo

Hi,

I am trying to modify the invoice template that prints out pdf to know if the order has selected anything other than the default combination. If it is not the default combination, it will do some html/css modifications. Otherwise, leave as is. My two questions are:

1. What is the variable to check if the combination selected in the order is the default or not

2. The product title + the combination can be retrieved using { $order_detail.product_name }, how do I retrieve them separately so I can do modifications on the combination part alone?

 

Additional question: Since the only way for me to check the changes is viewing the pdf file, is there a way for me to view it in html format for quick testing?

 

help.png

Dissolved Fractals

Dissolved Fractals


Additional question

Hi,

I am trying to modify the invoice template that prints out pdf so that it will know if the order has selected whether the default combination or not. If it is not the default combination, it will do some html/css modifications, if it is then leave as is. My two questions are:

1. What is the variable to check if the combination selected in the order is the default or not

2. The product title + the combination can is retrieved using { $order_detail.product_name }, how do I retrieve them separately so I can do modifications on the combination part alone?

 

Additional question: Since the only way for me to check the changes is viewing the pdf file, is there a way for me to view it in html format for quick testing?

 

help.png

Dissolved Fractals

Dissolved Fractals

Hi,

I am trying to modify the invoice template that prints out pdf so that it will know if the order has selected whether the default combination or not. If it is not the default combination, it will do some html/css modifications, if it is then leave as is. My two questions are:

1. What is the variable to check if the combination selected in the order is the default or not

2. The product title + the combination can is retrieved using { $order_detail.product_name }, how do I retrieve them separately so I can do modifications on the combination part alone?

 

help.png

×
×
  • Create New...