Dream Bikes Posted July 25, 2013 Share Posted July 25, 2013 Hi guys, how can I move "add to cart" and product combinations above "more info" "data sheet" etc? I'm running 1.5.2.0 version with Alysum template and now "add to cart" is below "more info" etc. and this isn't the right setup for me! Thanks! Link to comment Share on other sites More sharing options...
tdr170 Posted July 25, 2013 Share Posted July 25, 2013 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 More sharing options...
swsindonesia Posted July 25, 2013 Share Posted July 25, 2013 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. 1 Link to comment Share on other sites More sharing options...
vekia Posted July 25, 2013 Share Posted July 25, 2013 that's right, in this case it's necessary to move hook above the tabs if you will paste the product.tpl contents it will be much easier to say you what you have to change regards Link to comment Share on other sites More sharing options...
Dream Bikes Posted July 26, 2013 Author Share Posted July 26, 2013 (edited) Thanks guys Alysum product.tpl is too much long to post here! But you can see and download it here : https://www.dropbox.com/s/sud66a8mjgy4id7/product.tpl Edited July 26, 2013 by Dream Bikes (see edit history) Link to comment Share on other sites More sharing options...
swsindonesia Posted July 26, 2013 Share Posted July 26, 2013 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:) 1 Link to comment Share on other sites More sharing options...
Dream Bikes Posted July 27, 2013 Author Share Posted July 27, 2013 Awesome!!!! Thank you so much my friend! Link to comment Share on other sites More sharing options...
vekia Posted July 27, 2013 Share Posted July 27, 2013 hello thanks for confirmation im going to mark this thread as [solved] best regards Link to comment Share on other sites More sharing options...
Recommended Posts