karmelsc Posted May 20, 2015 Share Posted May 20, 2015 http://karmelskrafts.com/all-fragrances/cactus-sea-salt-mango I've managed to hook the viewed products block to the bottom of the product detail page. I need assistance in changing the layout. I would like viewed products to display in a row across page horizontal instead of in a list vertical. v1.6.0.11 default theme Link to comment Share on other sites More sharing options...
NemoPS Posted May 20, 2015 Share Posted May 20, 2015 Try with this #viewed-products_block_left li {float:left} Link to comment Share on other sites More sharing options...
karmelsc Posted May 20, 2015 Author Share Posted May 20, 2015 Perfect!!!! Link to comment Share on other sites More sharing options...
karmelsc Posted May 20, 2015 Author Share Posted May 20, 2015 One last thing. Getting Notice: Undefined index: HOOK_BLOCK_VIEWED_PRODCTS in .../tools/smarty/sysplugins/smarty_internal_templatebase.php(157): eval()'d code on line 891 Notice: Trying to get property of a non object in: HOOK_BLOCK_VIEWED_PRODCTS in .../tools/smarty/sysplugins/smarty_internal_templatebase.php(157): eval()'d code on line 891 when viewing on mobile device Link to comment Share on other sites More sharing options...
NemoPS Posted May 22, 2015 Share Posted May 22, 2015 I don't recall having seen that hook as default, run a quick search throughout all the site for that string and see in which file it's sitting (you might better download the site, if you don't know where it is) Link to comment Share on other sites More sharing options...
karmelsc Posted May 23, 2015 Author Share Posted May 23, 2015 Found solution!!!! I needed to add to smarty array https://www.prestashop.com/forums/topic/442273-put-social-buttons-also-under-the-header-in-prestashop/?hl=%2Badd+%2Bhook+%2Bsmarty+%2Barray&do=findComment&comment=2052849 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