Jump to content
Latest News: (loading..)

Moxamint

♥Ambassador
  • Content count

    130
  • Joined

  • Last visited

  • Days Won

    4

Moxamint last won the day on July 24 2017

Moxamint had the most liked content!

7 Followers

Profile Information

  • Real Name
    Ai-Teh Eddy Lin
  • Gender
    Male
  • Location
    TAIWAN => a country, NOT part of China

Recent Profile Visitors

16,541 profile views
  1. Some products would disappear if I drag the slider around and then drag them back to the min and the max. Win10, Chrome.
  2. how to allow a paypal method over a certain amount

    Hi @stellaplata, This is how I did it on my legacy site, which involves core changes. In <<paypal_standard.php>>, find: function update_status() { global $order; Add right under: if ( $order->info['subtotal'] < MODULE_PAYMENT_PAYPAL_STANDARD_ACCEPTED_LOWER_THRESHOLD ) { $this->enabled = false; } Where MODULE_PAYMENT_PAYPAL_STANDARD_ACCEPTED_LOWER_THRESHOLD you could replace it with 100 so that PayPal payment option does not show for any orders < 100. Please backup your file before making changes to it. Cheers, Eddy
  3. Product Status

    @Cyperis Hi Clint, Unfortunately you have to modify <<checkout_process.php>>. Find the following 3 lines of code and comment them out completely: if ( ($stock_left < 1) && (STOCK_ALLOW_CHECKOUT == 'false') ) { tep_db_query("update " . TABLE_PRODUCTS . " set products_status = '0' where products_id = '" . tep_get_prid($order->products[$i]['id']) . "'"); } And you'll get the result you'd like to achieve. Cheers, Eddy
  4. Paypal duplicate orders

    On rare occasions I would receive two confirmation e-mails from PayPal from both <<paypal_standard.php>> & <<standard_ipn.php>> for the same PayPal transaction, but most of the time I receive just one confirmation e-mail from PayPal - either (mostly) from <<paypal_standard.php>> or from <<standard_ipn.php>>. My site is on the latest BS Edge with PayPal App v5.018 Payment Standard updated to work with BS Edge. PayPal PDT is set to on and IPN messages is disabled in my PayPal account. Cheers, Eddy
  5. @Jack_mcs Apparently the typo has been noticed & mentioned... never mind. Cheers, Eddy
  6. @Jack_mcs In includes\classes\seo.class.php in the most recent Ultimate SEO URLs package you uploaded (1st October 2016), line 1124 FROM `peoducts_description` should be FROM `products_description` Cheers, Eddy
  7. ULTIMATE Seo Urls 5 - by FWR Media

    Hi, I am using Ultimate Seo Urls 5 for Responsive Oscom (https://apps.oscommerce.com/Hj4y0&ultimate-seo-urls-5-for-responsive-oscom) and have not encountered any issues with it. However, one of my languages is Japanese, which is a multi-byte language. When I had all special characters filtered out, the URLs basically have nothing left but something like "-c-5_9.html". Is it possible to force all languages to use and only use the SEO URLs of the default language (English)? Since Japanese SEO URLs still have /ja/ as part of the URL, (I think) the Japanese pages will still be properly indexed. Thanks in advance if anyone could give me some ideas on how to do this. Cheers, Eddy
  8. Products Weight editor?

    It requires code changes in class file \includes\classes\shopping_cart.php because the osC in-built attribute system does not recognize weight options so that they won't get added into the total weight. Perhaps some experienced coders in this forums would chime in and help you with the code changes required. Cheers, Eddy
  9. Database Timezone

    So I guess it has fallen into the "great idea, doesn't work" category? Taiwan started using daylight saving in 1945 under the decision of Japanese government. It was then ended in 1980 by the Taiwanese government. It took the politicians so long to figure out daylight saving was merely an annoying thing.
  10. Database Timezone

    I am wondering if there is a statistics on the actually energy saving by doing this daylight saving thing.
  11. Database Timezone

    https://www.timeanddate.com/time/change/usa @ArtcoInc Thanks. Just wish there is no such thing...
  12. Database Timezone

    Hi Jack, Thanks for the comment. 1) My host in the USA could change the hosting location; 2) There is one thing called "daylight saving" and we do not have that in Taiwan. Result: the time offset could change without my awareness. My site generates custom order IDs based on the time orders are placed to match our ERP system, and these order IDs reset everyday. They highly reply on server time being sync to local time of Taiwan to operate. So if there is a way to avoid changing core code everywhere, I sure will vote for that. Cheers, Eddy
  13. Database Timezone

    Actually I just started my attempt to fix this time issue side-wise by using the old-fashioned way (core changes). I have defined the following: $dateServer = new DateTime("now", new DateTimeZone(date_default_timezone_get())); $dateStore = new DateTime("now", new DateTimeZone('Asia/Taipei')); $TimeOffset = $dateServer->format('H') - $dateStore->format('H') ...and am on my way to change all occurrences of 'now()'... An admin dashboard module would be extremely welcome... :) Cheers, Eddy
  14. Database Timezone

    @burt Yes about code did it :) ...and moon cake, fire crackers, and the whole nine yards. Cheers, Eddy
  15. Database Timezone

    @burt Hi Gary, Unfortunately it does not work by just changing 'now()' to 'now() - interval 10 hour' in checkout_process, because the function tep_db_perform() that will deal with the database later only recognizes 'now()' as one of the switches. if I move 'now() - interval 10 hour' directly into function tep_db_perform(), then it works correctly. Thanks and Happy Moon Festival, Eddy
×