Jump to content

gandahar

Members
  • Content count

    20
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Martín
  1. gandahar

    One Page Checkout Support

    ok, i found the solution : in file ot_total.php the function : function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', 'text' => '<b><input type="text" style="text-align: right; border:none; background:none;" name="total__" value="' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '"></b>', 'value' => $order->info['total']); } have been changed !! (an input type have been added !!!) but no comment to know why ?, who ? and when ?! so i check the original file in the package of oscommerce and i turned it back to original version : original : function process() { global $order, $currencies; $this->output[] = array('title' => $this->title . ':', 'text' => '<b>' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '</b>', 'value' => $order->info['total']); } and it work fine ! :-" :thumbsup:
  2. gandahar

    One Page Checkout Support

    Hi ! for several days I break my head to understand why the total amount after adding the shipping costs do not appear in the confirmation email, or in "My Account - info commands" and in the Admin area "order" you can see in the screenshot : in the frontend "My Account - Order Info ": in the "Admin""orders": when we finalize the order, the amount is correct, and when we pay by credit card, the amount is also correct: all this is rather annoying... someone faced that problem before me?
  3. gandahar

    Choice of Free Gifts Module

    Thanks for this fix I modified the query (added and p.products_status=1) to exclude all disabled products (this query include the language fix too) : $freegifts_query = tep_db_query("SELECT p.products_id, pd.products_name FROM " . TABLE_PRODUCTS . " p Inner Join " . TABLE_PRODUCTS_TO_CATEGORIES . " ptc ON p.products_id = ptc.products_id Inner Join " . TABLE_PRODUCTS_DESCRIPTION . " pd ON p.products_id = pd.products_id WHERE ptc.categories_id = '". MODULE_FREEGIFT_CATEGORY . "' and p.products_status=1 and pd.language_id = '" . (int)$languages_id . "'"); Thanks all :thumbsup:
  4. hi, can you help me with one my idea to have for many stores as subdomains one shared shopping cart?

  5. I have same issues (look my previous post) Any help ?
  6. hi same kind of problem for me... <_<
  7. gandahar

    One Page Checkout Support

    Hi Steve, thank you This is the Discount coupon contribution i have installed (Not CCVG) do you have this one installed ? in the package of the very last version of onepage checkout (18 Apr 2010) a file named "kgt_howto.txt" is included, so i'm sure i'm using the same version and into this file there is nothing about TABLE_COUPON_REDEEM_TRACK as you can see (from kgt_howto.txt) : 9. includes/database_tables.php Before: ?> Add: //kgt - discount coupons define('TABLE_DISCOUNT_COUPONS', 'discount_coupons'); define('TABLE_DISCOUNT_COUPONS_TO_ORDERS', 'discount_coupons_to_orders'); define('TABLE_DISCOUNT_COUPONS_TO_CATEGORIES', 'discount_coupons_to_categories'); define('TABLE_DISCOUNT_COUPONS_TO_PRODUCTS', 'discount_coupons_to_products'); define('TABLE_DISCOUNT_COUPONS_TO_MANUFACTURERS', 'discount_coupons_to_manufacturers'); define('TABLE_DISCOUNT_COUPONS_TO_CUSTOMERS', 'discount_coupons_to_customers'); define('TABLE_DISCOUNT_COUPONS_TO_ZONES', 'discount_coupons_to_zones'); //end kgt - discount coupons please Steve, can you export the corresponding table then i can insert it in my database ? thank you :thumbsup:
  8. gandahar

    One Page Checkout Support

    is the quantity of use of the coupon not stored in database? is it dynamically calculated with the table discount_coupons_to_orders using then number entry corresponding with the coupon name ?? interesting question ! when i look the function redeemCoupon in includes/classes/onepage_checkout.php i can see : $coupon_count = tep_db_query("select coupon_id from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . $coupon_result['coupon_id']."'"); $coupon_count_customer = tep_db_query("select coupon_id from " . TABLE_COUPON_REDEEM_TRACK . " where coupon_id = '" . $coupon_result['coupon_id']."' and customer_id = '" . $customer_id . "' and customer_id>0"); is TABLE_COUPON_REDEEM_TRACK the real name of a table ? i can't find it in my database !!! and i do a search in all files of my oscommerce to find another instance of TABLE_COUPON_REDEEM_TRACK and it only appear two times in the function redeemCoupon in includes/classes/onepage_checkout.php !!! I'm missing something ??? i've been testing another thing to try to understand better : I created a new coupon that everyone can use it except me. (using customer exclusion) I tried to use it, one page checkout tell me that the coupon is not valid but it is still subtract the coupon amount from the total like if it was valid ! so i think there is a missing link in the chain... or something bad somewhere... if anyone with a working installation of onepage checkout and discount coupon can check if the table TABLE_COUPON_REDEEM_TRACK exist ?? thanks (sorry for my bad bad english :-" )
  9. gandahar

    One Page Checkout Support

    Hi i'm looking for a solution to my problem : im using onepage checkout and discount coupon codes (both last version) work fine but one issue for me : to limit the use of coupons, look at the screenshot, i set a limit of 1 use and 1 global coupon but i can use it with no limit !!!! i've been looking the code for hours, and i can't understand why the limit can't work!!! I need to know when we count the use of coupons and i think the solution can be in the way of onepage checkout do it please help thanks all
  10. hi check out the new version of one page checkout, it include the actualized code for Discount Coupon Codes too work fine but one issue for me : to limit the use of coupons, look at the screenshot, i set a limit of 1 use and 1 global coupon but i can use it with no limit !!!! i've been looking the code for hours, and i can't understand why the limit can't work!!! please help thanks all
  11. this is great addon please don´t skip and help !!!
  12. the coupon utilisation limitation don't work, i configure it to be used only 1 time but it still unlimited !!! any idea ? thanks
  13. ¿?¿?¿?¿?¿?

  14. hi there ! i installed the latest version and it work fine but still have one issue : the coupon utilisation limitation don't work, for example if i set 1 coupon with max 2 uses then when i use it for 3 time, the coupon used time counter (in admin/report) display -1 !!! and so on if i still use it (its unlimited) !!! how can i fix it ? i've been looking the install process and its perfect, i'm using One Page Checkout contrib (latest version) anyone ? thanks :thumbsup: and thank you for this great contrib !
  15. Hi ! i'm trying to connect my shop to the payment system of my bank, they need the order total value to be transmitted via a hidden field, how can i get this value and assign it to a php variable ? please help ! thanks
×