mateforstyle Posted May 19, 2012 Share Posted May 19, 2012 Hi everyone, urgent help needed here, please advise! Iam using Presta version 1.4.7.3,. I need a solution to move the whole box that contain ;'More info" and "Data sheet" at the bottom, to the top right hand corner that you can see from the attached image. For more example, do view this at http://mateforstyle.com/product.php?id_product=43.. Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 (edited) Which attached image? cheers Helldog! Edited May 19, 2012 by helldog2004 (see edit history) Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 go to themes/your_theme/product.tpl find this code: <!-- description and features --> {if $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments} <div id="more_info_block" class="clear"> <ul id="more_info_tabs" class="idTabs idTabsShort"> {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} {if $attachments}<li><a id="more_info_tab_attachments" href="#idTab9">{l s='Download'}</a></li>{/if} {if isset($accessories) AND $accessories}<li><a href="#idTab4">{l s='Accessories'}</a></li>{/if} {$HOOK_PRODUCT_TAB} </ul> <div id="more_info_sheets" class="sheets align_justify"> {if $product->description} <!-- full description --> <div id="idTab1" class="rte">{$product->description}</div> {/if} {if $features} and place it on the position you want. I.E.: infront of this line: {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} This will plant it between the price and the buy button! Let me know if it worked! Cheers Helldog! Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 Oh sorry forgot to attach the image!! here it is! Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 use the code i just gave u Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 cool i'll try that, thanks! Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 Let me know if it worked out for ya! Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 Hi I have tried it, it works! however, it is very messy and it interferes with my previous position, I just want it below the price where shld i paste the code at? you can view it again at the same link Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 You might want to delete the "more details" button afterwards: Delete these lines: {if $product->description} <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> {/if} cheers Helldog Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 Okay to get it under the price place the above mentioned code ABOVE: <!-- availability --> Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 hi there I tried deleting it but the whole page went missing instead.. how may i solve it? I will add it back once you've viewed it Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 Try delete only these lines: <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 (edited) oo giverme a moment Edited May 19, 2012 by mateforstyle (see edit history) Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 Hi there just by deleting that line it makes the whole page disappear too ! Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 Okay it should work for sure.. Place back everyhing to normal, afterwards firstly delete the button by commencing out this line: {if $product->description} <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> {/if} Place it online, and clean your cache before watching the differences.. Now it should work. Cheers Helldog! Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 (edited) ok give me a moment Edited May 19, 2012 by mateforstyle (see edit history) Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 (edited) Place back everything to normal meaning from the start whereby I have not started this topic? or after the shift of Edited May 19, 2012 by mateforstyle (see edit history) Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 from start please much easier, check PM aswell please! Link to comment Share on other sites More sharing options...
mateforstyle Posted May 19, 2012 Author Share Posted May 19, 2012 what is PM Link to comment Share on other sites More sharing options...
helldog2004 Posted May 19, 2012 Share Posted May 19, 2012 personal message, the white envelop in the upper right corner Link to comment Share on other sites More sharing options...
Recommended Posts