ken0306 Posted June 4, 2010 Posted June 4, 2010 Hi, I am trying to using products compare functions with my site, but I want categories be able to turn on or off from the admin-side. so, here is what I think it can make it easier. 1. create one extra copy of product_listing_compare.php (with compare function) from product_listing.php, and define in filenames.php. 2. create extra field in categories table call compare status. 3. under index.php page, and local the FILENAME_PRODUCT_LISTING and insert the if states in there. <?php if ( ******** ) { include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING_COMPARE); } else { include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); } ?> So, I am not a programmer, is somebody have any ideal how to completed the if statement. thank you (sorry about my english) ken
Recommended Posts
Archived
This topic is now archived and is closed to further replies.