Chen Log

陳洛格

Opencart 預設以圖片顯示

leave a comment »

Opencart Grid View by Default

Post 20 of 72
 
 
 

Opencart Grid View by Default

This is a tutorial or how to guide to help you make OpenCart 1.5 display the grid view by Default.

This is really really simple and easy to do, and why there’s no option in the OpenCart Admin Area to specify this is beyond me, however.
Open > your themes folder > template > common > footer.tpl

And then before </body>

Add this code:

<script type="text/javascript">$(document).ready(function() { display('grid'); });</script>

And that’s it – you’re done!

Enjoy :)

– See more at: http://www.itsadam.co.uk/opencart-grid-view-by-default/#sthash.ieu32O2h.dpuf


請參考:
http://www.itsadam.co.uk/opencart-grid-view-by-default/ 

Advertisements

Written by chenagw

2014/01/02 at 00:30

Posted in Uncategorized

Tagged with

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: