Hello everyone,
I have created a new description field to store a small phrase and it shows ok in category list and product data (actually i had to make a small hack in fn.catalog.php to display it) but it does not display in blocks.
Any idea where to start looking for this?
I found it at last
I had to alter fn.catalog.php around line 2764
<br />
// -- JOINS --<br />
if (in_array('product_name', $params['extend'])) {<br />
$fields[] = 'descr1.product as product';<br />
```<br />
<br />
I thought as the product name is everywhere so it'll be my custom field so i just add an extra line like<br />
```php
<br />
$fields[] = 'descr1.title2 as custom_title';<br />
Hi
Sounds nice your idea.
Want to share more on that, as it goes on the first part of your post?
Fotis
Also an image would be nice…
[quote name='dvsgr' timestamp='1338493893' post='137772']
Hi
Sounds nice your idea.
Want to share more on that, as it goes on the first part of your post?
Fotis
Also an image would be nice…
[/quote]
Hi,
The solution i posted covers the first part also, i guess you refer at the small hack i mentioned.
I need to mention also that the line i said is for the community edition.