how can i move the description of a product

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #163018

-- Joomla version -- : 3.2

how can i move the description of a product?just look at the pic what i mean!
also i would like to know if i can make a framework and put inside the description. thats my last question. tnx. Hikashop is the best tool !

Attachments:

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

  • Posts: 84216
  • Thank you received: 13665
  • MODERATOR
11 years 1 month ago #163025

Hi,

If you want to move the produt description, you need to edit the file show_default via the menu Display>Views.
www.hikashop.com/forum/2-general-talk-ab...ove-add-to-cart.html

What do you mean by "make a framework" ? Could you give an example ?

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

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #163255

i mean to put the description in a box like the image

Attachments:

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

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #163257

Also couls you tell me what should i do in show_dafault code?could u help me at this?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 1 month ago #163260

Hello,
The solution will be to move these lines :

  <div id="hikashop_product_description_main" class="hikashop_product_description_main">
    <?php
    //DISPLAY the product description
    echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
    ?>
  </div>
Just after this line :
<div id="hikashop_product_right_part" class="hikashop_product_right_part span6">

And regarding the "Framework" the solution will probably be to use some CSS code : www.hikashop.com/support/documentation/1...the-display.html#css

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

  • Posts: 13
  • Thank you received: 0
11 years 1 month ago #163411

i moved the description right. tnx for this. i try to put a box to description with this code
div {
width: 220px;
padding: 10px;
border: 5px solid gray;
margin: 0px;
}

I put it on css front_end file. i found the description lines and i wrote this code. but nothing happened. :S

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #163413

Hi,

First of all it's better to apply the css property on the following class "hikashop_product_description_main".
Are you sure that you are using the default frontend css file from HikaShop ? In Configuration > Display > CSS.
If it is selected, so you can apply properties in that file, to force the use of your properties, you can use the "!important" word after each css properties, like:

.hikashop_product_description_main{
width: 220px !important;
padding: 10px !important;
border: 5px solid gray !important;
margin: 0px !important;
}

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

Time to create page: 0.095 seconds
Powered by Kunena Forum