Jump to content

[solved] move "add to cart" above "more info" on product page


Recommended Posts

I am not real familiar with that theme but take a look at the products.tpl file and check the order of things it may be possible to re-arrange for the look you want.

If things seem to be in the correct order then there is an issue with the css.

Link to comment
Share on other sites

Hi There,

 

The file you should be editing is locate under /themes/alysum/product.tpl

I don't exactly own any alysum template, but this should be a walk in the park.

locate these part of the code product.tpl : <form id="buy_block"

then move the entire form to your desired location (please note note this will also move the social icon sharing also)

If you want to leave the social icon, simple leave the

{if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if}

where it belong.

 

rKQjOj.jpg

  • Like 1
Link to comment
Share on other sites

Hi,

 

1. Cut everything from line 453 until 698

 {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)}
.
.
.
.
{/if}

 

2. Search for this words: <!-- description and features -->

Paste the cut code above those words

 

ALWAYS BACKUP before you edit anything!

 

here's the final file should be (or you can just upload this to your site :) )

https://www.dropbox.com/s/hifbvvi9ec620xs/product.tpl

 

should this help you, a like in this post won't hurt:)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...