Lucif Posted June 6, 2018 Share Posted June 6, 2018 Ik zou graag in de BO, als ik een bestelling bekijk, niet alleen het product met daaronder het artikelnummer willen zien, maar ook graag de leverancier zelf. Wij gaan op vakantie deze maand en hebben veel leveranciers en alles staat per leverancier gescheiden. Zo is het een stuk makkelijker pakken als ze weten welke leverancier dit is. Hoe krijg ik dit voor elkaar? Ik had al even wat zitten puzzelen maar ik krijg het niet werkend: <a href="{$link->getAdminLink('AdminProducts')|escape:'html':'UTF-8'}&id_product={$product['product_id']|intval}&updateproduct&token={getAdminToken tab='AdminProducts'}"> <span class="productName">{$product['product_name']}</span><br /> {$product.product_reference}{l s='Reference number:'} {$product.product_reference}{/if} {if $product.product.manufacturer_name}{l s='Supplier reference:'} {$product.product.manufacturer_name}{/if} Link to comment Share on other sites More sharing options...
Adeko.nl Posted June 6, 2018 Share Posted June 6, 2018 Dag Lucif, Probeer deze code eens: {Manufacturer::getNameById($product['id_manufacturer'])} Succes! Link to comment Share on other sites More sharing options...
Lucif Posted June 6, 2018 Author Share Posted June 6, 2018 Hoi! Bedankt voor je reactie, het is opgelost! 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