Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1645 | Revision 1647 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1645 Revision 1646
Zeile 61... Zeile 61...
61
                }
61
                }
62
                foreach ( $items as $item )
62
                foreach ( $items as $item )
63
                {
63
                {
64
                    $item->itemLink = "https://www." . env( 'shop' ) . "/" . $item->slug;
64
                    $item->itemLink = "https://www." . env( 'shop' ) . "/" . $item->slug;
65
                    $item->herstellerName = "";
65
                    $item->herstellerName = "";
-
 
66
                    $item->hersteller_kurzbezeichnung = $item->name;
66
                    if ( $item->manufacturer )
67
                    if ( $item->manufacturer )
67
                    {
68
                    {
68
                        $item->herstellerName = $item->manufacturer->name;
69
                        $item->herstellerName = $item->manufacturer->name;
-
 
70
                        $item->hersteller_kurzbezeichnung = $item->herstellerName . " " . $item->hersteller_kurzbezeichnung;
69
                    }
71
                    }
70
                    if ( !isset( $item->price[0] ) )
72
                    if ( !isset( $item->price[0] ) )
71
                    {
73
                    {
72
                        continue;
74
                        continue;
73
                    }
75
                    }