Hallo,
ich habe mir einen Code erstellt mit dem ich Produkte auf der Indexseite darstellen kann.
Dies funktioniert auch, leider bekomme ich jetzt aus dem "foot-Bereich" eine Fehlermeldung :(
"Fatal error: Call to a member function on a non-object in /www/htdocs/xxx/xxx/store/beta/includes/templates/default_template/templates/tpl_index_default.php on line 49"
Mir ist bekannt was "Call to a member function on a non-object" bedeutet, ich weiß nur nicht wie ich mit zen-cart mitteln dies beseitigen kann.
Hat jemand einen Tipp oder eine Lösung für mich?
Vielen Dank
Gruß neworker
ich habe mir einen Code erstellt mit dem ich Produkte auf der Indexseite darstellen kann.
Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="products_item withRightBorder" style=" ' . $rightBorder . ';"> <tr> <td width="118" height="141" valign="center" align="center"> [url="http://1.store.xxx.de/index.php?main_page=product_info&products_id='.$id1.'"][img]'.$image1.'[/img][/url] </td> <td valign="center"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td valign="top" class="name"> [url="http://1.store.xxx.de/index.php?main_page=product_info&products_id='.$id1.'"]'.$name1.'[/url] </td> </tr> <tr> <td class="price"> €'.$price1.' </td> </tr> <tr> <td class="shipping"> '.TEXT_TAX.' '.$list_box_contents[$row]['shipping'].TEXT_SHIPPING.'</a> </td> </tr> <tr> <td class="buttons"> [url="http://1.store.xxx.de/index.php?main_page=product_info&products_id='.$id1.'"][img]includes/templates/default_template/buttons/german/button_details.gif[/img][/url] [url="http://1.store.xxx.de/index.php?main_page=index&sort=4a&action=buy_now&products_id='.$id1.'"][img]includes/templates/default_template/buttons/german/button_buy_now.gif[/img][/url] </td> </tr> </table> </td> </tr> </table>
"Fatal error: Call to a member function on a non-object in /www/htdocs/xxx/xxx/store/beta/includes/templates/default_template/templates/tpl_index_default.php on line 49"
Mir ist bekannt was "Call to a member function on a non-object" bedeutet, ich weiß nur nicht wie ich mit zen-cart mitteln dies beseitigen kann.
Hat jemand einen Tipp oder eine Lösung für mich?
Vielen Dank
Gruß neworker
Kommentar