How to display the price under the product image?
- jeff_heilman@comcast.net
-
Topic Author
- Offline
Less
More
13 years 10 months ago #79868
by jeff_heilman@comcast.net
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.
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.
13 years 10 months ago #79885
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How to display the price under the product image?
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.
Best regards,
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.
Code:
<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.
Please Log in or Create an account to join the conversation.
- jeff_heilman@comcast.net
-
Topic Author
- Offline
13 years 10 months ago #79891
by jeff_heilman@comcast.net
Replied by jeff_heilman@comcast.net on topic How to display the price under the product image?
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.
13 years 10 months ago #79961
by nicolas
Replied by nicolas on topic How to display the price under the product image?
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">
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.218 seconds