osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Optimize categories box

This is a discussion on Optimize categories box within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Because the query to count the number of products can be resource intensive on a large site (see previous upload ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 06-11-2007, 02:21 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Optimize categories box

Because the query to count the number of products can be resource intensive on a large site (see previous upload by 133t who by the way uses one wrong query in test.php skewing the results to be less favourable for this contribution) I added instructions to add a cache for that. This cache can be toggled and deleted in the admin but be used independently from the regular osC cache feature (so you can cache only this and not the categories, manufacturers and also purchased box).

For the "Hide products from customer groups for SPPC" where the regular osC cache could not be used because it is not specific for customer groups I added support for the customer group specific caching (with the exception of the manufacturers box, that not contains customer group specific queries). Also added are some bugfixes for this contribution (version 2.0.1 and below) that will be added to that contribution later (version 2.0.2).

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Optimize categories box michael_s New osCommerce Contributions 0 06-08-2007 08:00 AM
Optimize categories box michael_s New osCommerce Contributions 0 05-26-2007 09:42 AM
How can I optimize my site for the best search engine result groggory osCMax v2 Customization/Mods 5 02-08-2006 03:13 PM
Want to show categories AND sub categories in index.php!! calle osCommerce 2.2 Modification Help 0 10-27-2004 11:51 AM
CATEGORIES BOX does not display categories list glk osCMax v1.7 Discussion 2 03-05-2004 11:09 AM


All times are GMT -8. The time now is 09:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax