Jump to content

mac2me

Members
  • Content count

    36
  • Joined

  • Last visited

Posts posted by mac2me


  1. Hi there, i'm trying to evaluate if Super Download Store (SDS) will do what I need it too? My store has 50 download products. If a customer orders example --- 5 products they are currently presented with 5 download links.

     

    Can SDS condense this into 1 downlink? Since customers can choose any product and order different products it would be impossible to statically 'group' all of my products. Can SDS dynamically group the downloadable products as they pertain to each customers order ???

     

    thanks

    liz


  2. The image below demonstrates how i'm trying to get the 'Stock = products_id ' to display ONLY for the products that customers have Previously Ordered. Instead the products_id is looping through and showing for all products after the previously ordered ones ( green checkmarks ). The red checkmarks in image below indicate where the stock = products_id should not be. You can also see how the same product_id is carried on for the next products too. :(

     

    example.jpg

     

     

    CODE IS HERE :

    ---------------

    // build thumb
    	$man_id = (tep_not_null($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : '');	
    	$link = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'] . ($man_id ? '&manufacturers_id='.$man_id : ($cPath && $cat_path ? '&cPath=' . $cPath : ''))) . '"' . ($man_id  || ($cat_path && $cat_path) ? ' rel="nofollow"' : '') . '>';
    ..........
    
    $orders_query = tep_db_query("select distinct op.products_id, op.orders_id, o.orders_id from " . TABLE_ORDERS_PRODUCTS . " op LEFT JOIN " .             TABLE_ORDERS . " o on op.orders_id = o.orders_id where op.products_id = '".(int)$products['products_id']."' and o.customers_id = '" . (int)$customer_id . "'");
    
    while ($orders = tep_db_fetch_array($orders_query)) {
    
    
    $cust = ($orders['products_id'] ? 'Stock = '.$products['products_id'] : 'Out of Stock').'<br />';
    
    }
           $udc = (tep_image_button($products['UDC_design'])) . '<br />';
    
    
    	$manfact = '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $products['manufacturers_id']) . '">' . $products['manufacturers_name'] . '</a><br>';
    	$display = $border;
    	for ($disp=0, $n=sizeof($column_list); $disp<$n; $disp++) {
           switch ($column_list[$disp]) {
             case 'PRODUCT_LIST_IMAGE':
    $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image.'</td></tr></table>';
               break;
    case 'PRODUCT_LIST_NAME':
               $display .= '<table summary="" width="100%" ><tr><td class="thumbcontent" height="'.PRODUCT_NAME_VSPACE.'" >'.$name.'</td></tr></table>';
               break;
    	      case 'PRODUCT_LIST_MODEL':
               $display .= $model;
               break;
                case 'PRODUCT_LIST_UDC':
               $display .= $udc;
               break;
               case 'PRODUCT_LIST_CUSTDESIGN':
                $display = $cust;
         break;
    		.........
    
        case 'PRODUCT_LIST_WEIGHT':
               $display .= $weight;
               break;	
    				}
    	}
    	$display .= $borderend . $button . $cust;
    			// thumb built	

     

    hopefully someone can help :) thanks.


  3. ok, really need the help of all you genuises.... I've got checkmarks --- tep_image_button('checkmark_sm.gif') --- which is almost working well. Problem is it shows on the first product, as it should, but then continues on every product there after. I need only a checkmark on the products from the sql query --- $orders['products_id'] --- Your help would be so greatly appreciated !! thanks liz.

     

    // build thumb

    $man_id = (tep_not_null($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : '');

    $link = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'] . ($man_id ? '&manufacturers_id='.$man_id : ($cPath && $cat_path ? '&cPath=' . $cPath : ''))) . '"' . ($man_id || ($cat_path && $cat_path) ? ' rel="nofollow"' : '') . '>';

    $image = $products['products_image'];

    $udc_d = $products['UDC_design'];

    $addimages = (file_exists(DIR_WS_CLASSES . 'displayimages.php')); // Additional Images Present

    if ($addimages) {

    $image_query = tep_db_query( "SELECT ai.medium_images, ai.images_description, ai.popup_images, p.products_image_med, p.products_image_description FROM " . TABLE_ADDITIONAL_IMAGES . " ai, " . TABLE_PRODUCTS . " p WHERE ai.products_id=p.products_id and ai.products_id = '".(int)$products['products_id']."'");

    $selected_image = tep_db_fetch_array($image_query);

    $image = ($selected_image['medium_images'] ? $selected_image['medium_images'] : ($selected_image['products_image_med'] ? $selected_image['products_image_med'] : ($selected_image['popup_images'] ? $selected_image['popup_images'] : $products['products_image'])));

    }

    $image = (!$grid && $column_list[0] == 'PRODUCT_LIST_IMAGE' ? '<br>' : '') . $link . tep_image(DIR_WS_IMAGES . $image, ($addimages ? (tep_not_null($selected_image['images_description']) ? $selected_image['images_description'] : (tep_not_null($selected_image['products_image_description']) ? $selected_image['products_image_description'] : $products['products_name'])) : $products['products_name']), PRODUCT_IMAGE_WIDTH, '') . '</a>' . '<br>';

    $buypic = (LISTING_BUTTON == 'buy now' ? 'button_in_cart.gif' : 'button_buy_now.gif');

    $button = (LISTING_BUTTON != 'none' && PRODUCT_LIST_BUY_NOW ? (LISTING_BUTTON == 'buy now & details' ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW, 'class="thm_buy_now"') . '</a> <span class="buy_now">|</span> ' . $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a><br><br>' : (strstr(LISTING_BUTTON, 'buy now') ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW) . '</a><br><br>' : '<br>' . $link . tep_image_button('button_details.gif', IMAGE_BUTTON_DETAILS) . '</a><br><br>' )) : '  <span class="buy_now">|</span> ' . $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a><br><br>' );

    if ($products['products_price'] == 0) $button = (strstr(LISTING_BUTTON, 'details') ? '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a> <br>' : '');

    $name = $link . '<b>' . $products['products_name'] . '</b>' . '</a><br>'. ($products['short_desc'] && (PRODUCT_SHORT_DESC == 'true') ? '<br>' . $products['short_desc'] . '<br>' : '');

    $price = (function_exists(display_short_price)) ? $currencies->display_short_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) : $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id']));

    if (tep_not_null($products['specials_new_products_price'])) {

    $price = '<s>' . $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($products['specials_new_products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</span>';

    }

    if (function_exists(tep_get_att_price)) $price .= (tep_get_att_price($products['products_id']) > 0 ? '+' : '') ;

    if (isset($products['products_quantity']) && !$products['products_quantity']) $button = (strstr(LISTING_BUTTON, 'details') ? '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a> <br>' : '');

    $show_price = '<br><font size="'.PRODUCT_PRICE_SIZE.'">' . ($products['products_price'] > 0 ? $price : TEXT_POA) . '<br></font>';

    $quantity = ($products['products_quantity'] ? 'Stock = '.$products['products_quantity'] : 'Out of Stock').'<br />';

    $weight = 'Weight = '.$products['products_weight'].WEIGHT_ABRV.'<br />';

    $model = $products['products_model'] . '<br>';

     

    $orders_query = tep_db_query("select distinct op.products_id, op.orders_id, o.orders_id from " . TABLE_ORDERS_PRODUCTS . " op LEFT JOIN " . TABLE_ORDERS . " o on op.orders_id = o.orders_id where op.products_id = '".(int)$products['products_id']."' and o.customers_id = '" . (int)$customer_id . "'");

    while ($orders = tep_db_fetch_array($orders_query)) {

    if ($orders['products_id'] == $products['products_id']) {

    //echo $products['products_id'];

    $cust = tep_image_button('checkmark_sm.gif'). '<br>';

     

    }

    }

    $udc = (tep_image_button($products['UDC_design'])) . '<br />';

     

     

    $manfact = '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $products['manufacturers_id']) . '">' . $products['manufacturers_name'] . '</a><br>';

    $display = $border;

    for ($disp=0, $n=sizeof($column_list); $disp<$n; $disp++) {

    switch ($column_list[$disp]) {

    case 'PRODUCT_LIST_IMAGE':

    $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image.'</td></tr></table>';

    break;

    case 'PRODUCT_LIST_NAME':

    $display .= '<table summary="" width="100%" ><tr><td class="thumbcontent" height="'.PRODUCT_NAME_VSPACE.'" >'.$name.'</td></tr></table>';

    break;

    case 'PRODUCT_LIST_MODEL':

    $display .= $model;

    break;

    case 'PRODUCT_LIST_UDC':

    $display .= $udc;

    break;

    case 'PRODUCT_LIST_CUSTDESIGN':

    $display .= $cust;

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $display .= $manfact;

    break;

    case 'PRODUCT_LIST_PRICE':

    $display .= $show_price;

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $display .= $quantity;

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $display .= $weight;

    break;

    }

    }

    $display .= $borderend . $button;

    // thumb built


  4. i wanted your help for 3 or 4 times in whis topic but you refused all...

    i have no idea about php but what i want is like a peace of cake for you but...

    one who knows something trys ro make others aware and guide them not just tell "do it yourself... go to hell :( :( :( :( )

    if you can tell me the code tnnx alot... if not... on way or the other thankyou :'(

     

     

    wow, that is extremely rude of you! Mr. Spooks has no obligation to help you.... he has generously donated his knowledge with this fantastic add-on and im sure his time is extremely limited. Plus take a look around the forum ... who else do you see helping out more people then he does?? Really, have some respect.


  5. Hi Spooks, i'm at a loss. I'm trying to integrate Multiple Products into Product Listing Enhancements... v1.85

     

    I've got the checkboxes coming in where the Buy Now button should be. I'm using Thumbnails in Grid and Buy now & Details button. All is working fine except I cannot get the ( name="add_id['.sizeof($list_box_contents).']" ) to show an id in the following statement:

     

    $button = (LISTING_BUTTON != 'none' && PRODUCT_LIST_BUY_NOW ? (LISTING_BUTTON == 'buy now & details' ? '<br><input type="checkbox" name="add_id['.sizeof($list_box_contents).']" value="1"> <a href="' . tep_href_link(FILENAME_SHOPPING_CART, tep_get_all_get_params(array('action')) . 'action=add_multi&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW, 'class="thm_buy_now"') . '</a> <span class="buy_now">|</span> ' . $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a><br><br>' : (strstr(LISTING_BUTTON, 'buy now') ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW) . '</a><br><br>' : '<br>' . $link . tep_image_button('button_details.gif', IMAGE_BUTTON_DETAILS) . '</a><br><br>' )) : ' ');

     

     

    Any help to get the add_id[0] would be greatly appreciated as without it nothing gets added to the cart. thanks Liz.

     

    Here is my products_lising.php :

    <?php

    /*

    $Id: product_listing.php,v 2.1.7 2008/07/24 22:49:59 hpdl Exp $

     

    osCommerce, Open Source E-Commerce Solutions

    http://www.oscommerce.com

     

    Copyright © 2003 osCommerce

     

    Released under the GNU General Public License

    */

    $graphic_bord = 'no'; // set to 'yes' if you have older 'graphic borders' and not 'easy graphic borders'.

     

    $cat_path = false; // set to true to include category paths in urls

     

    if (tep_not_null($HTTP_GET_VARS['sort'])) $_GET['sort'] = $HTTP_GET_VARS['sort'];

    $max_results = (tep_not_null($_GET['max']) ? $_GET['max'] : MAX_DISPLAY_SEARCH_RESULTS);

    if (PRODUCTS_PER_ROW == 'PRODUCTS_PER_ROW' || PRODUCTS_PER_ROW == 0 || LISTING_SWITCH == 'LISTING_SWITCH') { $to = 'Setup Error!\nPlease ensure you have run the\nProduct Listing Setup File.' ; print "<script>alert('$to');</script>"; }

     

     

    // sort order array

    if ($_GET['sort'] == '0d') $sort_array[] = array('id' => 0 . 'd', 'text' => DATE_ORDER);

    for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {

    switch ($column_list[$i]) {

    case 'PRODUCT_LIST_MODEL':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_MODEL . APHA_ORDER);

    break;

    case 'PRODUCT_LIST_NAME':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_PRODUCTS . APHA_ORDER);

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_MANUFACTURER . APHA_ORDER);

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_QUANTITY . NUM_ORDER);

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_WEIGHT . NUM_ORDER);

    break;

    case 'PRODUCT_LIST_PRICE':

    $sort_array[] = array('id' => $i+1 . 'a', 'text' => TABLE_HEADING_PRICE . NUM_ORDER);

    break;

    }

    }

    for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {

    switch ($column_list[$i]) {

    case 'PRODUCT_LIST_MODEL':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_MODEL . REVERSE_ALPHA_ORDER);

    break;

    case 'PRODUCT_LIST_NAME':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_PRODUCTS . REVERSE_ALPHA_ORDER);

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_MANUFACTURER . REVERSE_ALPHA_ORDER);

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_QUANTITY . REVERSE_NUM_ORDER);

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_WEIGHT . REVERSE_NUM_ORDER);

    break;

    case 'PRODUCT_LIST_PRICE':

    $sort_array[] = array('id' => $i+1 . 'd', 'text' => TABLE_HEADING_PRICE . REVERSE_NUM_ORDER);

    break;

    }

    }

    // Max Results Array

    for ($i=1, $n=10; $i<$n; $i++) {

    $max_display[] = array('id' => MAX_DISPLAY_SEARCH_RESULTS * $i, 'text' => MAX_DISPLAY_SEARCH_RESULTS * $i);

    }

    $max_display[] = array('id' => 1000000, 'text' => 'Show All');

    // store GET vars

    $get_vars = '';

    reset($_GET);

    while (list($key, $value) = each($_GET)) {

    if ( ($key != 'sort') && ($key != 'max') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {

    $get_vars .= tep_draw_hidden_field($key, $value);

    }

    }

    $top_nav = ((PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3'));

    $base_nav = ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3'));

    $listing_split = new splitPageResults($listing_sql, $max_results, 'p.products_id');

     

    $page_nav = '<table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td class="smallText">' . $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS) . '</td><td class="smallText" align="right">' . TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, tep_get_all_get_params(array('page', 'info', 'x', 'y'))) . '</td></tr></table>';

    $drop = '<table border="0" width="100%" cellspacing="0" cellpadding="2"><tr><td class="smallText">Results/Page: '. tep_draw_form('maxdisplay', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get') . $get_vars . (isset($_GET['sort']) ? tep_draw_hidden_field('sort', $_GET['sort']) : '') . tep_draw_pull_down_menu('max', $max_display, $_GET['max'], 'onChange="this.form.submit();"') . tep_hide_session_id().'</form></td><td class="smallText" align="right">Sort Order: ' . tep_draw_form('sorting', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get') . $get_vars . (isset($_GET['max']) ? tep_draw_hidden_field('max', $_GET['max']) : '') . tep_draw_pull_down_menu('sort', $sort_array, $_GET['sort'], 'onChange="this.form.submit();"') . tep_hide_session_id().'</form></td></tr></table>';

    //$chkbox = tep_draw_form('cart_multi', tep_href_link(FILENAME_SHOPPING_CART, tep_get_all_get_params('action','products_id')) . 'action=add_multi');

    //$form = tep_draw_form('cart_quantity_' . $col . $row, tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action','products_id')) . 'action=add_product'));

     

    if ( ($listing_split->number_of_rows > (int)$max_results) && $top_nav ) echo $page_nav;

    if ($top_nav && ($listing_split->number_of_rows > 0)) echo $drop;

     

    function tep_get_category_name($category_id, $language_id) {

    $category_query = tep_db_query("select categories_name from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$category_id . "' and language_id = '" . (int)$language_id . "'");

    $category = tep_db_fetch_array($category_query);

     

    return $category['categories_name'];

    }

    function tep_get_manufacturer_name($manufacturer_id) {

    $manufacturers_query = tep_db_query("select manufacturers_name from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$manufacturer_id . "'");

    $manufacturer = tep_db_fetch_array($manufacturers_query);

     

    return $manufacturer['manufacturers_name'];

    }

     

    function list_box_head($column_list) {

    for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

    switch ($column_list[$col]) {

    case 'PRODUCT_LIST_MODEL':

    $lc_text = TABLE_HEADING_MODEL;

    $lc_align = 'center';

    break;

    case 'PRODUCT_LIST_NAME':

    $lc_text = TABLE_HEADING_PRODUCTS;

    $lc_align = '';

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $lc_text = TABLE_HEADING_MANUFACTURER;

    $lc_align = 'center';

    break;

    case 'PRODUCT_LIST_PRICE':

    $lc_text = TABLE_HEADING_PRICE;

    $lc_align = 'right';

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $lc_text = TABLE_HEADING_QUANTITY;

    $lc_align = 'right';

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $lc_text = TABLE_HEADING_WEIGHT;

    $lc_align = 'right';

    break;

    case 'PRODUCT_LIST_IMAGE':

    $lc_text = TABLE_HEADING_IMAGE;

    $lc_align = 'center';

    break;

    case 'PRODUCT_LIST_BUY_NOW':

    $lc_text = (strstr(LISTING_BUTTON, 'buy now')? TABLE_HEADING_BUY_NOW : TABLE_HEADING_DETAIL);

    $lc_align = 'center';

    break;

    }

    if ( ($column_list[$col] != 'PRODUCT_LIST_BUY_NOW') && ($column_list[$col] != 'PRODUCT_LIST_IMAGE') ) {

    $lc_text = tep_create_sort_heading($_GET['sort'], $col+1, $lc_text);

    }

    $list_box_contents[] = array('align' => $lc_align,'params' => 'class="productListing-heading"','text' => ' ' . $lc_text . ' ');

    }

    return ($list_box_contents);

    }

    // function list_head end

     

    function list_box_data($listing, $column_list) {

    global $PHP_SELF, $cPath, $cat_path;

    $currencies = new currencies();

    $man_id = (tep_not_null($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : '');

    $link = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id'] . ($man_id ? '&manufacturers_id='.$man_id : ($cPath && $cat_path ? '&cPath=' . $cPath : '')) ) . '"' . ($man_id || ($cat_path && $cat_path) ? ' rel="nofollow"' : '') . '>';

    //$buypic = (LISTING_BUTTON == 'buy now' ? 'button_in_cart.gif' : 'button_buy_now.gif');

    $button = (LISTING_BUTTON == 'buy now & details' ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW, 'class="thm_buy_now"') . '</a> <span class="buy_now">|</span> ' . $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a><br><br>' : (strstr(LISTING_BUTTON, 'buy now') ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW) . '</a><br><br>' : '<br>'. $link . tep_image_button('button_details.gif', IMAGE_BUTTON_DETAILS) . '</a><br><br>' )) ;

    if ($listing['products_price'] == 0) $button = (strstr(LISTING_BUTTON, 'details') ? '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS) . '</a> <br><br>' : '');

    if (isset($listing['products_quantity']) && !$listing['products_quantity']) $button = '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS) . '</a> <br><br>';

    if (!strstr(PRODUCT_THUMBNAIL_VIEW, 'block')) {

    for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

    $lc_align = '';

     

    switch ($column_list[$col]) {

    case 'PRODUCT_LIST_MODEL':

    $lc_align = 'center';

    $lc_text = ' ' . $listing['products_model'] . ' ';

    break;

    case 'PRODUCT_LIST_NAME':

    $lc_align = '';

    $lc_text = $link.'<b>' . $listing['products_name'] . '</b></a>' . ($listing['short_desc'] && (PRODUCT_SHORT_DESC == 'true') ? '<br><span class="short">' . $listing['short_desc'] . '</span>' : '');

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $lc_align = 'center';

    $lc_text = ' <a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a> ';

    break;

    case 'PRODUCT_LIST_PRICE':

    $lc_align = 'right';

    $price = (function_exists(display_short_price)) ? $currencies->display_short_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) : $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']));

    if (tep_not_null($listing['specials_new_products_price'])) {

    $lc_text = '<s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>  ';

    } else {

    $lc_text = ($listing['products_price'] > 0 ? '' . $price . '  ' : ' ' . TEXT_POA);

    if (function_exists(tep_get_att_price)) $lc_text .= (tep_get_att_price($listing['products_id']) > 0 ? '+' : ' ') ;

    }

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $lc_align = 'right';

    $lc_text = ' ' . $listing['products_quantity'] . ' ';

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $lc_align = 'right';

    $lc_text = ' ' . $listing['products_weight'] . ' ';

    break;

    case 'PRODUCT_LIST_IMAGE':

    $lc_align = 'center';

    $lc_text = $link . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>';

    break;

    case 'PRODUCT_LIST_BUY_NOW':

    $lc_align = 'center';

    $lc_text = $button;

    break;

    }

     

    $list_box_temp[] = array('align' => $lc_align,

    'params' => 'class="productListing-data" width="'.(100/sizeof($column_list)).'%" ',

    'text' => $lc_text);

    }

    } else { // block listing

    $list_box_temp = array();

    if (PRODUCT_LIST_IMAGE) { $list_box_temp[] = array('align' => 'center',

    'params' => 'class="productListing-data" ',

    'text' => $link . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'); }

    $display ='';

    for ($col=0, $n=sizeof($column_list); $col<$n; $col++) {

    switch ($column_list[$col]) {

    case 'PRODUCT_LIST_MODEL':

    $display .= $listing['products_model'] . '<br>';

    break;

    case 'PRODUCT_LIST_NAME':

    $display .= $link.'<b><u>' . $listing['products_name'] . '</u></b></a><br>' . ($listing['short_desc'] && (PRODUCT_SHORT_DESC == 'true') ? '<span class="short">' . $listing['short_desc'] . '</span><br>' : '');

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $display .= '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing['manufacturers_id']) . '">' . $listing['manufacturers_name'] . '</a><br>';

    break;

    case 'PRODUCT_LIST_PRICE':

    $display .= '<br>Price: ';

    $price = (function_exists(display_short_price)) ? $currencies->display_short_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) : $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id']));

    if (tep_not_null($listing['specials_new_products_price'])) {

    $display .= '<s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s>  <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span><br>';

    } else {

    $display .= ($listing['products_price'] > 0 ? '' . $price : '' . TEXT_POA);

    if (function_exists(tep_get_att_price)) $display .= (tep_get_att_price($listing['products_id']) > 0 ? '+' : ' ') ;

    $display .= '<br>';

    }

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $display .= ($listing['products_quantity'] ? 'Stock = ' . $listing['products_quantity'] : 'Out of Stock') . '<br>';

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $display .= 'Weight = ' . $listing['products_weight'].WEIGHT_ABRV.'<br />';

    break;

    }

    }

    $list_box_temp[] = array('align' => 'left',

    'params' => 'class="main" valign="top"',

    'text' => $display);

    if (PRODUCT_LIST_BUY_NOW) {

    $list_box_temp[] = array('align' => 'left',

    'params' => 'class="productListing-data" width="'.(100/4).'%" ',

    'text' => $button);

    }

    }

    return ($list_box_temp);

    }

    // function list_box_data end

     

    ?>

    <form name="cart_multi" method="post" action="<?php echo tep_href_link(FILENAME_SHOPPING_CART, tep_get_all_get_params(array('action')) . 'action=add_multi', 'NONSSL'); ?>">

    <?php

     

    // set initial values

    $thumbnail_view = (isset($_GET['list']) ? $_GET['list'] : PRODUCT_THUMBNAIL_VIEW);

    $empty_list=false;

    if (isset($_GET['manufacturers_id']) && tep_not_null($_GET['manufacturers_id'])) {

    $title_name = tep_get_manufacturer_name($_GET['manufacturers_id']);

    } else {

    $title_name = (!$category['categories_name'] && tep_not_null($_GET['cPath']) ? tep_get_category_name(substr($_GET['cPath'], strpos($_GET['cPath'],'_')+1),$languages_id) : '');

    }

    $grid = strstr(PRODUCT_THUMBNAIL_VIEW, 'grid');

    $gborders = function_exists(mws_boxHeader);

    $Tborder = (!$gborders ? '<table class="infoBoxList" width="100%"><tr><td>' : mws_boxHeader('<big>'.$title_name.'</big>'));

    $Tborderend = (!$gborders ? '</td></tr></table>' : mws_boxFooter ());

    $border2 = (!$gborders ? '<table class="infoBoxList" width="100%"><tr><td>' : ($graphic_bord == 'yes' ? mws_boxHeader('<big>'.$title_name.'</big>') : ''));

    $border2end = (!$gborders ? '</td></tr></table>' : ($graphic_bord == 'yes' ? mws_boxFooter() : ''));

    if (tep_not_null($_GET['categories_id']) && $current_category_id == 0) $current_category_id = $_GET['categories_id'];

     

     

    // output selected display

    if (strstr($thumbnail_view, 'thumbnails')) { //thumbnail

    $row = 0;

    $col = 0;

    $border = (!$grid ? '<table class="infoBoxProducts" cellpadding="2" width="'.PRODUCT_LIST_WIDTH.'" height="'.PRODUCT_LIST_HEIGHT.'" ><tr><td valign="top">' : '<br>');

    $borderend = (!$grid ? '</td></tr></table>' : '');

    $style = (!$grid ? 'class="smallText"' : 'class="infoBoxGrid"');

    $info_box_contents = array();

    if ($listing_split->number_of_rows > 0) { $listing_query = tep_db_query($listing_split->sql_query);} else {

    $listing_query = tep_db_query($listing_sql); }

    if (tep_db_num_rows($listing_query)) {

    while ($products = tep_db_fetch_array($listing_query)) {

    if ($row == 0) {

    if (!$gborders && !$grid) $info_box_contents[$row][$col] = array('align' => 'center',

    'params' => 'class="smallText" width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" valign="top"',

    'text' => ' ');

    echo $Tborder;$row ++;

    }

     

    // build thumb

    //$cur_row = sizeof($list_box_contents) - 1;

     

    $man_id = (tep_not_null($_GET['manufacturers_id']) ? $_GET['manufacturers_id'] : '');

    $link = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products['products_id'] . ($man_id ? '&manufacturers_id='.$man_id : ($cPath && $cat_path ? '&cPath=' . $cPath : ''))) . '"' . ($man_id || ($cat_path && $cat_path) ? ' rel="nofollow"' : '') . '>';

    $image = $products['products_image'];

    $addimages = (file_exists(DIR_WS_CLASSES . 'displayimages.php')); // Additional Images Present

    if ($addimages) {

    $image_query = tep_db_query( "SELECT ai.medium_images, ai.images_description, ai.popup_images, p.products_image_med, p.products_image_description FROM " . TABLE_ADDITIONAL_IMAGES . " ai, " . TABLE_PRODUCTS . " p WHERE ai.products_id=p.products_id and ai.products_id = '".(int)$products['products_id']."'");

    $selected_image = tep_db_fetch_array($image_query);

    $image = ($selected_image['medium_images'] ? $selected_image['medium_images'] : ($selected_image['products_image_med'] ? $selected_image['products_image_med'] : ($selected_image['popup_images'] ? $selected_image['popup_images'] : $products['products_image'])));

    }

    $image = (!$grid && $column_list[0] == 'PRODUCT_LIST_IMAGE' ? '<br>' : '') . $link . tep_image(DIR_WS_IMAGES . $image, ($addimages ? (tep_not_null($selected_image['images_description']) ? $selected_image['images_description'] : (tep_not_null($selected_image['products_image_description']) ? $selected_image['products_image_description'] : $products['products_name'])) : $products['products_name']), PRODUCT_IMAGE_WIDTH, '') . '</a>' . '<br>';

    //$buypic = (LISTING_BUTTON == 'buy now' ? 'button_in_cart.gif' : 'button_buy_now.gif');

    $button = (LISTING_BUTTON != 'none' && PRODUCT_LIST_BUY_NOW ? (LISTING_BUTTON == 'buy now & details' ? '<br><input type="checkbox" name="add_id['.sizeof($list_box_contents).']" value="1"> <a href="' . tep_href_link(FILENAME_SHOPPING_CART, tep_get_all_get_params(array('action')) . 'action=add_multi&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW, 'class="thm_buy_now"') . '</a> <span class="buy_now">|</span> ' . $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a><br><br>' : (strstr(LISTING_BUTTON, 'buy now') ? '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products['products_id']) . '">' . tep_image_button($buypic, IMAGE_BUTTON_BUY_NOW) . '</a><br><br>' : '<br>' . $link . tep_image_button('button_details.gif', IMAGE_BUTTON_DETAILS) . '</a><br><br>' )) : ' ');

    if ($products['products_price'] == 0) $button = (strstr(LISTING_BUTTON, 'details') ? '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a> <br>' : '');

    $name = $link . '<b>' . $products['products_name'] . '</b>' . '</a><br>'. ($products['short_desc'] && (PRODUCT_SHORT_DESC == 'true') ? '<br>' . $products['short_desc'] . '<br>' : '');

    $price = (function_exists(display_short_price)) ? $currencies->display_short_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) : $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id']));

    if (tep_not_null($products['specials_new_products_price'])) {

    $price = '<s>' . $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($products['specials_new_products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</span>';

    }

    if (function_exists(tep_get_att_price)) $price .= (tep_get_att_price($products['products_id']) > 0 ? '+' : '') ;

    if (isset($products['products_quantity']) && !$products['products_quantity']) $button = (strstr(LISTING_BUTTON, 'details') ? '<br><span class="buy_now"> </span>'. $link . tep_image_button('button_details_small.gif', IMAGE_BUTTON_DETAILS, 'class="thm_buy_now"') . '</a> <br>' : '');

    $show_price = '<br><font size="'.PRODUCT_PRICE_SIZE.'">' . ($products['products_price'] > 0 ? $price : TEXT_POA) . '<br></font>';

    $quantity = ($products['products_quantity'] ? 'Stock = '.$products['products_quantity'] : 'Out of Stock').'<br />';

    $weight = 'Weight = '.$products['products_weight'].WEIGHT_ABRV.'<br />';

    $model = $products['products_model'] . '<br>';

    $manfact = '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $products['manufacturers_id']) . '">' . $products['manufacturers_name'] . '</a><br>';

     

    $display = $border;

    for ($disp=0, $n=sizeof($column_list); $disp<$n; $disp++) {

    switch ($column_list[$disp]) {

    case 'PRODUCT_LIST_IMAGE':

    $display .= '<table summary="" width="100%" ><tr><td style="text-align:center;" valign="top" height="'.PRODUCT_IMAGE_VSPACE.'" >'.$image.'</td></tr></table>';

    break;

    case 'PRODUCT_LIST_NAME':

    $display .= '<table summary="" width="100%" ><tr><td class="thumbcontent" height="'.PRODUCT_NAME_VSPACE.'" >'.$name.'</td></tr></table>';

    break;

    case 'PRODUCT_LIST_MODEL':

    $display .= $model;

    break;

    case 'PRODUCT_LIST_MANUFACTURER':

    $display .= $manfact;

    break;

    case 'PRODUCT_LIST_PRICE':

    $display .= $show_price;

    break;

    case 'PRODUCT_LIST_QUANTITY':

    $display .= $quantity;

    break;

    case 'PRODUCT_LIST_WEIGHT':

    $display .= $weight;

    break;

    }

    }

    $display .= $borderend . $button;

    // thumb built

     

     

    $info_box_contents[$row][$col] = array('align' => 'center',

    'params' => $style . ' width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" valign="top"',

    'text' => $display );

    $col ++;

    if ($col > PRODUCTS_PER_ROW-1) {

    $col = 0;

    $row ++;

    }

    } // prod loop

    } else {$empty_list=true; }// no products!!

    // got display

    if ($row) {

    $i = 0 ; $nbx = class_exists(noborderBox); if ($col > 0 && $row > 1 && $nbx && !$grid) { for ($i=0, $n=$col; $i < $n; $i++) { $last_row[0][$i] = $info_box_contents[$row][$i]; unset($info_box_contents[$row][$i]); } }

    if (!$i) {$col = 0;$row ++;$info_box_contents[$row][$col] = array('align' => 'center',

    'params' => 'class="smallText" width="'.(PRODUCTS_PER_ROW ? (100/PRODUCTS_PER_ROW) : '').'%" ',

    'text' => ' '); }

    if ($nbx) new noborderBox($info_box_contents); else new contentBox($info_box_contents);

    if($i) new noborderBox($last_row);

    echo $Tborderend;

    } else {$empty_list=true; }

    } elseif (strstr($thumbnail_view, 'manufacturer')) { //manufacturer

     

    $row = 0;$col = 0;

     

    if (isset($_GET['manufacturers_id']) && tep_not_null($_GET['manufacturers_id'])) {

    $filterlist_sql= tep_db_query("select distinct m.manufacturers_id, m.manufacturers_name, mi.manufacturers_description from " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where m.manufacturers_id = '" . (int)$_GET['manufacturers_id'] . "' and mi.languages_id = '" . (int)$languages_id . "'");

    }else{

    $filterlist_sql= tep_db_query("select distinct m.manufacturers_id, m.manufacturers_name, mi.manufacturers_description from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m left join " . TABLE_MANUFACTURERS_INFO . " mi on m.manufacturers_id = mi.manufacturers_id where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' and mi.languages_id = '" . (int)$languages_id . "' order by m.manufacturers_name");

    }

    if (tep_db_num_rows($filterlist_sql)) { $rows = 0;

    while ($manufacturer = tep_db_fetch_array($filterlist_sql)) {

    $info_box_heading = array(); if ($rows) echo tep_draw_separator('pixel_trans.gif', '100%', '4');

    echo $border2;

    $info_box_heading[0] = array('text' => '<big>'.$manufacturer['manufacturers_name'].'</big><br />'.(MANU_DESCRIPTION == 'true' ? $manufacturer['manufacturers_description'].'<br />' : ''));

    new infoBoxHeading($info_box_heading, false, false);

    //echo tep_draw_separator('pixel_trans.gif', '100%', '2');

    $list_box_contents = array();

    $list_box_contents[0] = (LISTING_HEADINGS == 'true' && !strstr(PRODUCT_THUMBNAIL_VIEW, 'block') ? list_box_head($column_list) : '');

    if ($listing_split->number_of_rows > 0) { $rows = 0; $listing_query = tep_db_query($listing_split->sql_query);} else {

    $rows = 0; $listing_query = tep_db_query($listing_sql); }

    while ($listing = tep_db_fetch_array($listing_query)) {

    if ($listing['manufacturers_id'] != $manufacturer['manufacturers_id']) continue;

    $rows++;

     

    $list_box_contents[] = (($rows/2) == floor($rows/2) ? array('params' => 'class="productListing-even"') : array('params' => 'class="productListing-odd"'));

    $cur_row = sizeof($list_box_contents) - 1;

    $list_box_contents[$cur_row] = list_box_data($listing, $column_list);

    }

    if (!$rows && isset($_GET['manufacturers_id'])) {

    $list_box_contents = array();

    $list_box_contents[0] = array('params' => 'class="productListing-odd"');

    $list_box_contents[0][] = array('params' => 'class="productListing-data"',

    'text' => TEXT_NO_PRODUCTS); $rows++; }

    if ($rows) new productListingBox($list_box_contents);

    echo $border2end;

    } // man loop;

    $col = 0;$row ++;$info_box_contents[$row][$col] = array('align' => 'center',

    'params' => 'class="smallText" width="33%" valign="top"',

    'text' => ' ');

    } else {$empty_list=true; } // no manufacturers!!

    }

    if ((!strstr($thumbnail_view, 'thumbnails') && !strstr($thumbnail_view, 'manufacturer')) || $empty_list) { //default listing

     

    if (MANU_DESCRIPTION == 'true' && tep_not_null($_GET['manufacturers_id'])) {

    $manufacturer_query = tep_db_query("select manufacturers_description from " . TABLE_MANUFACTURERS_INFO . " where manufacturers_id = '" . (int)($_GET['manufacturers_id']) . "' and languages_id = '" . (int)$languages_id . "'");

    $manufacturer = tep_db_fetch_array($manufacturer_query); }

     

    $info_box_heading[0] = array('text' => '<big>'.$title_name.'</big>'.($manufacturer['manufacturers_description'] ? '<br />' . $manufacturer['manufacturers_description'] : ''));

    $list_box_contents = array();

    $list_box_contents[0] = (LISTING_HEADINGS == 'true' && !strstr(PRODUCT_THUMBNAIL_VIEW, 'block') ? list_box_head($column_list) : '');

    if ($listing_split->number_of_rows > 0) { $rows = 0; $listing_query = tep_db_query($listing_split->sql_query);

    while ($listing = tep_db_fetch_array($listing_query)) {

    $rows++;

     

    $list_box_contents[] = (($rows/2) == floor($rows/2) ? array('params' => 'class="productListing-even"') : array('params' => 'class="productListing-odd"'));

    $cur_row = sizeof($list_box_contents) - 1;

     

    $list_box_contents[$cur_row] = list_box_data($listing, $column_list);

    }

    $empty_list = false;

    echo $border2;

    if ($title_name) new infoBoxHeading($info_box_heading, false, false);

    new productListingBox($list_box_contents);

    echo $border2end; //tep_draw_separator('pixel_trans.gif', '100%', '4');

    } else {

    $list_box_contents = array();

     

    $list_box_contents[0] = array('params' => 'class="productListing-odd"');

    $list_box_contents[0][] = array('params' => 'class="productListing-data"',

    'text' => TEXT_NO_PRODUCTS);

    new productListingBox($list_box_contents);

    }

     

    }

    if ($base_nav && !$empty_list) echo $drop;

    if (($listing_split->number_of_rows > (int)$max_results) && $base_nav) echo $page_nav;

    ?>

    <table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">

    <tr class="infoBoxContents">

    <td><table border="0" width="100%" cellspacing="0" cellpadding="2">

    <tr>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    <td align="left" class="main"><a href="<?php echo tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'); ?>"><?php echo tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT); ?></a></td>

    <td align="right" class="main"><?php echo tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>

    <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

    </tr>

    </table></td>

    </tr>

    </table>

    </form>

    <?

     

     

    if (!strstr(PRODUCT_THUMBNAIL_VIEW, 'list') && LISTING_SWITCH != 'false' && !$empty_list) echo '<br><span class="smalltext"><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('list')). 'list='.(strstr($thumbnail_view, 'thumbnails') ? 'manufacturer' : 'thumbnails')) . '">' . (strstr($thumbnail_view, 'thumbnails') ? LIST_VIEW : THUMB_VIEW).'</a></span><br /><br />';

    // echo '<hr>' . $listing_sql . '<hr>';

     

    ?>


  6. hi Spooks, I love your Product Listing Enhancements, Thumbnails etc... v1.85 been using for close to a year. I would like to be able use it in combination with Multiple Products ( add multiple products to cart simultaneously ). Multiple products changes the layout from grid back to list --- would you have any helpful tips or advice how I can get the two contributions to work together?

     

    thanks liz


  7. hi Spooks, I love your Product Listing Enhancements, Thumbnails etc... v1.85 been using for close to a year. I would like to be able use it in combination with Multiple Products ( add multiple products to cart simultaneously ). Multiple products changes the layout from grid back to list --- would you have any helpful tips or advice how I can get the two contributions to work together?

     

    thanks liz


  8. hi all, i've installed the rewards and points... all seems to be working fine until ->

     

    if a customer pays total order with points they are not presented with a download link

     

    how does one switch the processed order to processing or delivered so that they can retrieve their download item??

     

    *** without using any points to pay the order is processed successfully and download link is available***

     

    thanks for giving help

    liz


  9. hi all, i've installed the rewards and points... all seems to be working fine until ->

     

    if a customer pays total order with points they are not presented with a download link

     

    how does one switch the processed order to processing or delivered so that they can retrieve their download item??

     

    *** without using any points to pay the order is processed successfully and download link is available***

     

    thanks for giving help

    liz


  10. Well, I've finally been able to view the carousel with images. -- Not exactly sure this made a difference but it must have.... my specials table had many products that had expired (25 + ) once I deleted all the old products my carousel began to show the other images to my surprise.

     

    Now my issue seems to be with not having all the products showing.... specials contains 30 products and only about are 10 visible on carousel no matter what I change or do. I'm wondering if having some of the product images that start with a number ( ex 3245kampanya.jpg ) would be causing this problem? Anybody with a solution or answer as to why only some images are visible on the carousel and how to correct ??

     

    thanks liz


  11. hi all, i'm interested in solutions to the "white box" that only shows on my page. I have tried v 1.2 and v 1.3 and no images show. XML is created -- Images are resized and renamed properly.... but sadly no carousel : (

     

    thanks for who ever may have experienced this and would share how they solved this

    liz


  12. Hello, have worked with this better part of day and a half but i'm not able to get the images to show : (

     

    However, I do have the xml and the correctly resized images writing to the IMAGES folder.

     

    Oh my gosh help would be greatly appreciated! I've tried every verison and cant get the carosel to show images --- please help.

     

    thanks

    liz

     

    **** Bob *** your egyptian dress carosel is amazing !!


  13. The original concept for the file is that you have already drilled down through the categories so are only showing product within a specific category, when it shows manufacturer its generally showing that for a specific category.

     

    When a parent category is selected, index.php shows the sub-categories plus the new_products module.

     

    The only circumstance where there will be multiple categories is iether a manufacturer has been selected prior to category or a search done.

     

    I'll take a look, if its not going to take too much change.

     

     

    Yes, your explaination above makes it all a bit clearer for me. I guess I am looking for the catalog/product_new.php to list the new products from all ( or only pre-determined ) categories just like you've displayed them in the manufacturer listing layout.

     

    thanks

    mac


  14. Hi, think your contrib is absolutely fantastic!

     

    1) I would like to know if it is at all possible to do Product Listing by Category ( rather than as Manufacturer like in your example manufacture_listing+Block_Mode.jpg)

     

    2) would also rather the products thumbnail grid layout.

     

     

    Any chance the current contribution can be manipulated for the above to use categories in the thumbnail grid layout?

     

    thanks

    mac


  15. Assuming you have the standard set of buttons, if you change Product Listing Buy Now / Details Button to 'buy now' you will get the ADD TO CART button, but no details button.

     

    The ADD TO CART & BUY NOW buttons do the same thing, Details button takes you to the product page.

     

     

     

    Thanks for your reply. Something must be funky with my OScomm setup as when I click on BUY NOW I get the product page. I'll take a look through my pages --- appreciate the insight. :rolleyes:

     

    mac


  16. That got missed off, it'll be there on the next version, but simple fix:

     

    find: (61)

    $price = (function_exists(display_short_price)) ? $currencies->display_short_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) : $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id']));

     

    add after:

    if (tep_not_null($products['specials_new_products_price'])) {

    $price = '<s>' . $currencies->display_price($products['products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($products['specials_new_products_price'], tep_get_tax_rate($products['products_tax_class_id'])) . '</span>'; }

     

     

    Thanks so much!! Your fix corrected the issue. Appreciated!!


  17. Excellent Contribution!!! Easy installation!! thank you thank you!!!

     

    Smalll issue == I've installed and am successfully running prod enhancements using the THUMBNAILS & GRID option but it will not display the special price if a product is currently on sale. Yet, by switching the Product Listing Style to listing it is able to display the special pricing. I really have to have products listed as THUMBNAILS as it is brilliant --- any ideas how to fix this up? Thanks in advance.

     

    Please help : )

    mac

×