how to add to show review counts at the review module who is showed at the left or right column?
how to add to show review counts at the review module who is showed at the left or right column?
focus on the open source for online shoping website.
my site: best shop 24h.com
just figured out,and share on my blog,could I add my blog's link here?
if your home page was show featured products,do the following thing
1:/includes/modules/yourtemplate/featured_products.php
find “$list_box_contents[$row][$col] =”
and before it add:
$reviews_query = "select count(*) as count from " . TABLE_REVIEWS . " r, "
. TABLE_REVIEWS_DESCRIPTION . " rd
where r.products_id = '" . (int)$_GET['products_id'] . "'
and r.reviews_id = rd.reviews_id
and rd.languages_id = '" . (int)$_SESSION['languages_id'] . "'" .
$review_status;
$reviews = $db->Execute($reviews_query);
2:add $reviews->fields['count'] to where your wanna it to show
such as below "<div>' . $products_######## ."
focus on the open source for online shoping website.
my site: best shop 24h.com
Bookmarks