Description

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210144

-- HikaShop version -- : HikaShop [1507021146]
-- Error-message(debug-mod must be tuned on) -- : None

I need the description to the right of the picture. We have purchased and installed the Style - PINK. Can t find any help on changing the layout.

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

  • Posts: 2143
  • Thank you received: 747
10 years 1 month ago #210147

masweb wrote: Can t find any help on changing the layout.


Well, you can - in the documentation. If you want to change the layout, then this article is for you: www.hikashop.com/support/support/documen...-display.html#layout


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210149

Ok so I found the code but what do I change it to to show it on the top right?
<!-- PRODUCT DESCRIPTION -->
<div class="hikashop_product_desc" style="text-align:<?php echo $this->align; ?>">
<?php
echo preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->row->product_description);
?>
</div>
<!-- EO PRODUCT DESCRIPTION -->
</div>
</td>
</tr>
</table>
<?php if(!empty($this->row->extraData->bottom)) { echo implode("\r\n",$this->row->extraData->bottom); } ?>

Last edit: 10 years 1 month ago by masweb.

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

  • Posts: 2143
  • Thank you received: 747
10 years 1 month ago #210152

Hmm, I'm not so sure that you're looking at the right code...

Can you tell which product page layout you're using: default, reversed, or tabular? Or post a link to a product page?


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210153

Pretty sure it is set to default. I did not care for the tabular. If you look at the link you will see the description is down under the picture and I need it up to the right eaither above or below the add to cart. It will be critical for customers to see this.

69.16.219.106/~justenou/index.php/order

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

  • Posts: 2143
  • Thank you received: 747
10 years 1 month ago #210155

Ok, the page link helps.

You'll need to edit the view "product | show_default" for your frontend template.
In there please look for this block of lines, which is presently located around lines 191/195, inside a div with ID "hikashop_product_bottom_part":

<div id="hikashop_product_description_main" class="hikashop_product_description_main">
		<?php
		echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description));
		?>
	</div>

You want to try moving this block of lines so it's inserted right before this line (around line 74):
<span id="hikashop_product_price_main" class="hikashop_product_price_main">

Saving this and reloading the product page should display the product description in the right part and right above the price.
If you want it elsewhere, you'll need to insert the mentioned block elsewhere - just try to read the HTML and identify the code blocks.

EDIT:
Analog, if you want the description below the price but above the "Add to cart" part, insert it right after the </span> of the block with the ID "hikashop_product_price_main".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 1 month ago by lousyfool.
The following user(s) said Thank You: Jerome

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210159

Ok great got it, I just need to fix the add to cart as it moved to the bottom now.

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

  • Posts: 2143
  • Thank you received: 747
10 years 1 month ago #210162

Well, you can move code blocks around pretty freely, at least within a file, and if not interfering with the PHP bits around (then you should "take those along") or in between.

See the edit at the end of my previous post, I added that after I realised that you wanted the description above or below the add-to-cart (not above the price). Anyway, you got the idea! :)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210163

I do thank you so much for your help today! Much appreciated!

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210165

Sorry but another quick question... If you go back to the link and see where the add to cart is now on the bottom. If you add a product to the cart the quantity box is really wide and I think if I can reduce this it will put my cart back up on the right. Ideas? 69.16.219.106/~justenou/index.php/order?popup=1

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210168

Never mind I just moved the module, not ideal but it will work

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

  • Posts: 2143
  • Thank you received: 747
10 years 1 month ago #210171

Presently you're changing things around all the time, so one can only say so much here and now:

Style details such as the width of quantity input field in the cart can be adjusted with CSS. Again, the documentation is of at least general help - please keep in mind that no one here can look after anyone else's "web design".
As example, you can apply such CSS by following the documentation:

.hikashop_cart .hikashop_cart_module_product_quantity_value input {
  width: 32px;
}

I'm sure you'll then be able to take it from there for other elements.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 73
  • Thank you received: 1
10 years 1 month ago #210175

Not used to working with these plug ins. I am used to building within an e-commerce platform such as Bog Commerce. Thank you however for your help today.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum