Skip to main content

In shop view, cant see Product Descriptions

More
12 years 10 months ago #134227 by nmouse
www dot a virus dot dk
Essential: 2.2.2
Joomla 2.5.16
php - 533
FF 23.01
Hi. I cant get the Descriptions from the Products in the shop view?
I have tried some changes, but the descriptions is not showing ?
What can i try ?
Regards.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134236 by Mohamed Thelji
Hi,
Can you show me where can't you exactly show your product description ?

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134251 by nmouse
Hi
Have tried to take a prn-scrn.
I want that description in my shop.

Regards

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134292 by Mohamed Thelji
The product description should automatically showing so the problem can be coming from :
- a modification that you have made through the "show_default" file of the "product" view of your front-end template via "Hikashop->Display->View"
- a CSS code which is hiding your product description.

A link to your product page will probably help me to understand your problem.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134304 by nmouse
Hi
Please remove the code between.
www dot avirus dot dk slash butik dot html

Hope you can see it, the description missing :(

regards.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134325 by Xavier
Hi,

You have to edit the view "product / listing_table" and replace $this->row->product_name by $this->row->product_description.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago - 12 years 10 months ago #134355 by nmouse
Gus, its hard to change for this change ?

Maybe a little mark on the Product page, to sent product_description in view, that could be nice. - the same in the file that shod be Downloaded(file) too, the same there, the little check mark would be nice.
Why this hack ?

But I have now tried it, and there is 3 places the string is : "$this->row->product_name" is it all 3 places it shod changed?

Hmm shoud i do an override ?


Regards.
Last edit: 12 years 10 months ago by nmouse.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134404 by Mohamed Thelji
Hi,

Another solution can be to add this code :
Code:
<th class="hikashop_product_image title" align="center"> <?php echo JText::_( 'HIKA_DESCRIPTION' );?> </th>
after these lines :
Code:
<th class="hikashop_product_image title" align="center"> <?php echo JText::_( 'HIKA_IMAGE' );?> </th>
And this code :
Code:
<td class="hikashop_product_description_row"> <span class="hikashop_product_description"> <?php echo $this->row->product_description; ?> </span> </td>
After these lines :
Code:
<td class="hikashop_product_name_row"> <span class="hikashop_product_name"> <?php if($this->params->get('link_to_product_page',1)){ ?> <a href="<?php echo $link;?>"> <?php } echo $this->row->product_name; if($this->params->get('link_to_product_page',1)){ ?> </a> <?php } ?> </span> <?php if(!empty($this->row->extraData->afterProductName)) { echo implode("\r\n",$this->row->extraData->afterProductName); } ?> </td>

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134406 by nmouse
Hi

What´s the difference ?
- witch is the best way to do it ?

Shod i do a override ?

Regards.

Please Log in or Create an account to join the conversation.

More
12 years 10 months ago #134492 by nicolas
Hi,

What mohamed proposed is to add a new column while xavier proposed to replace the product name column by a description column.
Both ways are ok, it depends what you want.
If you do the modification via Display->Views, it is already saved as an override.

Please Log in or Create an account to join the conversation.

Time to create page: 0.264 seconds
Powered by Kunena Forum