In shop view, cant see Product Descriptions

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 9 months ago #134227

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.

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #134236

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.

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 9 months ago #134251

Hi
Have tried to take a prn-scrn.
I want that description in my shop.

Regards

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #134292

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.

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 9 months ago #134304

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.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #134325

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.

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 9 months ago #134355

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: 11 years 9 months ago by nmouse.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 9 months ago #134404

Hi,

Another solution can be to add this code :

            <th class="hikashop_product_image title" align="center">
              <?php echo JText::_( 'HIKA_DESCRIPTION' );?>
            </th>
after these lines :
            <th class="hikashop_product_image title" align="center">
              <?php echo JText::_( 'HIKA_IMAGE' );?>
            </th>
And this code :
          <td class="hikashop_product_description_row">
            <span class="hikashop_product_description">
              <?php
                echo $this->row->product_description;
              ?>
            </span>            
          </td>
After these lines :
          <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.

  • Posts: 80
  • Thank you received: 1
  • Hikashop Essential
11 years 9 months ago #134406

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.

  • Posts: 84237
  • Thank you received: 13680
  • MODERATOR
11 years 9 months ago #134492

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.092 seconds
Powered by Kunena Forum