How to display the price under the product image?

  • Posts: 19
  • Thank you received: 0
11 years 11 months ago #79868

Hello,

Could anyone tell me how to display the price under the image on the product page instead of to the right of it?

Thanks! Have a great weekend.

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

  • Posts: 26152
  • Thank you received: 4027
  • MODERATOR
11 years 11 months ago #79885

Hi,

If you want to move the price in the product page, you have to use CSS customization or to modify the "product | show_default" view in order to move the PHP code which display the price.

	<span id="hikashop_product_price_main" class="hikashop_product_price_main">
		<?php
		if ($this->params->get('show_price')) {
			$this->row = & $this->element;
			$this->setLayout('listing_price');
			echo $this->loadTemplate();
		}
		?>
	</span>

Best regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 19
  • Thank you received: 0
11 years 11 months ago #79891

Thanks Jerome! Could you elaborate just a bit please? What would I change in your code snippet to move the price to under the image?

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

  • Posts: 82818
  • Thank you received: 13360
  • MODERATOR
11 years 11 months ago #79961

That code is the code which displays the price as the id/class states: hikashop_product_price_main
You should move that code after the display of the price which is just before that code:
</div>

<div id="hikashop_product_right_part" class="hikashop_product_right_part span6">

The following user(s) said Thank You: jeff_heilman@comcast.net

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

Time to create page: 0.051 seconds
Powered by Kunena Forum