Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

broadstreetbully

Pioneers
  • Posts

    162
  • Joined

  • Last visited

Posts posted by broadstreetbully

  1. no matter what I do I keep getting The theme CSS file is the wrong version or missing! in my admin...I looked in the redmond theme folder and there is a jquery-ui-1.8.22.css AND a jquery-ui-1.8.6.css file(s) and that theme works correctly...but in my theme folder there is only a jquery-ui-1.8.2.css file...do I have the numbers wrong? should it be 1.8.0, 1.8.6, 1.8.22 or 1.9.0??

    and why is there 2 jquery-ui folders in the redmond theme folder and only one in my theme folder??

     

    the name of the custom theme I made/downloaded from Theme Roller is "jquery-ui-1.9.0.custom"....should all my files have "1.9.0"?

    which are the correct version numbers to go by/use?

  2. is there an updated/easy install instructions??

    i updated the jquery so all checks in admin are green but now when I try to apply the theme all my infoboxes /headers disappear...

    is there any instructions that tell you exactly how to make the custom themes work instead of "to add theme revert to #11-#13 in the instructions in 3.3"?

    it's kinda confusing...

     

    to get the new theme I made working what do I do?

    repeat the process from the instructions but use the new custom theme instead??

    when I select my custom theme I get the red "missing css file" in admin...

  3. small problem with the instructions on installation...

    in the installation PDF that came with the addon there's a part that says:

    12. Now go back to the main directory and open the directory named development-bundle
    inside it.
    13. Now open the directory named themes inside that.
    14. You should now see two directories: One named base and one named redmond. Open the
    redmond directory.
    [b][color=#ff0000]15. Find the file named jquery-ui-###.custom.css. Change the name of that file to jquery-ui-
    ###.css. Again, that file may already be named jquery-ui-###.css, in which case you have
    nothing to change.[/color][/b]
    

     

    for the part in red when I go to the "development-bundle>themes>redmond directory there is NO file named "jquery-ui-###.custom.css"....there are a bunch of files but not the one mentioned...the closest there is in the directory is a file named "jquery-ui.css" but it has no version number...

    there IS a file named "jquery-ui-###.custom.css" in the "js" directory though...could that possibly be the file?

  4. I'm trying to install the MATC addon but the conde in account_checkout does not match...

    the addon is here >-->http://addons.oscommerce.com/info/8205

     

    the instructions say this:

    post-242891-0-60911600-1347491533_thumb.png

     

    but my account_checkout.php looks like this:

    post-242891-0-13424400-1347491605_thumb.png

     

    the code circled is the part I'm suppossed to edit but if you looks at the instructions you'll see it is different...

     

    has anyone else had an issue installing this addon?

    I saw in other threads that people were having trouble installing the addon but none of their issues were similar to mine...........

     

    all help is appreciated.

  5. I downloaded and installed the Star Product Addon (here-http://addons.oscommerce.com/info/7833/v,23)

    and can't get it to look the way it does in the website-http://www.mindsparx.org/star_product_pimped_1.0/

    my site can be seen below

    I'm not exactly sure where to look to edit...css?

    it's a decent addon that looks nice if it works...anyone else try to install it and have trouble??

    post-242891-0-19049400-1347220733_thumb.png

     

    *EDIT-this addon will not work correctly on Chrome...works fine on Firefox....

  6. I'm installing Product Attribute Pictures v1.3 in OSC 2.3.1 and step 3 says the following:

     

    [b][i]Step 3 - [/i][/b]Open the file [u]catalog/admin/includes/boxes/catalog.php[/u]
    
    Add array(
    'code' => FILENAME_ATRIBUTOS_IMAGES,
    'title' => BOX_CATALOG_ATRIBUTO_IMAGES,
    'link' => tep_href_link(FILENAME_ATRIBUTOS_IMAGES)
    ),

     

    but it doesn't say where...I placed it like this under the FILENAME_PRODUCT_ATTRIBUTES, (is this the correct place?)

     

    <?php
    /*
     $Id$
     osCommerce, Open Source E-Commerce Solutions
     http://www.oscommerce.com
     Copyright (c) 2010 osCommerce
     Released under the GNU General Public License
    */
     $cl_box_groups[] = array(
       'heading' => BOX_HEADING_CATALOG,
       'apps' => array(
      array(
        'code' => FILENAME_CATEGORIES,
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS,
        'link' => tep_href_link(FILENAME_CATEGORIES)
      ),
      array(
        'code' => FILENAME_PRODUCTS_ATTRIBUTES,
        'title' => BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES,
        'link' => tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES)
      ),
      array(
        'code' => FILENAME_ATRIBUTOS_IMAGES,
        'title' => BOX_CATALOG_ATRIBUTO_IMAGES,
        'link' => tep_href_link(FILENAME_ATRIBUTOS_IMAGES)
      ),
      array(
        'code' => FILENAME_MANUFACTURERS,
        'title' => BOX_CATALOG_MANUFACTURERS,
        'link' => tep_href_link(FILENAME_MANUFACTURERS)
      ),
      array(
        'code' => FILENAME_REVIEWS,
        'title' => BOX_CATALOG_REVIEWS,
        'link' => tep_href_link(FILENAME_REVIEWS)
      ),
      array(
        'code' => FILENAME_SPECIALS,
        'title' => BOX_CATALOG_SPECIALS,
        'link' => tep_href_link(FILENAME_SPECIALS)
      ),
      array(
        'code' => FILENAME_DISCOUNT_CODES,
        'title' => BOX_CATALOG_DISCOUNT_CODE,
        'link' => tep_href_link(FILENAME_DISCOUNT_CODES)
      ),
      array(
        'code' => FILENAME_PRODUCTS_EXPECTED,
        'title' => BOX_CATALOG_PRODUCTS_EXPECTED,
        'link' => tep_href_link(FILENAME_PRODUCTS_EXPECTED)
      )
       )
     );
    ?>
    

     

     

    I hope it's right...also, some of the file names are in Spanish...would that cause any problems for an English site?

  7. I am using the "Free Shipping w/ Minimum Amount" addon but I am having a slight problem when it comes to international orders...

    Since international shipping is quite expensive I only offer free shipping to my USA customers.

    The module shows fine in the cart on the right-hand column...it shows how much you need to spend until you receive the free shipping...

    but since I only offer it to my USA customers I can't seem to find a way how to NOT show it for my international customers because when they see the free shipping it is misleading them because I do NOT ship international orders for free.

    I tried to enter the zone code for the country I want the free shipping to show but it still shows the"...amount until free shipping" for international customers.

    could someone help me figure a way to block it for my international customers?

    even though it does not give them or let them choose free shipping at checkout it still shows it in the cart while they are still shopping.

    I hate misleading or letting my customers down in any way...

    thanks in advance.

  8. Have I said something to upset everybody? All other posts seem to get replies but mine don't seem to appear on anybody else's radar! I've asked twice about these problems but not a single comment!

     

    save yourself the time and aggravation and stop whatever your trying to do with this contribution, work backwards to get it completely out of your store and move on. This contribution cause more problems than it's worth. the SQL queries are all screwed up, the Google API field where you enter the key doesn't show up in the admin...I hag it working for a little bit then it completely failed. Tried to install again and it's screwing up the SQL saying there's a "country_name" somewhere in the field and the store goes blank.....

    who cares where the customers are from as long as they're on your site....just my opinion tho....:angry:

  9. the css code that I added to my stylesheet is what was in the install file...I copy & pasted the code into the stylesheet. I'm thinking the "SPANproductinfosmall" is not correct also...

    here is the "paps_data_access.php" file...does this help?

     

     

    <?php
    /*
    $Id: catalog/includes/functions/paps_data_access.php,v 1.0 20:57:52 Nick Carter-Bond Exp $
    
    by hanuman at Open Source Services
    	Demo at http://www.lannathaicrafts.com/plywood-doubleroof-gilded-spirit-house-p-60.html
    Support and Forum at http://www.product-attribute-pictures.com/index.php/component/option,com_ccboard/Itemid,30/forum,3/view,topiclist/
    */
    
    function getAllPapsFilenames() {
    
    	$papsImageDir = DIR_FS_CATALOG . "images/paps";
    
    	$arrAllFilenames = array();
    
    	$allFileNames = array();
    	$dirHandler = opendir($papsImageDir);
    
    	while (false !== ($filename = readdir($dirHandler))) {
    		if(($filename != '.') && ($filename != '..')) {
    			$allFileNames[] = $filename;
    		}
    	}
    
    	closedir($dirHandler);
    
    	return $allFileNames;
    
    }
    
    function getHeadingSettings($attr_name, $product_id) {
    
    	$query_raw = tep_db_query("select show_att_name, show_att_vals from " . TABLE_PAPS_HEADINGS . " where product_id ='" . $product_id . "' and attr_name ='" . $attr_name . "'");
    	$query_results = tep_db_fetch_array($query_raw);
    	$arr = array("san" => $query_results['show_att_name'], "sav" => $query_results['show_att_vals']);
    	return $arr;
    }
    
    function getPicsPerRow($attr_name, $product_id) {
    	$query_raw = tep_db_query("select pics_in_row from " . TABLE_PAPS_HEADINGS . " where product_id ='" . $product_id . "' and attr_name ='" . $attr_name . "'");
    	$query_results = tep_db_fetch_array($query_raw);
    	$arr = array("pics_no" => $query_results['pics_in_row']);
    	return $arr;
    }
    
    		function getImageWs($attr_name, $product_id) {
    			$query_raw = tep_db_query("select thumb_w, large_w from " . TABLE_PAPS_HEADINGS . " where product_id ='" . $product_id . "' and attr_name ='" . $attr_name . "'");
    	$query_results = tep_db_fetch_array($query_raw);
    	$arr = array("t_w" => $query_results['thumb_w'], "m_w" => $query_results['large_w']);
    	return $arr;
    		}
    ?>

     

     

     

    also here is "paps.php"

     

    <?php
    /*
    $Id: catalog/admin/paps.php,v 1.0 20:57:52 NCB Exp $
    
    	by hanuman at Open Source Services
    Support and Forum at http://www.product-attribute-pictures.com/index.php/component/option,com_ccboard/Itemid,30/forum,3/view,topiclist/
    */
    require('includes/application_top.php');
    
    $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');
    
    $prod_id='';
    
    $unlink_pas = '';
    $arr_model_info = array();
    
    $products = tep_db_query("select p.products_id, p.products_model, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by p.products_model");
    
    while ($products_values = tep_db_fetch_array($products)) {
    	$arr_model_info[$products_values['products_model']] = $products_values['products_name'];
    }
    
    require(DIR_WS_CLASSES . 'paps_delegate.php');
    $paps_delegate = new paps_delegate();
    
    if (tep_not_null($action)) {
    
    switch ($action) {
    
    	case 'get_paps':
    
    		if((isset($HTTP_POST_VARS['product_names'])) && ($HTTP_POST_VARS['product_names'] != "default")) {
    			$prod_id = $HTTP_POST_VARS['product_names'];
    		} elseif((isset($HTTP_POST_VARS['product_model_nos'])) && ($HTTP_POST_VARS['product_model_nos'] != "default")) {
    			$prod_id = $HTTP_POST_VARS['product_model_nos'];
    		}
    
    		if(isset($HTTP_GET_VARS['prod_id'])) $prod_id = $HTTP_GET_VARS['prod_id'];
    
    		$arr_attrib_arrays = array();
    
    		if($prod_id != '') {
    				$arr_attrib_arrays = $paps_delegate->populateAttribArrays($prod_id);
    		}
    
    	break;
    
    	case 'delete_paps':
    
    		$chk_no = $HTTP_POST_VARS['chk_count'];
    		$prod_id = $HTTP_POST_VARS['prod_id'];
    			$files_to_delete = array();
    
    		for($i = 0; $i < $chk_no; $i++) {
    			$checkbox_id = 'check' . $i;
    			if(isset($HTTP_POST_VARS[$checkbox_id])) {
    				$files_to_delete[] = $HTTP_POST_VARS[$checkbox_id];
    			}
    		} 
    
    		if(count($files_to_delete) > 0) {
    			$paps_delegate->deletePics($files_to_delete);
    			}
    
    		tep_redirect(tep_href_link('paps.php', 'action=get_paps&prod_id='.$prod_id.'&delok=true'));
    
    	break;
    
    	case 'save_pap':
    
    			$attnames = $HTTP_POST_VARS['att_name'];
    			$att_vals = $HTTP_POST_VARS['att_val'];
    			$prod_id = $HTTP_POST_VARS['prod_id'];
    
    			$new_filenames = $paps_delegate->createFilenames(str_replace(' ','[',$attnames), str_replace(' ','[',$att_vals), $prod_id);
    
    			$save_path=DIR_FS_CATALOG . "images/paps/";
    
    			$file = $_FILES['userfile'];
    			$k = count($file['name']);
    			$uploads_error = false;
    
    			for($i=0 ; $i < $k ; $i++)
    			{	
    				if(isset($save_path) && $save_path!="")
    				{	
    					$name = split('/',$new_filenames[$i]);	
    
    					if (move_uploaded_file($file['tmp_name'][$i], $save_path . $name[count($name)-1])) {
    							//success
    					}
    				}		
    			}				
    
    	 tep_redirect(tep_href_link('paps.php', 'action=get_paps&prod_id='.$prod_id.'&savok=true'));
    
    
    
    	break;
    
    	case 'update_txt_disp':
    
    		if(isset($HTTP_POST_VARS['mn']) && isset($HTTP_POST_VARS['a_name']) && isset($HTTP_POST_VARS['san']) && isset($HTTP_POST_VARS['sav'])) {
    			$paps_delegate->updatePictureHeadings($HTTP_POST_VARS['mn'], $HTTP_POST_VARS['a_name'], $HTTP_POST_VARS['san'], $HTTP_POST_VARS['sav']);
    		}
    
    		if(isset($HTTP_POST_VARS['mn']) && isset($HTTP_POST_VARS['a_name']) && isset($HTTP_POST_VARS['pics_row'])) {
    			$paps_delegate->updatePicsPerRow($HTTP_POST_VARS['mn'], $HTTP_POST_VARS['a_name'], $HTTP_POST_VARS['pics_row']);	
    		}
    
    		if(isset($HTTP_POST_VARS['mn']) && isset($HTTP_POST_VARS['a_name']) && isset($HTTP_POST_VARS['t_wid']) && isset($HTTP_POST_VARS['m_wid'])) {
    			$paps_delegate->updatePicWidths($HTTP_POST_VARS['mn'], $HTTP_POST_VARS['t_wid'], $HTTP_POST_VARS['m_wid'], $HTTP_POST_VARS['a_name']);	
    		}
    
    		tep_redirect(tep_href_link('paps.php', 'action=get_paps&prod_id='.$HTTP_POST_VARS['mn']).'&utdok=true');
    	break;
    
    	case 'update_prod_globs':
    
    		if(isset($HTTP_POST_VARS['mn']) && isset($HTTP_POST_VARS['ulink'])) {
    				$paps_delegate->updateProductGlobals($HTTP_POST_VARS['mn'], $HTTP_POST_VARS['ulink']);
    		}
    		tep_redirect(tep_href_link('paps.php', 'action=get_paps&prod_id='.$HTTP_POST_VARS['mn'].'&updok=true'));
    	break;
    }
    }
    ?>
    <!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 TITLE; ?></title>
    <link rel="stylesheet" type="text/css" href="includes/stylesheet.css">
    <script language="javascript"><!--
    function go_option() {
    if (document.option_order_by.selected.options[document.option_order_by.selected.selectedIndex].value != "none") {
    location = "<?php echo tep_href_link(FILENAME_PRODUCTS_ATTRIBUTES, 'option_page=' . ($HTTP_GET_VARS['option_page'] ? $HTTP_GET_VARS['option_page'] : 1)); ?>&option_order_by="+document.option_order_by.selected.options[document.option_order_by.selected.selectedIndex].value;
    }
    }
    //--></script>
    </head>
    <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF">
    <!-- header //-->
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    
    <!-- body //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="1" class="columnLeft">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
    </table></td>
    <!-- body_text //-->
    <td width="100%" valign="top">
    	<table border="0" width="100%" cellspacing="0" cellpadding="0">
    <!-- //BODY OF HTML HERE!!!!! -->
    
    			<tr>
    				<td width="100%">
    				<table width="100%">
    				<tr>
    				<td align= "center"class="pageHeading"><br><?php echo PAPS_TITLE; ?>
    				</td>
    				<td align="right" class="smallText">
    					<table border="1" rules="none" frame="box">
    						<tr><td><a target="_blank" href="http://www.product-attribute-pictures.com/"><?php echo PAPS_UPGRADE; ?></a></td>
    						</tr>
    						<tr><td><a target="_blank" href="http://www.product-attribute-pictures.com/index.php/component/option,com_ccboard/Itemid,30/forum,3/view,topiclist/"><?php echo PAPS_SUPPORT; ?></a></td>
    						</tr>
    
    					</table>
    				</td>
    				</tr>
    				</table>
    				</td>
    			</tr>
    			<tr>
    				<td align="center">
    				<br>
    				<table>
    					<tr>
    				<td class="main"><?php echo PAPS_SELECT_PRODUCT_NAME; ?></td>
    				<td>
    					<form name="option" action="<?php echo tep_href_link(FILENAME_PAPS, 'action=get_paps', 'NONSSL'); ?>" method="post">
    					<select onChange="submit();" name="product_names">
    								<?php
    									$products = tep_db_query("select p.products_id, p.products_model, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by pd.products_name");
    									echo '<option SELECTED value="default">' . PAPS_CHOOSE . '</option>';
    									while ($products_values = tep_db_fetch_array($products)) {
    
    							 	echo '<option name="' . $products_values['products_name'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_name'] . '</option>';
    									} 
    								?>
    	</select> 	
    				</td>
    			</tr>
    			<tr>
    				<td class="main"><?php echo PAPS_SELECT_PRODUCT_NUMBER; ?></td>
    				<td>
    					<select onChange="submit();" name="product_model_nos">
    							<?php
    								$products = tep_db_query("select p.products_id, p.products_model, pd.products_name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where pd.products_id = p.products_id and pd.language_id = '" . $languages_id . "' order by p.products_model");
    								echo '<option SELECTED value="default">' . PAPS_CHOOSE . '</option>';
    								while ($products_values = tep_db_fetch_array($products)) {
    
    						 	echo '<option name="' . $products_values['products_model'] . '" value="' . $products_values['products_id'] . '">' . $products_values['products_model'] . '</option>';
    								} 
    							?>
    	</select>
    	</form>
    				</td>	
    				</tr>
    				</table>
    				</td>
    			</tr>
    
    <?php if($arr_attrib_arrays[0][0] != '') { 
    			$arr_globals = $paps_delegate->getProductGlobals($prod_id); 
    ?>
    
    			<tr>
    				<td class="main" align="center"><br><b><?php echo PAPS_CURRENT_PICS; ?><u>
    <!--					<?php echo $arr_model_info[$model_no] . ', Model No. ' . $model_no; ?> -->
    				<?php echo $paps_delegate->getProdName($prod_id) . ', Model No. ' . $paps_delegate->getProdModel($prod_id); ?>
    
    				</u></b>
    				</td>
    			</tr>
    			<tr>
    		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		</tr>
    		<?php if(isset($HTTP_GET_VARS['updok'])) { ?>
    			<tr>
    		<td class="smallText" align="center"><font color="green"><?php echo PAPS_UPD_SUCCESS; ?></font></td>
    		</tr>
    	<?php } ?> 
    			<tr>
    				<td align="center" valign="top">
    					<form name="prod_globs" action="<?php echo tep_href_link(FILENAME_PAPS, 'action=update_prod_globs', 'NONSSL'); ?>" method="post">
    					<table border="1">
    						<tr class="dataTableHeadingRow">
    							<td align="center" class="dataTableHeadingContent" colspan="3"><?php echo PAPS_GLOBAL_SETTINGS; ?>
    							</td>
    						</tr>
    						<tr class="dataTableHeadingRow">
    							<td class="dataTableHeadingContent"><?php echo PAPS_UNLINK_PAS; ?>
    							</td>
    							<td class="dataTableHeadingContent"><input type="radio" name="ulink" value="1" <?php if($arr_globals['unlink']) echo 'CHECKED'; ?>><?php echo PAPS_YES; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="radio" name="ulink" value="0" <?php if(!$arr_globals['unlink']) echo 'CHECKED'; ?>><?php echo PAPS_NO; ?></td>
    						</tr>
    						<tr class="dataTableHeadingRow">
    							<td align="center" class="dataTableHeadingContent" colspan="3">
    
    <input type="hidden" name="mn" value="<?php echo $prod_id; ?>" />
    							<?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?>
    							</td>
    						</tr>
    					</table>
    					</form>
    				</td>	
    			</tr>
    			<tr>
    		<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    		</tr>
    		<?php if(isset($HTTP_GET_VARS['delok'])) { ?>
    			<tr>
    		<td class="smallText" align="center"><font color="green"><?php echo PAPS_DEL_SUCCESS; ?></font></td>
    		</tr>
    	<?php } ?>
    		<?php if(isset($HTTP_GET_VARS['savok'])) { ?>
    			<tr>
    		<td class="smallText" align="center"><font color="green"><?php echo PAPS_FUL_SUCCESS; ?></font></td>
    		</tr>
    	<?php } ?>
    	<?php if(isset($HTTP_GET_VARS['utdok'])) { ?>
    			<tr>
    		<td class="smallText" align="center"><font color="green"><?php echo PAPS_UTD_SUCCESS; ?></font></td>
    		</tr>
    	<?php } ?>
    			<tr>	
    				<td>
    				<table width="100%">
    					<tr>	
    
    			<?php
     		for($i = 0; $i < count($arr_attrib_arrays); $i++) {
    			 ?>
    
    				<td valign="top" align="center" width="<?php 100/count($arr_attrib_arrays); ?>"><br><form name="option<?php echo $i; ?>" action="<?php echo tep_href_link(FILENAME_PAPS, 'action=delete_paps', 'NONSSL'); ?>" method="post">
    					<table align="center" border="1" rules="none" frame="box">
    						<tr class="dataTableHeadingRow">
    							<td class="dataTableHeadingContent" align="center">Attribute Name
    							</td>
    							<td class="dataTableHeadingContent" align="center">Attribute Value
    							</td>
    							<td class="dataTableHeadingContent" align="center">View
    							</td>
    							<td align="center"><img src='images/icons/delete.gif'/>
    							</td>
    						</tr>
    		 <?php
    		 	$rows = 0;
    		 	for($x = 0; $x < count($arr_attrib_arrays[$i]); $x++) { 
    
    		 		$rows++; ?>
    
    		 		<tr class="<?php echo (floor($rows/2) == ($rows/2) ? 'attributes-even' : 'attributes-odd'); ?>">
    		 			<td align="center"><?php if($x == 0) echo '<b>' . str_replace('[',' ',$arr_attrib_arrays[$i][$x]) . 's</b>'; ?>
    		 			</td>
    		 			<td><?php echo str_replace('[',' ',$paps_delegate->getAttributeOptionName($arr_attrib_arrays[$i][$x+1])); ?>
    		 			</td>
    		 			<td align="center"><?php if($x < count($arr_attrib_arrays[$i])-1)echo '<a class="headerLink" target="_blank" href="../images/paps/' . $arr_attrib_arrays[$i][$x+1] . '"><img src="images/icons/preview.gif"/></a>'; ?>
    		 			</td>																																		
    		 			<td align="center"><?php if($x < count($arr_attrib_arrays[$i])-1)echo '<input type="checkbox" name="check' . $x . '" value="' . $arr_attrib_arrays[$i][$x+1] . '" />';?>
    		 			</td>
    		 		</tr>
    
    
    		 	<?php		} ?>
    		 		<tr>
    		 			<td colspan="4" align="right">
    		 				<input type="hidden" name="chk_count" value="<?php echo (count($arr_attrib_arrays[$i])-1); ?>">
    <input type="hidden" name="prod_id" value="<?php echo $prod_id; ?>">
    		 				<?php echo tep_image_submit('button_delete.gif', IMAGE_DELETE); ?>
    
    		 			</td>
    		 		</tr>
    	 			</table>
    	 			</form>
    	 			<br>
    	 			<?php
    	 			$attr_display_arr = $paps_delegate->getAttributeHeaderDisplaySettings($arr_attrib_arrays[$i][0], $prod_id);
    	 			$pics_num = $paps_delegate->getMaxPicsPerRow($arr_attrib_arrays[$i][0], $prod_id);
    	 			$img_widths_arr = $paps_delegate->getImageWidths($arr_attrib_arrays[$i][0], $prod_id);
    	 			?>
    	 			<form name="txt_display<?php echo $i; ?>" action="<?php echo tep_href_link(FILENAME_PAPS, 'action=update_txt_disp', 'NONSSL'); ?>" method="post">
    					<table align="center" border="1" rules="none" frame="box" cellspacing="0">
    	 				<tr class="dataTableHeadingRow">
    	 					<td class="dataTableHeadingContent"><?php echo PAPS_SHOW_ATTRIBUTE_NAME; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="radio" name="san" value="1" <?php if($attr_display_arr['san']) echo 'CHECKED'; ?>><?php echo PAPS_YES; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="radio" name="san" value="0" <?php if(!$attr_display_arr['san']) echo 'CHECKED'; ?>><?php echo PAPS_NO; ?></td>
    	 				</tr>
    	 				<tr class="dataTableHeadingRow">
    	 					<td class="dataTableHeadingContent"><?php echo PAPS_SHOW_ATTRIBUTE_VALUES; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="radio" name="sav" value="1" <?php if($attr_display_arr['sav']) echo 'CHECKED'; ?>><?php echo PAPS_YES; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="radio" name="sav" value="0" <?php if(!$attr_display_arr['sav']) echo 'CHECKED'; ?>><?php echo PAPS_NO; ?></td>
    	 				</tr>
    
    	 				<tr class="dataTableHeadingRow">
    	 					<td class="dataTableHeadingContent" colspan="2"><?php echo PAPS_NUM_ROWS; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="text" name="pics_row" value="<?php if($pics_num['pics_no']!=''){echo $pics_num['pics_no'];}else{echo '3';} ?>" size="2"></td>
    	 				</tr>
    	 				<tr class="dataTableHeadingRow">
    	 					<td class="dataTableHeadingContent" colspan="2"><?php echo PAPS_THUMB_WIDTH; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="text" name="t_wid" value="<?php if($img_widths_arr['t_w']!=''){echo $img_widths_arr['t_w'];}else{echo '80';} ?>" size="2"></td>
    	 				</tr>
    	 				<tr class="dataTableHeadingRow">
    	 					<td class="dataTableHeadingContent" colspan="2"><?php echo PAPS_MAIN_WIDTH; ?></td>
    	 					<td class="dataTableHeadingContent"><input type="text" name="m_wid" value="<?php if($img_widths_arr['m_w']!=''){echo $img_widths_arr['m_w'];}else{echo '300';} ?>" size="2"></td>
    	 				</tr>
    	 				<tr class="dataTableHeadingRow">		 				
    	 					<td align="right" colspan="3">
    <input type="hidden" name="mn" value="<?php echo $prod_id; ?>" /> 
    	 						<input type="hidden" name="a_name" value="<?php echo $arr_attrib_arrays[$i][0]; ?>" />	
    	 						<?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?>
    	 					</td>
    	 				</tr>
    					</table>
    					</form>
    	 			<br>
    	 		</td>
    
    			<?php }?> 						
    			</tr>	
    			</table>
    			</tr>
    			<tr>
    				<td><?php echo tep_black_line(); ?>
    				</td>
    			</tr>
    			<?php } else if($prod_id != ''){ ?>
    			<tr>
    				<td><br><br><br><?php echo tep_black_line(); ?>
    				</td>
    			</tr>
    			<tr>
    				<td class="main" align="center"><br><b><?php echo PAPS_NO_PICS; ?><u>
    				<?php echo $paps_delegate->getProdName($prod_id) . ', Model No. ' . $paps_delegate->getProdModel($prod_id); ?>
    				</u></b>
    				</td>
    			</tr>
    			<tr>
    				<td><br><?php echo tep_black_line(); ?>
    				<br></td>
    			</tr>
    		<?php } if($prod_id != '') {?>			
    		<tr>
    				<td class="main" align="center"><br><b><?php echo PAPS_ADD_A_PAP; ?></b>
    				</td>
    			</tr>
    			<tr>
    				<td class="smallText" align="center"><?php echo PAPS_JPG_REMINDER; ?>
    				</td>
    			</tr>
    
    			<tr>
    				<td>
    					<table width="100%">
    					<tr>
    						<td align="center">
    							<form enctype="multipart/form-data" action="<?php echo tep_href_link(FILENAME_PAPS, 'action=save_pap', 'NONSSL'); ?>" method="POST">
    								<table align="center" border="1" rules="none" frame="box">
    
    			<tr>
    				<td colspan="3" align="right"></td>
    			</tr>
    			<tr class="dataTableHeadingRow">
    				<td class="dataTableHeadingContent" align="center"><?php echo PAPS_ATTRIBUTE_NAME; ?></td>
    				<td class="dataTableHeadingContent" align="center"><?php echo PAPS_ATTRIBUTE_VALUE; ?></td>
    				<td class="dataTableHeadingContent" align="center"><?php echo PAPS_FILE; ?></td>
    			</tr>
    
    			<?php for($i=0; $i < 5; $i++) { ?>
    				<tr class="attributes-even">
    					<td align="right"><input type="text" name="att_name[<?php echo $i; ?>]"/></td>
    					<td align="center"><input type="text" name="att_val[<?php echo $i; ?>]"/></td>	
    					<td align="left"><input type="file" name="userfile[<?php echo $i; ?>]"></td>
    				</tr>					
    			<?php } ?>
    
    			<tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    	</tr>
    
    			<tr>
    				<td colspan="3" align="center">
    <input type="hidden" name="prod_id" value="<?php echo $prod_id; ?>" />
    					<?php echo tep_image_submit('button_upload.gif', IMAGE_UPLOAD); ?>
    				</td>
    			</tr>
    		</table>
    							</form>
    							</td>
    						</tr>
    					</table>
    				</td>
    			</tr>
    
    <?php } ?>
    <!-- //END OF BODY OF HTML!!!!! -->
    <tr>
    	<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
    	</tr>
    
    </table>
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

  10. I recently installed the "Product Attribute Pictures" and everything is working fine, but I can't seem to figure out how to get the fonts from the PAP's to match my product info fonts. The PAP's fints are bigger and (look like) a different font style. I went into the stylesheet as instructed to in the installation directions to add a piece of css code for the addon but it doesn't work.

     

    text.png

    as you can see the fonts circled in red are not the same (size) as the fonts circled in green. I need all the fonts to be the same as the once circled in green. I tried everything I could think of and even used Firebug to try to figure it out but still no luck.

     

    csscode.png

    above is the piece of code I added to the stylesheet as directed in the install instructions. they did not work and-not sure if this means anything-they stayed this blue color. Usually when I add code it changed colors...the "font-family/size/color" usually turns black like the rest of the stylesheet, the "SPAN" text turn pink or purple and the "{}" turn green....these stayed blue? is this because the code is not working?

     

    My store is almost finished and I want to get this fixed so any help is greatly appreciated. Thanks.

  11. After instaling:

    In admin>configuration>Slideshow>Loading Div

    *Modify

     

    Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /homepages/*/htdocs/admin/configuration.php(125) : eval()'d code on line 1
    Parse error: syntax error, unexpected ')' in /homepages/*/htdocs/admin/configuration.php(125) : eval()'d code on line 1

     

     

     

     

     

     

    On the mail page, index.php there is no slideshow of any tipe.

     

    I have the same problem....I'm begining to think this addon is garbage.

  12. I haven't been able to find a simple answer to this question: is there any way to make the thumbnails bigger for the product info page? they are all the same small size and it doesn't look too good when your product info picture is only about 100x100px. Plus the watermark doesn't work. Thanks in advance.

     

    ***EDIT:

    scratch that. after seeing all these problems everyone else is having+I can't get a decent-sized product info page image I'm just removing the addon. Is there a way to remove oscThumb from my database so the "oscThumb" in my backend/admin will be removed?

  13. I just wish I could get an answer to the problems I outlined in the start to this thread :(

     

    You ain't lying!! I just need to know how to get the "Admin->My Store->Enter Google API Code" thing to work. It's not showing in my Admin.

    Plus the queries keep throwing up an ERROR.....this is madness.....

    in my "Who's Online" in my Admin everything seems to be there but when I click "Show Map" I get a popup saying I need to get an API from Google......

    I have the API Key....just can't put it anywhere.....dammit.....

  14. Hi,

     

    I am a newbie in this so this may be a dumb question. Everything seems to be working fine except the icons are appearing above the product name on every page. I checked and added the code in the correct section (underneath This product was added to our catalog on XXX).

     

    Any ideas?

     

    Thanks in advance.

     

    I'm having the same problem with the icons appearing above the product & product name (just below the header)....I installed on a vanilla site so I can't figure out why the icons are in the wrong place...I'm using the same contribution on another one of my sites and it's perfect.....any ideas anyone?????

  15. I'm still trying to figure out why you would place a link on the oscommerce store's front page to "the main html shop" site then make Paypal buttons on the html site when oscommerce does everything for you........to edit the "front page" -called index page or index.php- go into your admin>tools>define languages. there you will see a list of php files. click on "index.php" and that controls the text in the body of the front page. there is where you add or edit the text. My suggestion to you would be the same as Ben said and start with the basic configuration of the store....don't jump back and forth from the index page to the Paypal module to making links....start one task and complete it then move onto the next. Also, do NOT put space between any code....that will screw up everything then you'll really be f***ed. This link is to the OsCommerce "Knowledge Base" >CLICK ME< and there is help for everything under the stock install broken down into topics for you to follow. It can be a bit confusing if you are new to OsCommerce.....I understand that....but if it is indeed too much for you to handle or if you don't have the time you can always hire someone to do it for you or go with a different e-commerce solution...there are alternatives that let you drag & drop all the features you want for your store and you don't need any html/php knowledge at all to make a store....the downside is that you MUST use the designs that are pre-made and extremely common and you have to pay for EVERYTHING. If I were you I would uninstall your store, re-install it and start with the knowledge base. if you get stuck on something look in the forum for a topic that states the same problem you are having....if you can't find one then create a new topic asking THE QUESTION YOU NEED AN ANSWER FOR....not "I don't believe it" because most people will ignore it.

×
×
  • Create New...