sergiopernasvelo Posted September 30, 2020 Share Posted September 30, 2020 Hi! 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, Sergio Link to comment Share on other sites More sharing options...
Kogkalidis Posted September 30, 2020 Share Posted September 30, 2020 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) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now