Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default show review counts at the review module of 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

  2. #2
    Join Date
    Apr 2012
    Location
    beijing
    Posts
    258
    Plugin Contributions
    1

    Default Re: show review counts at the review module of the left or right column?

    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

 

 

Similar Threads

  1. Replies: 5
    Last Post: 27 Jul 2015, 08:13 AM
  2. Replies: 1
    Last Post: 1 Nov 2014, 04:56 PM
  3. make reviews' star show the average of the review stars?
    By win8win in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jun 2012, 08:32 AM
  4. Move the sidebox left to right and right to left(shrink the site)
    By navido in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Nov 2009, 08:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR