Modified Shop 1.06 – Dies und das

Hauptmenü bearbeiten

/templates/bootstrap/source/inc/xtc_show_category.inc.php

 

Kategorieübersicht für templates/bootstrap/module/categorie_listing/categorie_listing.html

/includes/module/default.php

 

Template Dateien

html-templates:
/onlineshop/ templates/template_name/module/product_listing/product_listing.html

php files:
/onlineshop/includes/modules/product_listing.php

 

Artikel Listenansicht um Variablen erweitern

In /includes/module/default.php

$listing_sql um benötigte Variable erweitern (hier: manufacturers_name).

 

In /onlineshop/includes/classes/product.php:

Zuweisung der Variablen an Smarty Variable

function buildDataArray(&$array,$image=’thumbnail‘)

//products data array
$productData = array…

‚MANUFACTURERS_NAME‘ => isset($array[‚manufacturers_name‘]) ? $array[‚manufacturers_name‘] : ‚ ‚,

 

In /onlineshop/ templates/template_name/module/product_listing/product_listing.html

{$module_data.MANUFACTURERS_NAME}

 

Schreibe einen Kommentar