Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 11 votes

How Do I ...? All the basic install questions regularly asked...


562 replies to this topic

#381 brewstec

  • Community Member
  • 4 posts
  • Real Name:chris
  • Gender:Male

Posted 01 August 2009, 18:24

This is the first time using a host to upload files etc. I have WYSNC mostly. All this info is extremely helpful. I have one little question.
You say to go to such pages as

catalog/admin/inculdes/languages/LanguageNAME

I don't have any idea what or where this is. I might not knowingly know but not so much. How do I get to these pages.

Thank for the time yoiu spent on this stuff.

#382 gorjdesign

  • Community Member
  • 75 posts
  • Real Name:gorjdesign

Posted 20 August 2009, 17:21

How can i modify the size of the tables, for example, i have 3 tables, 1 left, 1 center and 1 right, and i would like the center one to be bigger- but the other 2 to have the same size .

#383 nikedunks

  • Community Member
  • 8 posts
  • Real Name:Pavel

Posted 21 August 2009, 12:43

Hi! Need help from osc gurus :) There is problem with product_info page. Attribute of product goes after description but I need to to change their places. When I try to did it, nothing work, may be because in my template file attribute code located after "Not editable part".
Here is the code of my product_info php, hope for your help guys
<?php
/*
  $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $

  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 TITLE; ?></title>
<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<script language="javascript"><!--
function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res
izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le
ft=150')
}
//--></script>
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->

<!-- body //-->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
<!-- 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 cellspacing=0 cellpadding=0 width=100%><tr><td align=left>

				 

	
					
	
<?php
  if ($product_check['total'] < 1) {
?>
	 <table border="0" width="100%" cellspacing="0" cellpadding="0"> 
	  <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>
	  </table>
<?php
  } else {
	$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, 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 . "'");
	$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 pr_price  style="color:#FEFEFE; font-size:11px">' . $currencies->display_price($product_info['products_price'], tep_get_tax_rate($product_info['products_tax_class_id'])) . '</s><br><span class=pr_price>' . $currencies->display_price($new_price, tep_get_tax_rate($product_info['products_tax_class_id'])) . '</span>';
	} else {
	  $products_price ='<span pr_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'];
	}
?>

	 <table cellspacing=0 cellpadding=0 width=488 valign=top>
	  <tr><td background=images/m32.gif width=488 height=10></td></tr>
	  <tr><td background=images/m34.gif style="padding-left: 23px"><span class=ch2>product</span></td></tr>
	  <tr><td background=images/m33.gif width=488 height=8></td></tr>
	  <tr><td width=1></td></tr>
	  <tr><td width=488 valign=top>
	   <table cellspacing=0 cellpadding=0 width=488>
		<tr><td width=242>
		 <table cellspacing=0 cellpadding=0 width=242 class=bg4>
		  <tr><td background=images/m35.gif width=242 height=8 colspan=2></td></tr>
		  <tr><td width=5></td>
		  <td background=images/m55.gif width=232 height=310 align=center>




<!-- display image -->
<?php
	if (tep_not_null($product_info['products_image'])) {
?>
		  <table cellspacing="0" cellpadding="2" align="center">
			<tr>
			  <td align="center" class="smallText">
<script language="javascript"><!--
document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), 215, 215, ' hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');
//--></script>
<noscript>
<?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], 215, 215, ' hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>
</noscript>
			  </td>
			</tr>
		  </table>
<?php
	}
?>
<!--end display image -->


		  </td>

</tr>
		  <tr><td background=images/m36.gif width=242 height=9 colspan=2></td></tr>
		 </table>
		</td>
		<td width=1></td>

		<td width=242 valign=top>
		 <table cellspacing=0 cellpadding=0 width=242 class=bg4>
		  <tr><td background=images/m35.gif width=242 height=8 colspan=3></td></tr>
		  <tr><td width=5></td>
		  <td valign=top>
		   <table cellspacing=0 cellpadding=0 style="padding-left: 12px">
			<tr><td height=3></td></tr>
			<tr><td class=ch4><span class=pr_name><?=$products_name?></span>&nbsp;Changing options should be there!!!</td></tr>
			<tr><td height=10></td></tr>
			<tr><td class=ch4>	
</td></tr>

		   
		   <tr><td height=4></td></tr>   
		 			<tr><td height=11></td></tr>
			<tr><td align=right style="padding-right: 35px"><img src=images/m40.gif width=88 height=1></td></tr>
			<tr><td height=5></td></tr>
			<tr><td class=ch5 align=right style="padding-right: 50px"><?=$products_price?></td></tr>
			<tr><td height=5></td></tr>
			<tr><td align=right style="padding-right: 35px"><img src=images/m40.gif width=88 height=1></td></tr>
			<tr><td height=10></td></tr>
			<tr><td align=right style="padding-right: 35px"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW); ?> <a href=<?=tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS)?> </a></td></tr>
		   </table>
		  </td>
		  <td width=5></td></tr>
		  <tr><td background=images/m36.gif width=242 height=9 colspan=3></td></tr>
		 </table>
		</td></tr>
		<tr><td height=2 colspan=3></td></tr>
		<tr><td width=488 valign=top colspan=3>
		 <table cellspacing=0 cellpadding=0 width=488 class=bg6>
		  <tr><td background=images/m57.gif width=488 height=9 colspan=3></td></tr>
		  <tr><td width=8></td>
		  <td valign=top>
		   <table cellspacing=0 cellpadding=0 style="padding-left: 12px">
			<tr><td height=3></td></tr>
			<tr><td class=ch4>

<?php echo stripslashes($product_info['products_description']); ?><br><br>
					  </td></tr>
			<tr><td height=15></td></tr>
		   </table>
		  </td>
		  <td width=10></td></tr>
		  <tr><td background=images/m58.gif width=488 height=10 colspan=3></td></tr>
		 </table>
		</td></tr>
	   </table>
	  </td></tr>
	 </table>




<!----------------------- Not editable part -------------------------------->
		 
	  <tr><td>

		<?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) {
?>				
			<tr>
			  <td class="main" colspan="2"><?php echo TEXT_PRODUCT_OPTIONS; ?></td>
			</tr>


<?
	if ($product_info['products_date_available'] > date('Y-m-d H:i:s'))
	 echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available']));
	else 
	 echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));
?> 

<?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
	}

?>
<!--
	  <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 class="main"><?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>'; ?></td>
				<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . 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></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 //-->
  </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>


#384 caniol

  • Community Member
  • 72 posts
  • Real Name:Charles Aniol
  • Gender:Male
  • Location:Phoenix, AZ USA

Posted 23 August 2009, 20:35

How do you add a "close window" function to the Product Popup Image?

#385 germ

  • Community Member
  • 13,581 posts
  • Real Name:Jim
  • Gender:Male
  • Location:USA (GMT-6)

Posted 23 August 2009, 21:42

At the bottom of /catalog/popup_image.php just BEFORE the </body> tag ADD this code:

<p class="smallText" align="center"><?php echo '<a href="java script:window.close()">' . 'Close Window</a>'; ?></p>
The forum screws up the code I posted, you MUST remove the space between java and script or it won't work.

Always backup a file before making edits.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

"Headers already sent" - The definitive help

"Cannot redeclare ..." - How to find/fix it

SSL Implementation Help

Like this post? "Like" it again over there >

#386 caniol

  • Community Member
  • 72 posts
  • Real Name:Charles Aniol
  • Gender:Male
  • Location:Phoenix, AZ USA

Posted 24 August 2009, 17:36

View Postgerm, on Aug 23 2009, 02:42 PM, said:

At the bottom of /catalog/popup_image.php just BEFORE the </body> tag ADD this code:

<p class="smallText" align="center"><?php echo '<a href="java script:window.close()">' . 'Close Window</a>'; ?></p>
The forum screws up the code I posted, you MUST remove the space between java and script or it won't work.

Always backup a file before making edits.

Thanks Germ! That's exactly what I needed.

#387 dtmp

  • Community Member
  • 20 posts
  • Real Name:David Taylor

Posted 26 August 2009, 14:32

Here's another handy utility for finding those pesky little CSS elements that you'd like to customize.

It's an addon to Firefox called Firebug. It not only will show you the CSS element, it will show you exactly what line in your css file the element is calling!

#388 Lestat138

  • Community Member
  • 8 posts
  • Real Name:Herb

Posted 28 August 2009, 01:32

How do I change the Banner at the bottom with one of my own? I figured it would be easy like changing the header, but I cant find oscommerce.gif in order to change t to my banner title.

#389 drumcentral

  • Community Member
  • 51 posts
  • Real Name:Kenny
  • Location:Scotland

Posted 28 August 2009, 11:59

View PostLestat138, on Aug 28 2009, 02:32 AM, said:

How do I change the Banner at the bottom with one of my own? I figured it would be easy like changing the header, but I cant find oscommerce.gif in order to change t to my banner title.

Hi There.
Here's the way I did it.
Open the file: includes/footer.php
Look for the part of the code that looks similar to mine. (around line 25)
You can see that I changed the banner size to 468x 60 which is a standard size.

[code]
<?php
  if ($banner = tep_banner_exists('dynamic', '468x60')) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="10">
  <tr>
	<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
  </tr>
</table>
<?php
  }
?>
[/code]

Then go into your admin banner manager and enter a new banner group with the size 468x60.
Then just create a text or image banner.
I've used the same bit of code to show ads in the left and right columns, with sizes 120x240 and 125x125.
My site is at www.drumcentral.co.uk
You'll see the 125x125 ad at the bottom of the left column and the 120x240 ad in the right column, as well as the 468x60 in the footer.
If you reload the page you'll see different ads each time.

Hope this helps

Kenny
--------------------------------------------------------------------------------------------------

#390 Lestat138

  • Community Member
  • 8 posts
  • Real Name:Herb

Posted 07 September 2009, 19:14

View PostJack_mcs, on May 3 2008, 11:37 PM, said:

Take a look in the includes/languges/english.php file.

Jack



I tried to get rid f the main page text and it made my entire front page blank. Im a newbie and this programing is extremly frustrating. Does anyone know where I might be able to get some simple templates? or perhaps get another shopping cart system that is actually set up properly?

It seems like in order to run this program you need to already know PHP programing or forget it.

Im fucking lost and agrivated beyond comprehension right now ready to rip my air out. I also tried to install a define main page but there are so many different directories with the same names im completly confused. if NAYONE can help me out I would really appreciate it. I cant believe how fucking ASS BACKwards this program is.

This is like getting photoshop, but in order to get It to work you need to log into it and set up your tools and design the whole program in order to just use it.

WHY DO THEY MAKE A PROGRAM THAT DOESNT WORK ON ITS OWN ALREADY?A

#391 Lestat138

  • Community Member
  • 8 posts
  • Real Name:Herb

Posted 07 September 2009, 20:03

I tried to get rid of the main page text and it made my entire front page blank. Im a newbie and this programing is extremly frustrating. Does anyone know where I might be able to get some simple templates? or perhaps get another shopping cart system that is actually set up properly?

It seems like in order to run this program you need to already know PHP programing or forget it.

Im fucking lost and agrivated beyond comprehension right now ready to rip my air out. I also tried to install a define main page but there are so many different directories with the same names im completly confused. if NAYONE can help me out I would really appreciate it. I cant believe how fucking ASS BACKwards this program is.

This is like getting photoshop, but in order to get It to work you need to log into it and set up your tools and design the whole program in order to just use it.

WHY DO THEY MAKE A PROGRAM THAT DOESNT WORK ON ITS OWN ALREADY?

#392 chiger

  • Community Member
  • 6 posts
  • Real Name:JDB Knives
  • Gender:Male
  • Location:Western Kentucky

Posted 10 September 2009, 15:39

View PostLestat138, on Sep 7 2009, 09:03 PM, said:

I tried to get rid of the main page text and it made my entire front page blank. Im a newbie and this programing is extremly frustrating. Does anyone know where I might be able to get some simple templates? or perhaps get another shopping cart system that is actually set up properly?

It seems like in order to run this program you need to already know PHP programing or forget it.

Im fucking lost and agrivated beyond comprehension right now ready to rip my air out. I also tried to install a define main page but there are so many different directories with the same names im completly confused. if NAYONE can help me out I would really appreciate it. I cant believe how fucking ASS BACKwards this program is.

This is like getting photoshop, but in order to get It to work you need to log into it and set up your tools and design the whole program in order to just use it.

WHY DO THEY MAKE A PROGRAM THAT DOESNT WORK ON ITS OWN ALREADY?


Hey Lestat,

I had the same problem...but don't sweat it. It's just a simple syntax error. You are editing server side language with this stuff and it doesn't like certain things. Somewhere in your text you have put a comma ' without putting a backslash \ in front of it. Something like there's has to be written as there\'s or the server goes all hinky. At least that's the most common problem I have.

Comma's mark the beginning and end of functions, text...everything within definitions. It basically means START or STOP elements inside the brackets to the program. If it's told to stop and not to start again it hangs up. Same with parenthesis. If there is a ( left parenthesis, somewhere there has to be a ); right parenthesis and semicolon to end it. Just the way it works.

I understand your frustration. It doesn't have a debugger so the problem is hard to diagnose for a novice. Which I am, but I'm accustom to programming and know how much compilers like things to be just so. The good news is...you do not even want to know how much code writing something like this cool little osCommerce program saves us. I would have to write 10's of thousands of lines of Cobol or C++ code to get the same thing done and then integrate it into htiml. But it can be frustrating not to get error codes.

Hope that helps. Good luck.

chiger,
chiger,

"I am prepared to prove at any moment that I am not the man my education has conspired to make of me."

Franz Kafka

#393 natuke

  • Community Member
  • 8 posts
  • Real Name:Nata

Posted 10 September 2009, 21:27

HOW EXACTLY DO YOU RESTORE YOUR SHOP?
Ok, I am doing everything for the first time, completely new to php or mysql... :blush:

so sorry, if it's just very easy and I don't get it...

I am restoring my webshop... so I

1 reinstalled the os commerce
2 copied my old stylesheet, images, language files...
3 then tried to restore database - went to tools - backups - restore and uploaded the database file that I've saved before... well, nothing happened - I still don't have neither categories, nor customers or orders. AM I MISSING SOMETHING???

thanx for all your help :huh:

Edited by natuke, 10 September 2009, 21:27.


#394 natuke

  • Community Member
  • 8 posts
  • Real Name:Nata

Posted 11 September 2009, 05:18

View Postnatuke, on Sep 10 2009, 09:27 PM, said:

HOW EXACTLY DO YOU RESTORE YOUR SHOP?
Ok, I am doing everything for the first time, completely new to php or mysql... :blush:

so sorry, if it's just very easy and I don't get it...

I am restoring my webshop... so I

1 reinstalled the os commerce
2 copied my old stylesheet, images, language files...
3 then tried to restore database - went to tools - backups - restore and uploaded the database file that I've saved before... well, nothing happened - I still don't have neither categories, nor customers or orders. AM I MISSING SOMETHING???

thanx for all your help :huh:
plz guys it's very important, may be someone has a good link to read? I think I've looked through the documentation and the forum and I still haven't found the answer :blink: It's a heck a lot info to restore :(

#395 drumcentral

  • Community Member
  • 51 posts
  • Real Name:Kenny
  • Location:Scotland

Posted 11 September 2009, 12:07

Hi there.

Sorry to hear about your web site problems.
it can be very VERY frustrating, dealing with PHP,MYSQL,HTML,CSS...... etc, especially if you're relatively new to this.
it may be something simple, but it's worth looking into.

When you restored your files, are they in exactly the same place as they were previously?
For example, are they in a folder on your server (your_server/oscommerce/) or a different folder?
Is the folder named the same as before?

That can mean that the files just wont work if they're in the wrong place.
You also have to make sure that the permissions for all the files are correct.

But it could be any other minor/major problem.

Does the database have the same name?

Can you post the web address of your site, or where it should be?

You can also email me at webmaster@drumcentral.co.uk if you like.
--------------------------------------------------------------------------------------------------

#396 cLin

  • Community Member
  • 30 posts
  • Real Name:chris l

Posted 15 September 2009, 20:49

When you add an item to your cart and you checkout, before you login you are shown a page listing all your items. Is it possible to a) change the remove checkbox into a link so I can just click the link to remove the item and B) add the price of the item into the columns, preferably next to qty?

Or are there any threads on it? Been trying to search for them.

Edited by cLin, 15 September 2009, 20:50.


#397 ClearSkyDomains

  • Community Member
  • 4 posts
  • Real Name:Jonathan

Posted 24 September 2009, 18:06

Hello all,

I'm new to osC, but I've manged to install and configure several contributions. It's really cool stuff, by the way!!

My question is; since my store doesn't ship products I don't need to collect street addresses, or phone numbers, etc.

Is there a way to edit the default customer details, street address, city, state, etc. And change the "required information" status to false?

Thanks for looking!

Best Regards,
Jonathan Martin
ClearSkyDomains.com

#398 azetect

  • Community Member
  • 2 posts
  • Real Name:edison

Posted 25 September 2009, 11:09

hi every one.

i got few question here to ask


1)currently i'am using os commerce 3.0 but not yet setup payment stuff so whats the difference with 2.2 rc2a and 2.2 rc2 or which one is better?

2) how to know confirm my os commerce 3 is fully working with paypal? ( i been using paypal sandbox develop section but i have no idea how to setup my os commerce link with paypal)



thanks for your time to get me a reply :)

#399 ClearSkyDomains

  • Community Member
  • 4 posts
  • Real Name:Jonathan

Posted 26 September 2009, 03:39

View PostClearSkyDomains, on Sep 24 2009, 01:06 PM, said:

Hello all,

I'm new to osC, but I've manged to install and configure several contributions. It's really cool stuff, by the way!!

My question is; since my store doesn't ship products I don't need to collect street addresses, or phone numbers, etc.

Is there a way to edit the default customer details, street address, city, state, etc. And change the "required information" status to false?

Thanks for looking!

Best Regards,
Jonathan Martin
ClearSkyDomains.com

To answer my own question I found two contributions that were very useful.

1. Required Customer Details - http://addons.oscommerce.com/info/5407
2. Customers extra fields - http://addons.oscommerce.com/info/3737

The first contribution gives you a choice for all of the default customer details to be required, optional, or hidden.

The second contribution allows you create additional fields for other information you may want to gather from your customers. It also gives you the option to make your new fields required or optional.

Thanks for looking! Hope this helps!!

#400 twistedstar

  • Community Member
  • 20 posts
  • Real Name:Suzanne Lindstrom
  • Gender:Male
  • Location:England

Posted 27 September 2009, 16:34

View PostClearSkyDomains, on Sep 26 2009, 04:39 AM, said:

To answer my own question I found two contributions that were very useful.

1. Required Customer Details - http://addons.oscommerce.com/info/5407
2. Customers extra fields - http://addons.oscommerce.com/info/3737

The first contribution gives you a choice for all of the default customer details to be required, optional, or hidden.

The second contribution allows you create additional fields for other information you may want to gather from your customers. It also gives you the option to make your new fields required or optional.

Thanks for looking! Hope this helps!!



Hi All

I have been going around in circles for days now anf getting rather dizzy and racked off with it all. I too agree with the post below in regards to newbies.

What I am trying to do is add order forms and drop down boxes into each product that I have listed.

I am not a osc prof and I have no idea on coding, but having somebody trying to help with basic knowledge.

Can somebody please help.

We have tried what Sam said to do but we are using a template and the code that he is saying change just dont exist on this.

Thanks