Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

aftabn10

Pioneers
  • Posts

    250
  • Joined

  • Last visited

Posts posted by aftabn10

  1. hi,

     

    I have managed to install the following contribution of Google Checkout. I have been through the instructions and made all the required amendments, but I seem to have an issue in the admin section where Google Checkout is not listed in Payment Modules. Where have I gone wrong?

     

    Please could somebody help.

  2. Hi,

     

    i was wondering if somebody can help as I have managed to install Ultimate SEO and it all works fine. The only problem I have is that i have the Manufacturers in a dropdown list and this does not link to my Manufacturers page.

     

    For example:

     

    The link should be : catalog/prada-m-24.html

     

    but this searches for: index.php?manufacturers_id=24 and then redirects to the homepage with the following in the address bar:

     

    catalog/index.php?catalog=index.php

     

    Could somebody please help? Thanks in advance.

  3. Hi,

     

    I have recently installed STS 4.5.8, at first I thot everything was installed correctly but I keep getting 2 errors. The first one is the message on my homepage and all the category pages:

     

    _eof //-->

     

    Fatal error: Cannot redeclare tep_get_category_tree() (previously declared in /homepages/29/d116169741/htdocs/mediadezines/catalog/includes/modules/sts_inc/sts_user_code.php:33) in /homepages/29/d116169741/htdocs/mediadezines/catalog/includes/modules/sts_inc/sts_user_code.php on line 33

     

    and the second is in my admin section where whenever I press Install in STS > Modules it redirects back to the same page.

     

    Please can somebody help.

     

    Thanks in advance.

  4. Hi, I have installed the AJAX Attribute and it works! Thanks. I was wondering if it is possible to add a quantity box after the prefix in order to give each attribute a quantity. I have seen another contribution Quantitiy for Product Attributes but would like everything to work through the AJAX Attribute Manager.

     

    If somebody could please help.

  5. Hi, I have installed the AJAX Attribute and it works! Thanks. I was wondering if it is possible to add a quantity box after the prefix in order to give each attribute a quantity. I have seen another contribution Quantitiy for Product Attributes but would like everything to work through the AJAX Attribute Manager.

     

    If somebody could please help.

  6. I have managed to install Ultra Pics 2.07.01 - incl. STS + CCGV + LightBox into my online shop. The only problem I have now is that I have setup product attributes that I would like to add to my products as these come in different sizes, but i dont know how to add quantities for these sizes. I have looked around and found QTPro v1.0 but I dont know how to integrate this with the UltraPics.

     

    If somebody could please help or guide me as to where I can get a contribution that has ultrapics and qtpro combined in order for me to accomodate for my shop.

     

    Thanks in advance.

  7. I have managed to install Ultra Pics 2.07.01 - incl. STS + CCGV + LightBox into my online shop. The only problem I have now is that I have setup product attributes that I would like to add to my products as these come in different sizes, but i dont know how to add quantities for these sizes. I have looked around and found QTPro v1.0 but I dont know how to integrate this with the UltraPics.

     

    If somebody could please help or guide me as to where I can get a contribution that has ultrapics and qtpro combined in order for me to accomodate for my shop.

     

    Thanks in advance.

  8. HI uscetech,

     

    This contribution is one the best contributions I have added to my site. Thanks for the great effort.

     

    I was wondering if you could guide to to make some modifications.

     

    1. as each category is selected, I wish the category name to be displayed or at least retained in the drop-down box

    2. when a manufacturer is selected, all products for this manufacturer are displayed. I wish not to display any products until the final category is selected.

     

    I hope you will be able to guide me in this project.

     

    Regards

     

    Hi,

     

    Does any1 have a working example of this tool?

  9. Hi,

     

    Could anyone please help with some lightbox issues that i am having. Currently I have managed to install lightbox and all is working well but the IMAGE APPEARS AT THE BOTTOM OF THE PAGE, how can i get this to show up in the middle?

     

    Please could somebody help.

     

    Thanks in advance.

     

    Any1? Btw here is my product info page that i am using, in case any1 can point where i am going wrong.

     

    <?php
    /*
     $Id: product_info.php 1739 2007-12-20 00:52:16Z hpdl $
    
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
    
     Copyright (c) 2003 osCommerce
    
     Released under the GNU General Public License
    */
    
     require('includes/application_top.php');
    
     require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO);
    
     $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
     $product_check = tep_db_fetch_array($product_check_query);
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">
    <title><?php echo $products_name; ?></title>
    <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
    <meta name="<?php echo $products_description; ?>" content="<?php echo $products_name; ?>" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" type="text/css" href="stylesheet.css">
    <script src="js/prototype.js" type="text/javascript"></script>
    <script src="js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
    <script src="js/lightbox.js" type="text/javascript"></script>
    </head>
    <body>
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="98%" cellspacing="0" cellpadding="0">
     <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
    </table></td>
    <!-- body_text //-->
    <td width="100%" valign="top"><?php echo tep_draw_form('cart_quantity', tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=add_product')); ?><table border="0" width="93%" align="center" cellspacing="0" cellpadding="0">
    <?php
     if ($product_check['total'] < 1) {
    ?>
      <tr>
    	<td><?php new infoBox(array(array('text' => TEXT_PRODUCT_NOT_FOUND))); ?></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td><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="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td>
    			<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
    		  </tr>
    		</table></td>
    	  </tr>
    	</table></td>
      </tr>
    <?php
     } else {
    // BOF MaxiDVD: Modified For Ultimate Images Pack!
    $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg, p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2, p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4, p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
    // EOF MaxiDVD: Modified For Ultimate Images Pack!
    $product_info = tep_db_fetch_array($product_info_query);
    
    tep_db_query("update " . TABLE_PRODUCTS_DESCRIPTION . " set products_viewed = products_viewed+1 where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and language_id = '" . (int)$languages_id . "'");
    
    if ($new_price = tep_get_products_special_price($product_info['products_id'])) {
      $products_price = '<s>' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
    } else {
      $products_price = $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id']));
    }
    
    if (tep_not_null($product_info['products_model'])) {
      $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
    } else {
      $products_name = $product_info['products_name'];
    }
    ?>
      <tr>
    	<td></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td class="main"><?php
    if (tep_not_null($product_info['products_image'])) {
    ?><table border="0" align="center" cellpadding="0" cellspacing="0">
    			  <tr><td height="19"></td></tr>
    			  <tr><td height="22"><span class="tx2"><?php
     $manufacturer_query = tep_db_query("select m.manufacturers_name, m.manufacturers_id from " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS . " p  where p.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and p.manufacturers_id = m.manufacturers_id");
    $manufacturer = tep_db_fetch_array($manufacturer_query);
    ?><?php if (tep_not_null($manufacturer['manufacturers_name'])) {echo '<a href="' . tep_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $manufacturer['manufacturers_id'] , 'NONSSL') . '">'. $manufacturer['manufacturers_name'] . '</a>';}?></span> <-- Click here to View Full Collection</span></td>
    			  <td>    <span class="tx2"><?php if (tep_not_null($product_info['products_model'])) {
      $products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';
    } else {
      $products_name = $product_info['products_name'];
    }
    ?></span></td>
    			  <tr><td width="448" height="1" bgcolor="#6B737A"></td></tr>
    			  <tr><td height="22"></td></tr>
    		 </table>
    	  <table width="448" height="91" border="0" align="center" cellpadding="2" cellspacing="0">
    		<tr>
    		  <td width="72" rowspan="2" align="center" valign="top" class="bd">
    <!-- // BOF MaxiDVD: Modified For Ultimate Images Pack! //-->
    <?php
    if ($product_info['products_image_med']!='') {
    	  $new_image = $product_info['products_image_med'];
    	  $image_width = MEDIUM_IMAGE_WIDTH;
    	  $image_height = MEDIUM_IMAGE_HEIGHT;
    	 } else {
    	  $new_image = $product_info['products_image_lrg'];
    	  $image_width = LARGE_IMAGE_WIDTH;
    	  $image_height = LARGE_IMAGE_HEIGHT;}?>
    <!-- // Ultimate Images Pack 2.04 LightBox fix //-->
    <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image_lrg']) . '" rel="lightbox">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_lrg'], $product_info['products_name'], LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '</a>'; ?>
    <!-- // EOF MaxiDVD: Modified For Ultimate Images Pack! //-->			  </td>
    		  <td width="16" rowspan="2" align="center" class="smallText"> </td>
    		  <td width="360" align="left" valign="top" class="ml1"><?php
    // BOF MaxiDVD: Modified For Ultimate Images Pack!
    if (ULTIMATE_ADDITIONAL_IMAGES == 'enable') { include(DIR_WS_MODULES . 'additional_images.php'); }
    // EOF MaxiDVD: Modified For Ultimate Images Pack!
    ; ?></td>
    		  </tr>
    	  </table>
    	  <table width="448" height="91" border="0" align="center" cellpadding="2" cellspacing="0">
    		<tr><td width="360" height="2" align="left" class="ml1"></td>
    		  </tr>
    		<tr><td width="360" align="left" class="ml1"><?php echo $products_name; ?></td>
    		  </tr>
    		<tr>
    		  <td align="left" class="smallText"><?php echo stripslashes($product_info['products_description']); ?></td>
    		</tr>
    		<tr>
    		  <td height="7"></td>
    		</tr>
    		<tr>
    		  <td align="left" class="tx3"><?php echo $products_price; ?></td>
    		</tr>
    		<tr>
    		  <td height="3"></td>
    		</tr>
    		<tr>
    		  <td><img src="images/m21.gif" border="0" alt="" width="87" height="1"></td>
    		</tr>
    		<tr>
    		  <td><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?> <?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
    		</tr>
    	  </table>
    <?php
    }
    ?>
    <?php
    $products_attributes_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "'");
    $products_attributes = tep_db_fetch_array($products_attributes_query);
    if ($products_attributes['total'] > 0) {
    ?>
    <table border="0" cellspacing="0" cellpadding="2">
    		<tr>
    		  <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
    		</tr>
    <?php
      $products_options_name_query = tep_db_query("select distinct popt.products_options_id, popt.products_options_name from " . TABLE_PRODUCTS_OPTIONS . " popt, " . TABLE_PRODUCTS_ATTRIBUTES . " patrib where patrib.products_id='" . (int)$HTTP_GET_VARS['products_id'] . "' and patrib.options_id = popt.products_options_id and popt.language_id = '" . (int)$languages_id . "' order by popt.products_options_name");
      while ($products_options_name = tep_db_fetch_array($products_options_name_query)) {
    	$products_options_array = array();
    	$products_options_query = tep_db_query("select pov.products_options_values_id, pov.products_options_values_name, pa.options_values_price, pa.price_prefix from " . TABLE_PRODUCTS_ATTRIBUTES . " pa, " . TABLE_PRODUCTS_OPTIONS_VALUES . " pov where pa.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pa.options_id = '" . (int)$products_options_name['products_options_id'] . "' and pa.options_values_id = pov.products_options_values_id and pov.language_id = '" . (int)$languages_id . "'");
    	while ($products_options = tep_db_fetch_array($products_options_query)) {
    	  $products_options_array[] = array('id' => $products_options['products_options_values_id'], 'text' => $products_options['products_options_values_name']);
    	  if ($products_options['options_values_price'] != '0') {
    		$products_options_array[sizeof($products_options_array)-1]['text'] .= ' (' . $products_options['price_prefix'] . $currencies->display_price($products_options['options_values_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) .') ';
    	  }
    	}
    
    	if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) {
    	  $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']];
    	} else {
    	  $selected_attribute = false;
    	}
    ?>
    		<tr>
    		  <td class="main"><?php echo $products_options_name['products_options_name'] . ':'; ?></td>
    		  <td class="main"><?php echo tep_draw_pull_down_menu('id[' . $products_options_name['products_options_id'] . ']', $products_options_array, $selected_attribute); ?></td>
    		</tr>
    <?php
      }
    ?>
    	  </table>
    <?php
    }
    ?>
    	</td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
    <?php
    $reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
    $reviews = tep_db_fetch_array($reviews_query);
    if ($reviews['count'] > 0) {
    ?>
      <tr>
    	<td class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
    <?php
    }
    
    if (tep_not_null($product_info['products_url'])) {
    ?>
      <tr>
    	<td class="main"><?php echo sprintf(TEXT_MORE_INFORMATION, tep_href_link(FILENAME_REDIRECT, 'action=url&goto=' . urlencode($product_info['products_url']), 'NONSSL', true, false)); ?></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
    <?php
    }
    
    if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
    ?>
      <tr>
    	<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
      </tr>
    <?php
    } else {
    ?>
      <tr>
    	<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
      </tr>
    <?php
    }
    ?>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
    	  <tr class="infoBoxContents">
    		<td></td>
    	  </tr>
    	</table></td>
      </tr>
      <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
    	<td>
    <?php
    if ((USE_CACHE == 'true') && empty($SID)) {
      echo tep_cache_also_purchased(3600);
    } else {
      include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
    }
     }
    ?>
    	</td>
      </tr>
    </table></form></td>
    <!-- body_text_eof //-->
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
    </table></td>
     </tr>
    </table>
    <!-- body_eof //-->
    <br>
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

     

    thanks in advance.

  10. Hi,

     

    Could anyone please help with some lightbox issues that i am having. Currently I have managed to install lightbox and all is working well but the IMAGE APPEARS AT THE BOTTOM OF THE PAGE, how can i get this to show up in the middle?

     

    Please could somebody help.

     

    Thanks in advance.

  11. I am looking to add 3 more pics to my product_info page. What i was hoping was to have one big picture and 2 medium pictures. I was looking to exclude the enlarge image button and instead have the facility to click the medium pictures or even hover over the images which would then change the big picture on the same page. i have included an example of what i am trying to do. Currently i have not installed any picture mods but was hoping somebody could help or direct me to a contribution.

     

    Example : http://www.netclothing.net/index.php?act=v...p;productId=769

     

    Hope that makes sense.

     

    Thanks in advance

     

    OK, all i have managed to upload UltraPics in my shop, which works fine so far, is their any way of adding hover functionality? Any1?

  12. I am looking to add 3 more pics to my product_info page. What i was hoping was to have one big picture and 2 medium pictures. I was looking to exclude the enlarge image button and instead have the facility to click the medium pictures or even hover over the images which would then change the big picture on the same page. i have included an example of what i am trying to do. Currently i have not installed any picture mods but was hoping somebody could help or direct me to a contribution.

     

    Example : http://www.netclothing.net/index.php?act=v...p;productId=769

     

    Hope that makes sense.

     

    Thanks in advance

  13. Hi,

     

    I have gone through a contribution by [email protected] in order to add a 2nd comments box to my checkout. I have completed this but my 2nd comment box does not appear on my confirmation as well as not being added into the database. Currently i have the 2nd comment box (prescription details) appearing on the shipping page and the original (add comments about your order) appearing on the payment page. I fill both of these in, but when i go to confirmation my comments about my order appear but not my prescription details.

     

    Please could somebody help?

×
×
  • Create New...