Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Kristofor

Archived
  • Posts

    297
  • Joined

  • Last visited

Everything posted by Kristofor

  1. yeh, it is heaps easier. only thing is i can not figure out how to get php code used in the html file, hehehe Oh well
  2. Hi, I just installed sts and it works great, just one thing, i have this code from my old header.php and i want to use this in the sts template, how do i get this to work?? where do i put all this code, im just not sure cause the template file is a html file. here is the code <script language=JavaScript> </SCRIPT> <script language=JavaScript src="dropdown/menu_array.js" type=text/javascript></SCRIPT> <script language=JavaScript src="dropdown/mmenu.js" type=text/javascript></SCRIPT> <table border="0" width="100%" cellspacing="0" cellpadding="0"> ?<tr class="header"> ? ?<td rowspan="2" valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'righthere.jpg', 'RightHere I.T.'); ?></td> ? ?<td height="45"></td> ? ?<td></td> ? ?<tr><td class=Cart align="center" valign="middle" width="200"> <?php if (($cart->count_contents() == "0")) { echo "Your Cart is Empty!!"; ?><img src="images/cart.gif"> <?php }else{ ?> <?php echo $cart->count_contents(), ' Item(s) '; ?><?php echo $currencies->format($cart->show_total()); ?><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>" class="headerTop"><img border="0" src="images/cart.gif"></a></td> <?php } ?> </td><td width="200" bgcolor="#006699"></td></tr> ? ?</tr> </table> The only real problem is the fact i ahve php code in there, which needs to be used. So if someone call tell me what to do that would be great. Thanks Kristofor
  3. yeh, that looks good with the intel and amd stuff, looks much better than the old version,
  4. hmmm not, sure, i installed the new one, it works fine
  5. hey that is heaps good, everything seems to be working good, and it adds the computer to the cart properly too. when will you release this version.
  6. ok after installing this, if i have product attributes, then the right column gets shoved under the left column, wat did i do wrong?? has anyone else had this problem?
  7. ok after installing this, if i have product attributes, then the right column gets shoved under the left column, wat did i do wrong?? has anyone else had this problem?
  8. ahhh ok, i saw something mentioned but i wasnt sure if the problem had been fixed, how long do you expect to take before the next release??
  9. Hey, i just installed this, an di have been searching through all of the thread for an answer, im not sure if i missed it or not. but when i click on the amd build system it diverts to intel build, i did see it mentioned but im not sure what im ment to do to fix it, this is running on MS2, Can someone just explain to me what the problem is and what i need to do to fix it, thanks kristofor
  10. mmmmm..... so it could be because i have the admin access accounts installed, thing is if i put the stuff from the manual_order.php into any other box that box wont show up. im not sure what i have done wrong
  11. I just checked some of the code, and it is a problem with the column left or the actual box itself, i think it is just the box. but i cant figure out what is wrong with the box code, can someone help me?
  12. Ok, i installed this contribution, and i have one problem, now my column left does not show up. it is only since i installed this contribution, wat could be causing this??? let me know thanks kristofor
  13. well, i have tried x- sell and it still has some serious bugs in it to do with the languages, it doubles up everything, family products looks like it might be better
  14. ok, i tried this on my snapshot from april, but i have a problem, i go to sign up an account, and it never accepts the validation code, i enter it, and then hit continue and it virtually refreshes the page, with all fields accepted accept the validation, it just regenerates a new code, so i reenter that, and still when i hit continue refreshes again, whats wrong??
  15. hi, i just tried to add a ranom review for each product i display in this, but nothing show up, would it be a problem with variables or something, this is what i put into featured_products.php <?php $reviews = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . $HTTP_GET_VARS['products_id'] . "'"); $reviews_values = tep_db_fetch_array($reviews); ?> <tr> <td class="main" valign="top"><b>Reviews:</b></td> <td class="main"> <?php if ($reviews_values['count'] > 0) { echo '<a class="main" href="'; echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)) .'">'; echo 'Reviews:' . ' ' . $reviews_values['count']; echo '</a> | '; echo '<a class="main" href="'; echo tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, substr(tep_get_all_get_params(), 0, -1)) . '">'; echo 'Write a review'; echo '</a>'; $random_product = tep_random_select("select r.reviews_id, substring(rd.reviews_text, 1, 150) as reviews_text, r.reviews_rating, p.products_id, r.date_added, r.customers_name from " . TABLE_REVIEWS . " r, " . TABLE_REVIEWS_DESCRIPTION . " rd, " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_CATEGORIES . " c, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and r.reviews_id = rd.reviews_id and r.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and rd.languages_id = '" . $languages_id . "' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and r.approved = 1 order by r.reviews_id DESC limit " . MAX_RANDOM_SELECT_REVIEWS); if ($random_product) { // display random review box echo '<br><br>Rated:' . tep_image(DIR_WS_IMAGES . 'stars_' . $random_product['reviews_rating'] . '.gif' , sprintf(BOX_REVIEWS_TEXT_OF_5_STARS, $random_product['reviews_rating'])); echo 'by ' . $random_product['customers_name']; $review = htmlspecialchars($random_product['reviews_text']); echo '<br><i><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_INFO, 'products_id=' . $random_product['products_id'] . '&reviews_id=' . $random_product['reviews_id'], 'NONSSL') . '">' . $review . '....</a></i>'; } } ?> </td> </tr> it didnt work, so i thought it might be a variable problem or something, im not sure, cause it all it does is display Review: and then no review, can someone help,
  16. hi, can someone actually make a proper installation instructions for this, it says around line ... u will notice the changes, i cant follow what i am ment to change, in everything. can someone help me??? thanks
  17. that does exist, but my problem is different. i install it, and all my prices get screwed. they all show up as 0, i got noidea why this does that. but also, the code to go in column right is wrong. the code in column right is different. ok thanks kristofor
  18. would this be different if we arent using loaded 5. I didnt go for hat because it sometimes has trouble with adding mods, and isnt quite what i am looking for. The original files are not that hard to follow. im just not sure what to replace the code with. Thats all. thanks anyway kristofor
  19. hi, im sorry but i do not follow how to install this. You use the original pc creator but that just says u will notice the changes. i run a current snapshot and can someone please help me. like make it instructions like replace this .... with this..... So i actually know what i am replacing. thanks kristofor
  20. hi, i also get the same problem. and also there is a problem in the .sql file but i dont know what to do to fix it. I think that maybe the reason we cant get it to work. does anyone know whats going on?? thanks
  21. hi, i install the advanced guestbook and i cant get it working. i do the install thing and the tables go in, then it asks to set up the admin, i go to do that and i get a thing asking for username and password. i tried the defualt which is ment to be user: test pass: 123 that does not work, can someone help thanks kristofor
  22. hi, i got the expresspost drc v1 contribution and it doesnt work with the latest versions of os commerce, does someone know how to make it work??? thanks
  23. thats cool, i know you fixed those file for me but i had the same result, its not really urgent at the moment caus ei can survive with only the one extra price. i was just wonmdering thats all. ok thanks
×
×
  • Create New...