Jump to content

How to access product_attribute reference in invoice.tpl


presta911

Recommended Posts

Hi Tuk,

 

Thanks for the response.

 

Yes, I know $order_detail.product_reference is available, I was looking to get the attribute reference.

 

Now the $order_detail.attribute_reference_id is available, I was looking for how to use the id to get the attribute_reference, which is not available from the order_details table.

 

Is there some function that I could likely call that will take the attribute_id and return the attribute reference?

 

Thanks again to for any suggestions!

Link to comment
Share on other sites

Thank you very much Tuk, you are absolutely correct.

 

What happened was I created an order BEFORE creating the combination attribute reference, so when I was looking at the invoice, only the product reference was being used.

 

But after you said the attribute reference is in the ps_order_detail table, I placed a new order and the attribute reference was now used instead of the product reference.

 

Thanks again for your assistance!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...