Jump to content

thedream

Members
  • Content count

    61
  • Joined

  • Last visited

Everything posted by thedream

  1. thedream

    [CONTRIBUTION] CCGV (trad)

    Hi guy and Mister Vger. I have found a small bug, here it is: When a customer use a coupon (send by email, for example) to do shopping, everything is working fine. I have discovered that the script didn't take into account the expiration date of this coupon. It takes into account the expiration date, only when the query is made in the checkout_payment page, but not after !!! In fact a coupon can have a year longevity, but your script is not checking the expiration date. If the balance is positive, then the customer can use the coupon even 100 years after!!! I am going to find a solution from now, but If anubody has a try on it, it will be great ! Best regards, Marc
  2. Hi Guys. I have a bug, I don't have seen the last time: when I try to redeem a coupon code containing a pourcentage rebate (for ex 10%), after entering the redeem code, I get the classical error message telling me that I have to read the coupons instructions on the checkout_payment.php page. When I try a second time, the code is redeemed with the correct message applied telling me that the reduction is active ! And it's works all the time will all the code. I mean I have always to do twice the action to get it redeemed ! Do you know this bug? I can't find it in the forum, and over the 109 pages... Another bug is that none of the coupon used are listed in the coupon_admin.php page. It's always listed at 0. What should I check? Please help, Marc
  3. thedream

    [CONTRIBUTION] CCGV (trad)

    Hi Guys. I have installed the contribution a year and half ago. I have a bug, I don't have seen the last time: when I try to redeem a coupon code containing a pourcentage rebate (for ex 10%), after entering the redeem code, I get the classical error message telling me that I have to read the coupons instructions on the checkout_payment.php page. When I try a second time, the code is redeemed with the correct message applied telling me that the reduction is active ! And it's works all the time will all the code. I mean I have always to do twice the action to get it redeemed ! Do you know this bug? I can't find it in the forum, and over the 109 pages... Please help, Marc
  4. thedream

    Get 1 Free

    Here is the page for a product. Product: Anneau Quantity to Qualify: 2 Maximum Free Products: 100 Free Product: Anneau 2 Free Product Quantity: 1 Expiry Date: Calendar The dream
  5. thedream

    Get 1 Free

    Hi Jim. My purpose is just to answer to my clients who don't understand why the don't have the ratio of the free product ordered, as the logical: for example I order 2 I get 1 free, I order 4, I get 2 free, etc. There is a ratio thing. For the moment if they order 2, 3, 4 or more they get only 1. They don't understand. So I am trying to respect your code as "buy x get y free", but if you order 3 x, you wil get 3 more free products... I have made the following changes: $output = array ( 'id' => $get_1_free['products_free_id'], //'quantity' => $free_quantity, 'quantity' => floor($products_quantity*($get_1_free['products_free_quantity']/$get_1_free['products_qualify_quantity'])), 'name' => $products_free['products_name'], 'model' => $products_free['products_model'], 'image' => $products_free['products_image'], //'weight' => $products_free['products_weight'] 'weight' => $products_free['products_weight']*floor($products_quantity*($get_1_free['products_free_quantity']/$get_1_free['products_qualify_quantity'])) ); It's working, except for one thing. when you do an update of the quantity on the products qualified for the free product, a new free product with its normal price is added to the cart, and I don't know how to correct this. This code take the entire part of the ration with the setup made in the Get 1 free admin. With the ability to have: buy 1 get 0 free, buy 2 get 1 free (the ratio), buy 3 get 1 free, buy 4 get 2 free (a multiple of the ratio [qty*(qty free/Qty qualified)], etc... Am I wrong or not? We just have to find how to correct the resulting bug.
  6. thedream

    Get 1 Free

    Thanks for replying. I set always 100 on the maximum free products, even if I have 35 products on stock. Any ideas?
  7. thedream

    Get 1 Free

    Hi there. I have noted a bug with the quantity. The setup is by 2 packs and get 1 free. Ok. If my clients take 3, he get 1 free, normal (2+1 products = 1+0 free) But if he takes 4 packs of the same products, he didn't get the multiple of the free product, tht's normally 2 free products. Do you have an idea to correct this? Best regards, :thumbsup:
  8. thedream

    Ultimate SEO URLs v3.0 Features

    Hi Chemo and others. Thank you very much for this contributions that's make Google and others love me! A question: How would you modify your code to exclude some words from your script when the length of words is reached? I explain myself: you recommend to not go under a limit of 3 characters. So I id it, I put a limit of 3. But for particular-very-impoortant-words, as brands or models of product, those 3 letters words are fundamentals. How can I change your code in the seo.class.php, to exclude some 3 letters words from this rule? For exemple: the brand "Beauty Boy" is actually: www.mysite.com/product-beauty-c-49_102.html I would like: www.mysite.com/product-beauty-boy-c-49_102.html How can we do that? Best regards, Marc, one your biggest fan as a Code God you are !
  9. thedream

    Get 1 Free

    ***UPDATE*** I have found something interesting !: This case appear only when the offer concern the same products, for example: if you get 2 chairs and you get the third one free, you will get the update bug ! insteed of if you get 2 chairs you get 1 table free, the update bug doesn't appear! Hope this help Kymation...
  10. thedream

    Get 1 Free

    Great contrib, thank you kymation ! I confirm there is a small bug in the shopping cart: When you do an update on the shopping cart page (shopping_cart.php) and modifying the quantity of the free product OR another one, the shopping cart set the product quantity (the one you have to pay) to 1, and the free product is deleted ! The trick is if the number of product you have to pay is under the number set in the admin part, and you set the amount required, the process is going well. But if you do another time setting 1 more, the free products desappear again! Any ideas to correct this?
  11. thedream

    [CONTRIBUTION] CCGV (trad)

    Thanks for replying Ken. Don't you have a tiny bug with the Gift Voucher file on counting the final prices with 1 or more (aka in Europe) different VAT?
  12. thedream

    [CONTRIBUTION] CCGV (trad)

    Sorry Vger. Client Discount is a mod of mine, and is not in the package. Could you be kind enough to tell me the diiference between CCGV 5.16 and CCGV(trag)? Because it's a little bit confusing. Who's the best? who's the orginbal? Which one to use?
  13. thedream

    [CONTRIBUTION] CCGV (trad)

    Hi Vger, Thank you for the reply, but it's is not this. Here are the order of my Order Total modules (translated in English): Sub-Total (incl tax) - 1 Client Discount - 2 Discount Coupon - 3 Shipping - 4 Gift Voucher - 5 Total to Pay - 6 Taxes included - 7 It's works perfectly with the Christian P. tax fix for the discount coupon, but the ot_gv.php is not corrected by this fix. In Europe we have several different taxes. All my taxes are fully functionnal for 1 year, the discount coupon with the Christian P. fix works perfectrly, by the gift voucher is nuts... Have an idea?
  14. thedream

    [CONTRIBUTION] CCGV (trad)

    Hi There. I am looking a solution to fix the amount of a gift voucher, in the case of it's computing all the time the subtotal and the shipping, WHITOUT taxes! As many osCommerce shopper, my prices includes differents VAT and prices are schowned including taxes. Here is an exemple: Sub-Total (including VAT): 14,40 ? Shipping (Incl. VAT) (J+3) (0.266 kg): 6,10 ? Gift Voucher: 18,75 ? Total to pay: 0,00 ? The trick is 14.40+6.10 is not 18.75 but 20.50. I think we have to redo a part of the ot_gv.php code, but in wich way? Please help this wonderful contrib to FULLY works...
  15. Hi there, How to fix the amount of the gift voucher and taxes, understanding, that if your country as mine as several VAT, when using the gift Voucher, it's computing the amount WITHOUT taxes applied. as exemple: Sous-total T.T.C.: 14,40 ? Colissimo (J+3) (0.266 kg): 6,10 ? Ch?que cadeau: 18,75 ? Total T.T.C. ? payer: 0,00 ? The correct Total will be 20.50 ? and not 18.75. 18.75 is the sum of the amount of the sub-total without taxes and the Colissimo without taxes. The order in admin is correct. The tric is it is not including taxes. Do you have an idea to fix it?
  16. There is a line that's has to be commented as follow: in checkout_confirmation.php there is a double line if you follow the CCGV516instructions.txt. Look for: // ################# Added CGV Contribution ##################" if ($credit_covers) $payment=''; // ################# End Added CGV Contribution ##################" $payment_modules = new payment($payment); // ################# Added CGV Contribution ##################" require(DIR_WS_CLASSES . 'order_total.php'); // ################# End Added CGV Contribution ##################" $payment_modules = new payment($payment); Just add a double slash to the last line of this code as follow: // ################# Added CGV Contribution ##################" if ($credit_covers) $payment=''; // ################# End Added CGV Contribution ##################" $payment_modules = new payment($payment); // ################# Added CGV Contribution ##################" require(DIR_WS_CLASSES . 'order_total.php'); // ################# End Added CGV Contribution ##################" //$payment_modules = new payment($payment); and you in! Hope this help.
  17. thedream

    NEW! Complete Order Editing Tool!

    Absolutely not, I just set it up in oscommerce and add another tax. Check it in the administrator interface. Marc
  18. thedream

    NEW! Complete Order Editing Tool!

    Yes absolutely ! here is a screen/copy capture (for real, from database): 4925 1036 Sous-total T.T.C.: 20,97 ? 20.9700 ot_subtotal 1 4926 1036 Colissimo (J+3) (0.2521 kg): 6,73 ? 6.7340 ot_shipping 3 4927 1036 <b>Total T.T.C. à payer<b>: <b>27,70 ?</b> 27.7040 ot_total 4 4928 1036 dont T.V.A. 19.60%: 3,39 ? 3.3910 ot_tax 5 4929 1036 dont T.V.A. 5.50%: 0,36 ? 0.3644 ot_tax 5 4930 1037 Sous-total T.T.C.: 16,39 ? 16.3900 ot_subtotal 1 4931 1037 Colissimo (J+3) (0.268 kg): 6,73 ? 6.7340 ot_shipping 3 4932 1037 <b>Total T.T.C. à payer<b>: <b>23,12 ?</b> 23.1240 ot_total 4 4933 1037 dont T.V.A. 19.60%: 2,25 ? 2.2455 ot_tax 5 4934 1037 dont T.V.A. 5.50%: 0,49 ? 0.4900 ot_tax 5 Hope this can Help you. Marc
  19. thedream

    NEW! Complete Order Editing Tool!

    Hi there, I Have asked to my super mathematician Brother, about the tax problem, and we have found a way to have an idea on the debugging but not the solution: the edit_orders.php file doesn't take on consideration taht it could have mora than one tax. For example in FRance we have the 5.5% and the 19.5% taxes. In my example the error was when I update the quantity value afer editing, the file take the tax at 19.6% of the product (that normally had a 5.5% tax), and add it to the others taxes computed (as the delivery taxes) and slip them by 2, because there are two fields. I am trying to fid that on the code, but I didn't write it, so it's hard. Hope this post can help, the developper...
  20. thedream

    NEW! Complete Order Editing Tool!

    Hi there, I have sent a MP to Djmonkey1, but I think it's better to share my problem, on the last version 1.75 (and tried 1.75a) I have a TAX problem. In fact when I add a product on an existing order, the taxes are equal even for different taxes values. I explain myself: Imaging the following, for example, that I have a tax at 5.5% for 1.25 EUR and a tax at 19.60% for 3.25 €, after that, the value of the 5.5% and the 19.6 % taxes are equal !!!! and the sum, total are wrong ! What's going wrong? Marc
  21. thedream

    Defaultly Checked Shipping Method

    Not at all, guys, it's more simple, here is the complete and simple solution: 1. Open first the payment contribution you want as set as default: 2. find the line (around line 40): $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_ yours ! _TEXT_TITLE, and add this just after the above: 'checked' => 'true', so you should have: $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_ yours! _TEXT_TITLE, 'checked' => 'true', 'methods' => array()); Save and upload. 3. Now open the /catalog/checkout_shipping.php file, and find the following code: $checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); if ( ($checked == true) || ($n == 1 && $n2 == 1) ) { change it to: //$checked = (($quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'] == $shipping['id']) ? true : false); //if ( ($checked == true) || ($n == 1 && $n2 == 1) ) { if ( ($quotes[$i]['checked'] == 'true') || ($n == 1 && $n2 == 1) ) { Now find a few line belong: <td class="main" align="right"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $checked); ?></td> and change it to: <td width="118" align="right" valign="middle" class="main"><?php echo tep_draw_radio_field('shipping', $quotes[$i]['id'] . '_' . $quotes[$i]['methods'][$j]['id'], $quotes[$i]['checked']); ?></td> That's it, you are done. Save, upload, refresh and you have it ! Marc
  22. thedream

    Update orders BEFORE payment?

    Hi there, My payment module Epay Security is great but: When my customer pay by check or by fax on the Epay pages they go on a parking page: I explain it: Epay doesn't return to the checkout_process.php page, so my database is not updated. And it's a big mass if the customer pay by check or fax. I have to get back the order manually. How can I modify some files or this contribution to have an update of the order depending what else the customer do after he press the confirmation order button? Please help. Marc :huh:
  23. Yes I do, go on Froogle and type Manix Condom, you will see products from my website: Le Roi de la Capote Cheers B)
  24. Hi Chemo, Thank you for your contrib, woks like a charm. How Can I include the prices with taxes (setup in oscommerce, not as an add), and how to convert price in EUR as default from the shop the USD or another currency? Best regards, Marc
×