StewartF Posted March 7, 2014 Share Posted March 7, 2014 Hi first post here and loving PS I am looking to change the layout of things on the individual product pages and just need some help and pointers. At the moment I am using the default template and it lays it out Image - short description - reference qty Add to cart Customers who bought this product also bought Other Products in same category Tabs - More Info/Data/Comments I am presuming they are controlled by hooks/blocks. I am particulary interested in shifting the last three around especially bringing last one to the top like this Tabs - More Info/Data/Comments Customers who bought this product also bought Other Products in same category Any help would be greatly appreciated Stew Link to comment Share on other sites More sharing options...
vekia Posted March 7, 2014 Share Posted March 7, 2014 not all of mentioned things are controlled by hooks. Image - short description - reference qty Add to cart Customers who bought this product also bought Other Products in same category Tabs - More Info/Data/Comments only not striked things are controlled by hooks. They are attached to "productFooter" in this case, if you want to move it at the end of the product page, you have to move the ProductFooter hook inside product.tpl file (located in your theme directory) move it to the very end of the file Link to comment Share on other sites More sharing options...
StewartF Posted March 7, 2014 Author Share Posted March 7, 2014 not all of mentioned things are controlled by hooks. Image - short description - reference qty Add to cart Customers who bought this product also bought Other Products in same category Tabs - More Info/Data/Comments only not striked things are controlled by hooks. They are attached to "productFooter" in this case, if you want to move it at the end of the product page, you have to move the ProductFooter hook inside product.tpl file (located in your theme directory) move it to the very end of the file Thanks for that advice great but got default theme template product.tpl open and only reference to footer in there at 501 in an if expression. Am I missing something. Also what are the hook names for those 2 unstriked items. Sorry for seeming so dumb Stew Link to comment Share on other sites More sharing options...
StewartF Posted March 16, 2014 Author Share Posted March 16, 2014 So is it this code that I move? {if isset($HOOK_PRODUCT_FOOTER) && $HOOK_PRODUCT_FOOTER}{$HOOK_PRODUCT_FOOTER}{/if} Link to comment Share on other sites More sharing options...
StewartF Posted March 16, 2014 Author Share Posted March 16, 2014 Tried it anyway so problem solved Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now