Latest News: (loading..)

KomplikatedOne

Members
  • Content count

    29
  • Joined

  • Last visited

1 Follower

About KomplikatedOne

Profile Information

  • Real Name
    kieren brown
  1. encountered the same step8: these 2 files do not exist step11: i found osc_template.php in includes/classes/ step13: i am unable to find the line "new infoBox($info_box_contents);" in any file in oscomerce except one of the daily specials files i had just copied over i also have issue with 2nd part of .. step17: where it says " FIND (around line 44), <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_specials.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr>" i cant find this code within this file
  2. Hello all I am having an intermitant issue with orders going astray with customer using our osc sites. We use a securehosting payment page, customers are sent to this to take credit card details, then they should be sent back to the checkout_success.php 99% of orders placed it works correctly and this occurs, but on the remaining 1% of orders placed the customers payment is taken by securehosting, but they are not returned to the checkout_success.php and as a result no order is generated in oscommerce. no emails etc are sent either obviously, so we have no idea we have received an order until chased by customer. the items customer has ordered remain in their basket. from the customers we have been able to get feedback from, it usually looks as website has timed out.. it could be the case? basically just wondered if anyone else has experienced this with securehosting or any other payment gateway, and if they have how do they deal with it? many thanks k
  3. ok issue is in order.php somewhere, as works with untouched version
  4. sorry if this has been covered but with 101 pages of discussion i got bored of looking has anyone encountered problems with the attributes no longer appearing at the checkout_confirmation.php stage? i havent got a huge amount of mods on my site, and QTPro is the only one i can see mentioned on any of the files used by the checkout process shows item model and item name, price info etc but attributes field is blank, i am in process of revertting files back to standard to see if i can identify on which one the problem is
  5. ok think it might be a problem with the stock contribution i am using, as doesnt show attributes on the checkout_confirmation.php page either and thats the only thing i can think of that might effect it
  6. ok after a few more hours i have managed to slap something together have added the following code to the securehosting.php file it does some math on the tax field and adds it to the final total value around line 138 //new bit to check if tax value exists, if so it adds to the total, otherwise does $tax = $order->products[$i]['tax']; $unit_price = $order->products[$i]['final_price']; $item_tax = $unit_price * $tax /100 ; $item_price = $unit_price + $item_tax ; $item_price = round($item_price,2); $prod_total=$item_price*$order->products[$i]['qty']; // replaced this line with above --- $prod_total=$order->products[$i]['final_price']*$order->products[$i]['qty']; $this_item.=$this_name.'|'.$item_price.'|'.$order->products[$i]['qty'].'|'.$prod_total.']'; // and replaced this low with above ----- $this_item.=$this_name.'|'.$order->products[$i]['final_price'].'|'.$order->products[$i]['qty'].'|'.$prod_total.']'; $secuitems.=$this_item; now just to work our why attributes are not coming across
  7. hello all having some problems with my securehosting payment page. its essentially working, but i need to make a couple of changes to stop it looking so confusing to customers. - the item totals thoughout my site are configured so they display including the VAT, this is working correctly, but the securehosting payment page shows them excluding VAT. i cannot just add 20% to all values before they are passed over as we also sell childrens items that are not VATable. i need to either get it pull through the price inc VAT, or add an if clause to the correct place, but struggling to see where its even passing over the unit price? - also the attributes values are not being brought over to the securehositng payment page either, item codes and descriptions are there, but just a blank space where the colour/size should be. the code there looks to be correct (apart from fact its getting data from a table that doesnt contain the actual order yet?) have spent several hours now trying to get my head round this, but not getting very far as 1. cant see how the variables on the securehosting payment page os_template.html are being populated 2. Confused as it appears securehosting.php is getting data from unpopulated order tables? 3. no where in code on securehosting.php is there a unit price code at all, only total item price (price*qty) anyway i am hoping there are a few others out there who use securehosting might be able to point me in right direction thanks
  8. gotcha, cheers
  9. as it still wont let me add files to contributions i have attached a new install.txt file that contains updated instructions for v2.3.1 ive also added a little variable to make the changing of the time frame a bit easier install.txt
  10. i am trying to add an update file to an existing contribution yet no matter what i try it wont allow me to log in? keeps telling me username or password are incorrect i have done a password reset, and as you can see i am able to log into forums ok yes and cookies are enabled short of creating another account not sure what else to try any ideas?
  11. got this to work eventually, the current instructions are a bit out of date due to the version change for the most the original instructions work apart from.. step 4 i had to place the code elsewhere look for the 2nd appearance of this line case 'PRODUCT_LIST_NAME': and place the code directly beneath on step 5 you are looking for the line: } else { $products_price = $currencies->display_price($products_new['products_price'], tep_get_tax_rate($products_new['products_tax_class_id'])); } and adding the line directly underneath that on step 8, the last part, you looking for a line containining: <h1><?php echo $products_name; ?></h1> and change to <h1><?php echo $img_new_product . $products_name; ?></h1> ill add note to the contribution if it will let me
  12. ok cracked that aswell withing /ext/jquery/fancybox/jquery.fancybox-1.3.4.pack.js search for titleShow:true and change to titleShow:false
  13. it was fairly straight forward to get a mouseover to show "click to enlarge" just alter the following code in product_info.php $pi_entry .= '" target="_blank" rel="fancybox" >' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>'; and change it to $pi_entry .= '" target="_blank" rel="fancybox" title="Click to Enlarge">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>'; the problem i am having at moment is that once image is loaded it shows a caption undernneath it that says "click to enlarge" currently working on removing this, or at least tricking it to be blank
  14. ive got this working perfectly in firefox and chrome, using : ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "orders.php") && but in IE8, its not applying any kind of security, allows the login access to all? if i use the original ($PHP_SELF != DIR_WS_ADMIN . "orders.php") && it doesnt allow the login to access anything at all? full code below: if ( ($PHP_AUTH_USER=='admin1') || ($PHP_AUTH_USER=='admin2') || ($_SERVER[REMOTE_USER]==admin1) || ($_SERVER[REMOTE_USER]==admin2) ) {; } else { if ( ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "orders.php") && ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "invoice.php") && ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "index.php") && ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "login.php") && ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "packing_slip.php") && ($_SERVER['SCRIPT_NAME'] != DIR_WS_ADMIN . "customers.php") ) { die("<br><br><center>You are not authorized to view this page.\n\n</center>"); } } ?> shame as it looks to be quite useful and should be fairly simple going to try in IE9 next see how it behaves
  15. works a treat, many thanks only issue i found is with the pixel width the accompanying users manual states 237pixels in width will fit with std oscommerce boxes as far as i am aware my site is standard, but had to reduce to 130ish to make fit, more likely the problem is with me, but i thought i would mention incase