Display Alias of Product also in product overview

02.11.2012 11:39
#1
Amokossi
Joomshopping forum user no avatar
Name: René Mörke
23.04.2012
Posts: 45
Quote
Display Alias of Product also in product overview

Hi

I would like to display also the alias in the product overview.

The file which seem to be the one to be edited is:
administrator/components/com_jshopping/views/product_list/tmpl/default.php

I added already a columd but can't fetch the alias. I'm not experienced in this. MAybe someone can halp?

See screenshot.

I added this after the title column:

<th>
<?php echo JHTML::_( 'grid.sort', _JSHOP_ALIAS, 'alias', $this->filter_order_Dir,
$this->filter_order); ?>
</th>


and this to show the alias name:


<td>
<b><a href = "index.php?option=com_jshopping&controller=products&task=edit&product_id=<?php print
$row->product_id?>"><?php echo $row->alias;?></a></b>
</td>


This is the whole file including my changes.
http://pastebin.com/nK6s8K3k

best regards
René
Display Alias of Product also in product overview


Joomla: 2.5.4
JoomShopping: 3.6.1

Letzte Änderung: 02.11.2012 11:47
 
05.11.2012 19:47
#2
Amokossi
Joomshopping forum user no avatar
Name: René Mörke
23.04.2012
Posts: 45
Quote
Aw: Display Alias of Product also in product overview

? Keiner ne Ideee?

Ich muss doch "nur" das "alias" aus der DB auslesen....

 
06.11.2012 12:57
#3
Amokossi
Joomshopping forum user no avatar
Name: René Mörke
23.04.2012
Posts: 45
Quote
Aw: Display Alias of Product also in product overview

Solved. Can be closed.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.