Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Vise produkt attributes i view.phtml og 2-column.phtml
 
BrianJoe87
Jr. Member
 
Total Posts:  2
Joined:  2012-10-12
 

Hej alle

Jeg er ved at blive skør.
Jeg kan sagtens bruge nedenstående kode, for at vise indholdet fra min custom attribute i view.phtml:

<?php 
$topbilled 
$_product->gettopbilled();
if(
$topbilled == ''{
echo '';
else {
echo "<div style=\"width:963pxheight:300pxbackground:orangemargin-bottom:10px;\">$topbilled</div>";
}
?>

Men når jeg bruger denne kode inde i 2-column-right.phtml vises selve produktet slet ikke.

Nogen der kan hjælpe mig lidt her?

Mvh.
Brian

 
Magento Community Magento Community
Magento Community
Magento Community
 
jeppejensen
Member
 
Avatar
Total Posts:  40
Joined:  2012-10-23
Værløse, Denmark
 

Hej Brian,
Jeg vil tro du kan finde løsningen her: http://www.commercegruppen.dk/magento-brugerdefinerede-produkter-i-frontend/
Hvis ikke, så skriv.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top