Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Iggy

Pioneers
  • Posts

    1,240
  • Joined

  • Last visited

Everything posted by Iggy

  1. I haven't had a chance to hop on this but I'm hoping this week. It's probably just tweaking it to not call out template_top and bottom.
  2. That's what has me all excited about it. Or, at least, the core can get out of the way a bit. Just have to see :thumbsup:
  3. Dropped an archive here for a bit if anyone can use it http://e.volve.net/downloads/eosc.zip Knocked this together in a hurry and off of the Github Master so it's probably only good for comparison/reference. I'll see if I can give it some proper attention in the next couple days but here it is for now.
  4. Here's some of the current output of STS. I'm using the multiple as the test and this is the default sts_template.html Basically it's outputting correctly but needs some tweaking. Although this isn't the prettiest I was happy enough with it I deemed it working and moved on - see above :-" Here's the output of the page. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Evolve EosC</title> <base href="http://www.eosc.com/"> <!-- start get_javascript(applicationtop2header) //--> <!-- end get_javascript(applicationtop2header) //--> <link rel="stylesheet" type="text/css" href="/includes/sts_templates/multiple/stylesheet.css"> </head> <!-- Start Category Menu --> <form name="goto" action="index.php" method="get"><select name="cPath" onChange="this.form.submit();"><option value="0" SELECTED>Catalog</option><option value="1">Hardware</option><option value="17"> CDROM Drives</option><option value="4"> Graphics Cards</option><option value="8"> Keyboards</option><option value="16"> Memory</option><option value="9"> Mice</option><option value="6"> Monitors</option><option value="5"> Printers</option><option value="7"> Speakers</option><option value="2">Software</option><option value="19"> Action</option><option value="18"> Simulation</option><option value="20"> Strategy</option><option value="3">DVD Movies</option><option value="10"> Action</option><option value="13"> Cartoons</option><option value="12"> Comedy</option><option value="15"> Drama</option><option value="11"> Science Fiction</option><option value="14"> Thriller</option></select></form> <!-- End Category Menu --> <!-- start categorybox //--> <!--bof categories //--> <div class="infoboxheading" nowrap> <span class="categories">Categories</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/index.php?cPath=1">Hardware-></a> (6)<br><a href="http://www.eosc.com/index.php?cPath=2">Software-></a> (4)<br><a href="http://www.eosc.com/index.php?cPath=3">DVD Movies-></a> (17)<br></div> </div> <!-- end categorybox //--> <!-- start manufacturerbox //--> <!--bof manufacturers //--> <div class="infoboxheading" nowrap> <span class="manufacturers">Manufacturers</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="manufacturers" action="http://www.eosc.com/index.php" method="get"><select name="manufacturers_id" onChange="this.form.submit();" size="1" style="width: 100%"><option value="" SELECTED>Please Select</option><option value="6">Canon</option><option value="4">Fox</option><option value="8">GT Interactive</option><option value="9">Hewlett Packard</option><option value="5">Logitech</option><option value="1">Matrox</option><option value="2">Microsoft</option><option value="7">Sierra</option><option value="3">Warner</option></select></form></div> </div> <!-- end manufacturerbox //--> <!-- start whatsnewbox //--> <!--bof whats_new //--> <div class="infoboxheading" nowrap> <span class="whatsnew">What's New?<a href="http://www.eosc.com/products_new.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/product_info.php?products_id=22"><img src="images/gt_interactive/unreal_tournament.gif" class="" border="0" alt="Unreal Tournament" title=" Unreal Tournament " width="100" height="80"></a><br><a href="http://www.eosc.com/product_info.php?products_id=22">Unreal Tournament</a><br>$89.99</div> </div> <!-- end whatsnewbox //--> <!-- start specialbox //--> <!--bof specials //--> <div class="infoboxheading" nowrap> <span class="specials">Specials<a href="http://www.eosc.com/specials.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/product_info.php?products_id=5"><img src="images/dvd/blade_runner.gif" class="" border="0" alt="Blade Runner - Director's Cut" title=" Blade Runner - Director's Cut " width="100" height="80"></a><br><a href="http://www.eosc.com/product_info.php?products_id=5">Blade Runner - Director's Cut</a><br><s>$35.99</s><br><span class="productSpecialPrice">$30.00</span></div> </div> <!-- end specialbox //--> <!-- start searchbox //--> <!--bof search //--> <div class="infoboxheading" nowrap> <span class="quickfind">Quick Find</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="quick_find" action="http://www.eosc.com/advanced_search_result.php" method="get"><span class="leftfloat"><input type="text" name="keywords" size="10" maxlength="30" style="width: 95px"class="input-style"></span><span class="leftfloat"><img src="images/pixel_trans.gif" class="" border="0" alt="" width="20" height="10"><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="<span class="quickfind">Quick Find" title=" <span class="quickfind">Quick Find "></span><div class="divider-short"></div>Use keywords to find the product you are looking for.<br/><br/><a href="http://www.eosc.com/advanced_search.php">Advanced Search</a></form></div> </div> <!-- end searchbox //--> <!-- start informationbox //--> <!-- information //--> <div class="infoboxheading" nowrap> <span class="information">Information</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <a href="http://www.eosc.com/shipping.php">Shipping & Returns</a><br><a href="http://www.eosc.com/privacy.php">Privacy Notice</a><br><a href="http://www.eosc.com/conditions.php">Conditions of Use</a><br><a href="http://www.eosc.com/contact_us.php">Contact Us</a></div> </div> <!-- end informationbox //--> <p>This is a default template. It can be found here: /includes/sts_templates/multiple/sts_template.html<br> </p> <p> <!-- start Default Content //--> </div> <!-- left_navigation_eof //--> <!-- page content bof//--> <div id="pagecontent"> <div id="content-head"></div> <!-- start content-body --> <div id="content-body"> <span class="leftfloat"><h1>Shipping & Returns</h1></span> <span class="rightfloat-right"> <img src="images/table_background_specials.gif" class="" border="0" alt="Shipping & Returns" title=" Shipping & Returns " width="57" height="40"></span><div class="divider-pageheading"></div> <p>Put here your Shipping & Returns information.</p> <div class="pagebox"> <div class="rightfloat"> <a href="http://www.eosc.com/index.php"><img src="includes/languages/english/images/buttons/button_continue.gif" class="" border="0" alt="Continue" title=" Continue " width="100" height="22"></a> </div> <div class="divider"></div> </div> <div class="divider"></div> </div> <!-- end content-body --> <div id="content-foot"></div> </div> <!-- page_content_eof //--> <!-- BOF right_navigation //--> <div id="pagecolumnright"> <!-- end Default Content //--> </p> <!-- start cartbox //--> <!-- shopping_cart //--> <div class="infoboxheading" nowrap> <span class="shoppingcart">My Cart<a href="http://www.eosc.com/shopping_cart.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> 0 items</div> </div> <!-- end cartbox //--> <!-- start maninfobox //--> <!-- end maninfobox //--> <!-- start orderhistorybox //--> <!-- end orderhistorybox //--> <!-- start bestsellersbox_only //--> <!-- end bestsellersbox_only //--> <!-- start reviewsbox //--> <!-- reviews //--> <div class="infoboxheading" nowrap> <span class="reviews">Reviews<a href="http://www.eosc.com/reviews.php"><img src="images/infobox/arrow_right.gif" class="right_arrow" border="0" alt="arrow right" title=" arrow right " width="12" height="10" more></a></span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <div align="center"><a href="http://www.eosc.com/product_reviews_info.php?products_id=19&reviews_id=1"><img src="images/dvd/theres_something_about_mary.gif" class="" border="0" alt="There's Something About Mary" title=" There's Something About Mary " width="100" height="80"></a></div><a href="http://www.eosc.com/product_reviews_info.php?products_id=19&reviews_id=1">this has to be one of the funniest movies released for 1999! ..</a><br><div align="center"><img src="images/stars_5.gif" class="" border="0" alt="5 of 5 Stars!" title=" 5 of 5 Stars! " width="59" height="11"></div></div> </div> <!-- end reviewsbox //--> <!-- start languagebox //--> <!-- end languagebox //--> <!-- start currenciesbox //--> <!--bof currencies //--> <div class="infoboxheading" nowrap> <span class="currencies">Currencies</span> <div class="divider"></div></div> <div class="infobox"> <div class="infoboxcontents"> <form name="currencies" action="http://www.eosc.com/shipping.php" method="get"><select name="currency" onChange="this.form.submit();" style="width: 100%"><option value="USD" SELECTED>U.S. Dollar</option><option value="EUR">Euro</option></select></form></div> </div> <!-- end currenciesbox //--> <!--footer template begin--> <!-- footer.php.html template --> <div align="center"> Monday 08 March, 2010 152 requests since Friday 26 February, 2010 </td> Copyright © 2010 <a href="http://www.eosc.com/index.php">Evolve EosC</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a> <a href="http://www.eosc.com/redirect.php?action=banner&goto=1" target="_blank"><img src="images/banners/oscommerce.gif" class="" border="0" alt="osCommerce" title=" osCommerce " width="468" height="50"></a> STS v4.6 by <a href="http://www.soundsgoodpro.com"> SoundsGoodProductions.com</a><br> </div><!--footer template end--> </body> </html> Sorry I got carried away there on the "works great!" but I considered it basically functional with some spit and polish required. I'll see what I can do with it in the next couple of days in the way of clean up.
  5. STS is basically just placeholders for output from osC. Since you've fixed up the html output it just lets you have a series of content slots you can wrap in DIVS - the output of boxes.php included. You could always do that with STS but the guts of a stock osC would thwart a true CSS layout. I can zip up my install if you want to take a look at it. There was a little fiddling involved. Doh! Taking another look at it I take that back. There's still some more fiddling to be done. The problems are mostly with some unclosed divs I think but that's my fault. I'll finish it up, take some notes and let you know.
  6. If it's any help I immediately installed STS after your contrib. Not heavily tested but works fine as far as I can see. Basically you just need to strip all the html out of the STS template. Kind of exciting as it makes using Blueprint or 960 grid a nice possibility as well as having A LOT of control over individual pages, boxes etc. It'll even accept conditionals in a template ala WP or Drupal so it opens a bunch of doors a single template might not. You and Bill Kellum should chat a bit about the possibilites :thumbsup:
  7. Impressive, time consuming work. Merged onto Git master pretty easily and displays very nicely. Been talked about for a LONG time and even considered doing it myself but could never commit. Worthy of being considered for merging into osCommerce Online Merchant v2.x master I think. Thanks for your work!

    http://github.com/osCommerce/oscommerce2

  8. Woops. Sorry about that. I picked up this thread from View New Content and didn't see it was posted in Payment Modules/Authorize. Anyways, I think you should review Anet's features then :-" Maybe the Fraud Detection Suite would be worth the extra cash? http://www.authorize.net/solutions/merchantsolutions/merchantservices/frauddetectionsuite/ You can also set your payment module to authorize only instead of authorize and capture. Then you'll have time to review the transaction and manually run it once you call it good. Not sure what security juice you can apply otherwise. :'(
  9. You don't say who you're gateway is or if you have one so that would be good to know :thumbsup: A reasonable gateway should have an AVS (address verification system) in place you can use to weed out this kind of fraud and protect yourself. Authorize.net is my choice and recommendation to folks but there are plenty of supported processors. Get one if you haven't and if you have give them a call and see what measures you can setup. Hope that helps, Iggy
  10. Only happens when the coupon is restricted to a category or product. Wasn't this problem addressed back in 2005? Well, the board will provide I'm sure :P
  11. Well, I'm looking forward to it! - GV not 40 hours a day :lol: On this side of the world we're barely getting 8 hours of sunshine so it kind of feels like 40 hours a day...
  12. I'll be darned... Sub-Total: $84.98 Flat Rate (Best Way): $5.00 Total: $89.98 Discount Coupons:DoIt: -$42.50 Shouldn't that be 42.49? Sigh...
  13. It's not easy being impatient and dumb at the same time I tell you what :rolleyes: Part of the problem - line146 of coupon_admin.php in CCGV(trad) $insert_id = tep_db_insert_id($query); Golly if this edit doesn't get it working $insert_id = tep_db_insert_id(); I suppose that makes sense (??) given the new function? Still not really understanding why it's throwing the error and failing to relate the 2 tables with ($query) but beggars can't be choosers :P
  14. OK. Back to CCGV(trad) because I just can't let it go. Currently it's semi-functional; can add or delete(make inactive) coupons. The weirdness comes into play when inserting the coupon into the database from preview (where it passes everything in correctly). On insertion it throws this error Warning: mysql_insert_id() expects parameter 1 to be resource, null given in /www/EosC_3.0ccgv/catalog/admin/includes/functions/database.php on line 117 And writes everything to the coupons and coupons_description tables correctly but fails to display the coupon name viewing it from coupons_admin.php This is line 117 in functions/database.php function tep_db_insert_id($link = 'db_link') { global $$link; return mysql_insert_id($$link); } and reviewing MS2 this is the function previously - and which makes everything work as expected when swapped into the current running store function tep_db_insert_id() { return mysql_insert_id(); } So I am prepared to be schooled if there's a teacher in the house :D Thanks for any clarification or input you can provide. Iggy
  15. Now... who has recommendations on a Gift Voucher contribution for the same spec? Or do I keep talking to myself?
  16. And Burt's the current King of the Credit Class hill! Nicely done Burt and thanks for your work! Installed easy and worked the first time without having to try and track down why some things were passed correctly or not. I kind of love that :lol: :thumbsup:
  17. Hmmm, perhaps Burt's is the new hotness? I suppose I'll give it a whirl. Are these the current big 3 then in CC/GV technology? Burt's Gift Voucher (GV) and Discount Coupons (DC) for RC1, RC2, RC2a http://addons.oscommerce.com/info/5743 Credit Class & Gift Voucher http://addons.oscommerce.com/info/282 and Vger's CCGV(trad) http://addons.oscommerce.com/info/4135 Anything else I should be looking at?
  18. Hi there, For you regulars on the board, what are you using for Credit Class & Gift Vouchers at this point? I see the debate continues between the free for all Credit Class & Gift Voucher http://addons.oscommerce.com/info/282 and CCGV(trad) http://addons.oscommerce.com/info/4135 I'm building my store on PHP 5.3 and just gave trad (May 2007 release) a whirl. It "works" but will require more fussing than I'd like to put into it. Is anyone working on a CCGV that's PHP5.3 compliant? At any rate, if your priority was using 5.3/mySQL 5 which contributions would you start with? URLs and release dates please and thanks! Iggy
  19. UltraPics is a good choice if you don't need the thumbs generated automagically. I use it myself and stole some bits of it for MIA.
  20. Generally when installing contribs I'll run through all the files included in the zip and diff them against my store then consult the instructions for any further mods that need to be made. In this case I didn't change the install instructions from the original so only steps 4 and 5 are relevant. The rest is file by file comparison/mod. All the files in Catalog need to be updated/added to your running store and the SQL file needs to be applied to your database. Ought to do it. If your files are not RC2a stock I'm afraid you'll have to make some judgement calls as to how to merge the files. Hope that helps!
  21. Hey there everybody! I basically just plopped the code up there as useful/reference for anyone who wanted to use it with no plans to support it. That said it sounds like you haven't completely installed it. In /admin/categories.php you should be able to search for: BOF Evolve Inside that you should find multiple edits that are required <?php // BOF Evolve - update database with new images?> <tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_1') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_1 . tep_draw_hidden_field('products_previous_image_1', $pInfo->product_image_1); ?></td> </tr><tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_2') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_2 . tep_draw_hidden_field('products_previous_image_2', $pInfo->product_image_2); ?></td> </tr><tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_3') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_3 . tep_draw_hidden_field('products_previous_image_3', $pInfo->product_image_3); ?></td> </tr><tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_4') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_4 . tep_draw_hidden_field('products_previous_image_4', $pInfo->product_image_4); ?></td> </tr><tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_5') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_5 . tep_draw_hidden_field('products_previous_image_5', $pInfo->product_image_5); ?></td> </tr><tr> <td class="main"><?php echo TEXT_PRODUCTS_IMAGE; ?></td> <td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . tep_draw_file_field('products_image_6') . '<br>' . tep_draw_separator('pixel_trans.gif', '24', '15') . ' ' . $pInfo->product_image_6 . tep_draw_hidden_field('products_previous_image_6', $pInfo->product_image_6); ?></td> </tr> <?php // EOF Evolve - update database with new images ?> If you don't... well... start again :) If you're using the 1.1 version by jjkweb you might want to PM him about it. Hope that helps, Iggy
  22. Hi Glen, Works fine. Both versions. My client won't let me have direct access to the PayPal account so it was a matter of not responding to the email PP sent on setup it seems. A quick call from the owner and PP got it cleared. Many thanks for your help!
  23. Thanks for double checking that. I installed .9 which I've used in the past and it throws This transaction cannot be processed due to an invalid merchant configuration So I'll have to get into PayPal and double check. Then I'll try it out with the new version and see if it continues. Really appreciate it!
  24. Thanks Glen. I appreciate the tip. As far as I can tell it's not being bypassed. Maybe you'd read the first few lines of checkout_process and confirm? include('includes/application_top.php'); // if the customer is not logged on, redirect them to the login page if (!tep_session_is_registered('customer_id')) { $navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT)); tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL')); } if (!tep_session_is_registered('sendto')) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } if ( (tep_not_null(MODULE_PAYMENT_INSTALLED)) && (!tep_session_is_registered('payment')) ) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL')); } // avoid hack attempts during the checkout procedure by checking the internal cartID if (isset($cart->cartID) && tep_session_is_registered('cartID')) { if ($cart->cartID != $cartID) { tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')); } } include(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CHECKOUT_PROCESS); // load selected payment module require(DIR_WS_CLASSES . 'payment.php'); // #################### Added CCGV ###################### if ($credit_covers) $payment=''; //ICW added for CREDIT CLASS // #################### End Added CGV ###################### $payment_modules = new payment($payment); // load the selected shipping module require(DIR_WS_CLASSES . 'shipping.php'); $shipping_modules = new shipping($shipping); require(DIR_WS_CLASSES . 'order.php'); $order = new order; require(DIR_WS_CLASSES . 'order_total.php'); $order_total_modules = new order_total; $order_totals = $order_total_modules->process(); // load the before_process function from the payment modules $payment_modules->before_process(); $sql_data_array = array('customers_id' => $customer_id, 'customers_name' => $order->customer['firstname'] . ' ' . $order->customer['lastname'], 'customers_company' => $order->customer['company'], 'customers_street_address' => $order->customer['street_address'],
  25. Just for giggles - the results of the diagnostics Warning: Illegal offset type in isset or empty in /www/marquamstore.com/html/includes/classes/payment.php on line 72 Paypal Website Payments Pro Diagnostics for Version 1.0.0+ by Brian Burton (dynamoeffects) Basic Tests Using at least PHP 4.3.0? Yes Does your store have an SSL certificate installed and working? Yes Is cURL installed? Yes Does cURL work? (Simple HTTPS test) Yes API Certificate installed? Yes API Certificate directory protected? Yes API Username in place? Yes API Password in place? Yes Database update in place? Yes Payment class modifications in place? Yes Bug in checkout_process.php fixed? [Read More] Yes XML Document "doDirectPayment.xml" exists? Yes XML Document "doExpressCheckout.xml" exists? Yes XML Document "getExpressCheckoutDetails.xml" exists? Yes XML Document "setExpressCheckout.xml" exists? Yes XML Document "transactionSearch.xml" exists? Yes XML Document "doCapture.xml" exists? Yes XML Document "getTransactionDetails.xml" exists? Yes XML Document "refundTransaction.xml" exists? Yes Advanced Diagnostics Able to connect to PayPal through cURL? Yes Received a valid response? Yes Did PayPal respond without errors? (If not, errors are below) Yes Success! Congratulations! This contribution appears to be correctly installed on your store! Please note that if you're still having problems with your installation, it is most likely because you didn't completely integrate all of the code.
×
×
  • Create New...