Jump to content

Attributes in invoice pdf

Recommended Posts


How can I display the attributes of each product in an order in the PDF invoice? I can see I have a product_attribute_id field available in the $order_detail for each product, but how can I get the actual attribute values (text values, in this case) from this combination?

Thanks a lot,


Share this post

Link to post
Share on other sites

As you have id_product_attribute, you can get the respective records from attribute (and attribute_lang) via the product_attribute_combination table (select `id_attribute` FROM `'._DB_PREFIX_.'product_attribute_combination` where `id_product_attribute` = your_value)

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More