prestashop: add custom column on product page and display it on product.tpl
Steps: Create the table manually on the database. Declare the variable on …/classes/Product.php $sql = ‘select product_document.document_name, product_document.document_url from product left join product_document ON product.id_product = product_document.id_product WHERE product_document.id_product = ‘.$id_product.’ ; ‘; // echo $sql; $document_urls = […]