Skip to main content

Moving product parts around

More
14 years 3 months ago #54039 by ryand500
In the CSS, would anyone know how to swop these two around?

.hikashop_product_right_part{


.hikashop_product_bottom_part{

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

More
14 years 3 months ago #54054 by Mohamed Thelji
Hello,

I think that you'll just have to :

- Go to "Hikashop->Display->Views"
- Edit the "Schow_default" file of the product view of the template that you are using in the front-end
- Switch the code of the "<div id="hikashop_product_right_part" class="hikashop_product_right_part">" div whith the code of the "<div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part">" div

Hope this will help you a little.
The following user(s) said Thank You: ryand500

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

More
14 years 3 months ago #54482 by ryand500
Thanks that helped a lot but now i wish to move my add to cart button and price below the product image

This is what it looks like now



and this is what I would like it to look like



Got any ideas :)

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

More
14 years 3 months ago #54483 by Mohamed Thelji
Yes,

I think that you'll just have to :

- Edit the "Schow_default" file of the product view of the template that you are using in the front-end
- delete the code :
Code:
<div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"> <?php $this->row = & $this->element; $this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . '); } else { return false; }'; $this->setLayout('quantity'); echo $this->loadTemplate(); ?> </div>
- add the code :
Code:
<div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"> <?php $this->row = & $this->element; $form = ',\'hikashop_product_form\''; $this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . '); } else { return false; }'; $this->setLayout('quantity'); echo $this->loadTemplate(); ?> </div>
under the code
Code:
<?php $this->row = & $this->element; $this->setLayout('show_block_img'); echo $this->loadTemplate(); ?>

And it should works.
The following user(s) said Thank You: ryand500

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

Time to create page: 0.194 seconds
Powered by Kunena Forum