Jump to content
Latest News: (loading..)

TheFinnisher

Members
  • Content count

    143
  • Joined

  • Last visited

1 Follower

Profile Information

  1. Does anyone have current Japanese language pack for osCommerce MS2? The only thing I found was a very old Japanese lang pack for osC MS1. I'm also wondering if anyone has any good tricks for translating files? I'm specifically interested to learn how people go about having files translated by someone who might not have web development software or understanding. Thanks in advance!
  2. Hello, I am experiencing the same difficulty that Ryan did one the page before this: The Order Process doesn't include Billing and Shipping information. Additionally I'm also having the problem where the e-mail has the heading within the e-mail... Has anyone figured out how to fix this?
  3. I was talking about SSL errors and not SQL. The solution to the SSL error is posted within this forum not too long ago.
  4. I was able to fix the SSL errors many have faced in this forum...I still get a message though such as: Would you like to dissplay some of the unsecure items... I think it is because of the folder images in the lister and viewer file... Has anyone figured this out?
  5. TheFinnisher

    PayPal_Shopping_Cart_IPN

    Why is it so difficult to pass the phone number? I am trying to figure out if it would be possible to create a form that would pass the credit card information as well. I tried to pass the credit car information according to the PayPal parameters but they weren't included either... Any ideas on this? Thanks
  6. Hmmm... It's strange but I did do this to the two files (ot_coupon.php and ot_gv.php) and I managed to get everything to work! It's probably a VERY bad way of doing it but strangely enough it seems to work. I just added: $order->info['total'] = $order->info['total'] - $od_amount; //added hack for putting contingency before sub-total TN [COLOR=red]$order->info['subtotal'] = $order->info['subtotal'] - $od_amount;[/COLOR] //EOF hack into both files and it seems to work. I am running MS1. Now the only problem I have is with the rounding of sums. I ended up using the following fuzz solution to get the sums to round properly. The round() function may indeed work properly with half-values (eg. 1.5), but this little method will give you peace of mind. Add some "fuzz" to your function with a miniscule delta value. $delta = 0.00001; $x = round($x+$delta); Found on: http://www.php.net/round Any thoughs on this?
  7. Hello, I have browsed through most of this forum but have not found any request for the following modification: Basically I need to modify both the discount coupon and credit voucher to subract from the sub-total rather then the total. REASON: When using Linkpoint API the sub-total, shipping, tax, and total must match for the order to be processed. I need some expert help on this to be able to update my Linkpoint Cardservice contribution at: http://www.oscommerce.com/community/contributions,596 There was a member who submitted a hack to me that I included in the contribution. However, now I started using the GV contribution myself and I noticed some flaws in this hack. First of all. This member's hack seems to work fine when using only one of the g.voucher or dicount coupon. But if the customer tries to use both with the same purchase the amounts don't add up properly. This was the solution that the other member sent me and that I included in the Linkpoint contribution: Simple really, just had to figure out the "PHP" way to do it. Just a couple of edits so I won't include full files. In /catalog/includes/modules/order_total/ot_coupon.php: Find lines: if ($od_amount > 0) { $order->info['total'] = $order->info['total'] - $od_amount; Add this line right after: $_SESSION['od_amount'] = $od_amount; In /catalog/includes/modules/ot_subtotal.php: Find lines: function process() { global $order, $currencies; Add right after: $od_amount = $_SESSION['od_amount']; $subtotal = $order->info['subtotal'] - $od_amount; $order->info['subtotal'] = $order->info['subtotal'] - $od_amount; Then, make sure the sort order of the payment lines (via OSCommerce admin site) puts discount before subtotal. Essentially, I just used the global PHP session to make the discount amount available in the standard subtotal routine. There may be more correct ways to do it but it works. The reason why this doesn't work is that when you add the same session function: $_SESSION['od_amount'] = $od_amount; to the ot_gv.php only the first is beeing picked up for use. I have now tried various ways, but nothing seems to work. This was one thing I tried: //ONE WAY TO DO IT added hack to put cv and discount before sub-total TN //$od_amount_coupon = $_SESSION['od_amount_coupon']; //$od_amount_gv = $_SESSION['od_amount_gv']; //$subtotal = $order->info['subtotal'] - $od_amount_coupon - $od_amount_gv; //$order->info['subtotal'] = $order->info['subtotal'] - $od_amount_coupon - $od_amount_gv; //EOF hack and the codes I added to the ot_gv.php and ot_discount.php were: $_SESSION['od_amount_coupon'] = $od_amount; and $_SESSION['od_amount_gv'] = $od_amount; Now this actually worked but then I realized that for some reason when dealing with the session function. The discounts would try to register when I came back (without me even choosing the (ticking the box)). Another thing I tried was to change where the GV's were subtracting from the total: from: $order->info['total'] = $order->info['total'] - $od_amount; to $order->info['subtotal'] = $order->info['subtotal'] - $od_amount; and this put the proper sun in the subtotal each time. However now the total didn't add up right. So what to do? How is the total added up? Could I not change the total to calculate itself according to the discounted sub-total? I would GREATLY appreciate any advice! Thanks, Thomas
  8. TheFinnisher

    NewsDesk -- future releases + information

    Hi Carsten & Emiliano, I've got too many projects going on. If I could only get some of them fiNNished. Hey I was wondering if you could send me some of the MS2 compatible files you've been working on? I would love to get started on making it work with the non-profit bicycling organization I volunteer with. I think your design will work great for it. Basically I am planning to use the same design like I do now but with the newsdesk implementation for every page and every article. It will be more like a Pagedesk if you will. I would appreciate any help... My e-mail address is: thomas (at) thefinnisher.com and the biking site is: www.flagstaffbiking.org I will have to get moving on this project. We are supposed to start processing memberships online in just 8 days from now... Thanks, Thomas
  9. Gabriel, Go into your admin panel and under the modules box. Find the discount coupon and gift voucher. activate them and sort them as you wish. I have them set-up like this: 1 Subtotal 2 Shipping 3 Tax 4. Discount Coupons 5. Gift Vouchers The numbers represent the sort order number. Hope that helps!
  10. I fear that maybe my question was shadowed by Gabriel's post abou the mystical missing redeem button. Jason, would you possibly have an answer for me if it is possible to make changes so that the GV can be applied towards shipping costs as well? Thanks a bunch! Gabriel, How is your problem going? Are you having any luck?
  11. Gabriel, That's the strangest. I created a Test Person as a customer on your site and I didn't see the button_redeem.gif either. I am on Internet Expolorer 6.0. When I tried to check out an item I saw the button in the source code: <input type="image" name="submit_redeem" onClick="submitFunction()" src="includes/languages/english/images/buttons/button_redeem.gif" border="0" alt="IMAGE_REDEEM_VOUCHER" title = "IMAGE_REDEEM_VOUCHER"> It seems like you have forgotten to define the button in your language file...but that shouldn't prevent us from seeing the image. I think! On my page the same source code is: <input type="image" name="submit_redeem" onClick="submitFunction()" src="includes/languages/english/images/buttons/button_redeem.gif" border="0" alt="Redeem your voucher by clicking here. Then check the checkbox above, choose payment and continue" title = "Redeem your voucher by clicking here. Then check the checkbox above, choose payment and continue"> Sorry, I can't give you a deffinite answer right now. Keep working on it! Maybe Strider will have an answer for ya! Please let me know how it goes.
  12. Gabriel, I looked into your /catalog/includes/languages/english/images/buttons/ and you seem to have forgotten to upload the button_redeem.gif into the English folder. The image does rightfully exist in the german language folder. Is that screenshot of yours taken when trying to check-out in English language mode? What about when you try to check-out in german language mode? Does your image show up then? If so then just upload the button_redeem.gif to your English language folder and you should be good to go. If it's a PHP related problem I'm afraid I'm not much of help...
  13. Gabriel, What buttons are you missing? PM me with your e-mail address and I should be able to send them to you...
  14. I've installed the contribution successfully. Works like a treat! Thanks to all who contributed!!! I'm just wondering. I would like to change it so that the gift voucher actually apply towards the shipping cost as well. How would I make it do this? Thanks for any advice, Thomas
  15. Look in includes/add_ccgvdc_application_top.php Find these and change accordingly: // Set the amount of a Gift Voucher that the new signup will receive, set to 0 for none define('NEW_SIGNUP_GIFT_VOUCHER_AMOUNT', '0'); // // Set the coupon ID that will be sent by email to a new signup, if no id is set then no email :) define('NEW_SIGNUP_DISCOUNT_COUPON', '');
×