- Posts: 13
- Thank you received: 0
Product layout
- paulkemp39
-
Topic Author
- Offline
Less
More
14 years 1 month ago #61008
by paulkemp39
Product layout was created by paulkemp39
Hi,
I have been playing around with the product layout on my test site modifying the css file but need a little help.
79.170.44.86/billbotest.co.uk/index.php/...ng-bear-with-t-shirt
1 - I have manged to move the small thumb images to the right of main image and resize but is there a way to move the description text to the right side also.
2 - Is there away to have the options/characteristics above the pricing.
Many Thanks
Paul Kemp
I have been playing around with the product layout on my test site modifying the css file but need a little help.
79.170.44.86/billbotest.co.uk/index.php/...ng-bear-with-t-shirt
1 - I have manged to move the small thumb images to the right of main image and resize but is there a way to move the description text to the right side also.
2 - Is there away to have the options/characteristics above the pricing.
Many Thanks
Paul Kemp
Please Log in or Create an account to join the conversation.
14 years 1 month ago #61063
by nicolas
Replied by nicolas on topic Re: Product layout
Hi,
You won't be able to do that with CSS.
You will need to edit the file "show_default" via the menu Display->Views and move the different blocks of code around like you want.
You won't be able to do that with CSS.
You will need to edit the file "show_default" via the menu Display->Views and move the different blocks of code around like you want.
Please Log in or Create an account to join the conversation.
- paulkemp39
-
Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
14 years 1 month ago #61188
by paulkemp39
Replied by paulkemp39 on topic Re: Product layout
Hi Nicolas,
Can you give me an idea of how to do that. I can open the file for editing but don't know what blocks of code to change or how to change.
many thanks
paul.
Can you give me an idea of how to do that. I can open the file for editing but don't know what blocks of code to change or how to change.
many thanks
paul.
Please Log in or Create an account to join the conversation.
14 years 1 month ago #61275
by nicolas
Replied by nicolas on topic Re: Product layout
Hi,
Well, you can just read the code:
that's the piece for the description.
You can move it after
if you want to have it on the right.
The piece for characteristics is
and the piece for the price is
Well, you can just read the code:
Code:
<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>
You can move it after
Code:
<div id="hikashop_product_right_part" class="hikashop_product_right_part">
The piece for characteristics is
Code:
<?php
$this->setLayout('show_block_characteristic');
echo $this->loadTemplate();
?>
Code:
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<?php
//LAYOUT listing_price
if ($this->params->get('show_price')) {
$this->row = & $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
?>
</span>
Please Log in or Create an account to join the conversation.
- paulkemp39
-
Topic Author
- Offline
Less
More
- Posts: 13
- Thank you received: 0
14 years 5 days ago #67551
by paulkemp39
Replied by paulkemp39 on topic Re: Product layout
hi Nicolas,
Sorry its been a long time since I was able to get back to working on the site.
I have managed to sort it now with your help.
thanks again.
Sorry its been a long time since I was able to get back to working on the site.
I have managed to sort it now with your help.
thanks again.
Please Log in or Create an account to join the conversation.
13 years 2 months ago #115934
by gromo
Replied by gromo on topic Re: Product layout
Hi I have tried the method described above and moved the code for product description to the place you indicated yet nothing changed on the front end?
Please Log in or Create an account to join the conversation.
13 years 2 months ago #116118
by nicolas
Replied by nicolas on topic Re: Product layout
Hi,
It either means that you didn't edit the file for the correct template but another one, or that you changed the "layout on product page" option of the configuration and used another layout than the "default" one.
It either means that you didn't edit the file for the correct template but another one, or that you changed the "layout on product page" option of the configuration and used another layout than the "default" one.
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds