Jump to content
Latest News: (loading..)


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by Moxamint

  1. Text in "Sort By" drop-down do not align properly. Eddy
  2. So the search box in header does not search keywords in product description at all even if you set 'My Store -> QuickSearch searches in description' in admin to 'true'. To enable searches in description again, in 'includes\modules\content\header\ cm_header_search.php', I added the following line of code: $search_box .= tep_draw_hidden_field('search_in_description', QUICKSEARCH_IN_DESCRIPTION == 'true' ? '1' : '0'); ABOVE the following existing line of code: $search_box .= tep_hide_session_id() . '</form>'; It works, but I am not sure if I'm doing it correctly. Thanks in advance for any advice. I'm using BS Edge. Cheers, Eddy
  3. Step Wizard - maybe should be allowed to show on BOTH top and bottom of the page like the pagnation numbers? Eddy
  4. fa fa-refresh => fas fa-sync fa fa-remove => fas fa-times should fix them unless those icons are from elsewhere other than stock shopping_cart.php. Maybe you should check those files that came from the module you installed? Cheers, Eddy
  5. Hi, Is using Google Analytics module in osC considered GDPR's definition of profiling using personal information ? Thanks in advance for your input. Eddy
  6. Would be nice so that the "Pro" version can be utilized easily as well.
  7. For my shop I prefer not to even turn product status to false when the product has been bought out. It confuses the customer. Thanks, Eddy
  8. Set default country for customers?

    Just asked @burt about this yesterday! I also wish I could rearrange the input fields in account creating page by simply giving them sort order... Cheers, Eddy
  9. Some products would disappear if I drag the slider around and then drag them back to the min and the max. Win10, Chrome.
  10. 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
  11. 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
  12. 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
  13. @Jack_mcs Apparently the typo has been noticed & mentioned... never mind. Cheers, Eddy
  14. @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
  15. 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
  16. 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
  17. Database Timezone

    Hi, My company is located in Asia but my website is hosted in the States. I managed to change the timezone of the Apache server to match my location by adding date.timezone = "Asia/Taipei" in php.ini and I have also changed the related value in configure.php for both shop and admin. However, when an order was placed, the logged order time still used the US timezone. The database timezone was not changed. Is there a piece of code I should use to change the database timezone? Thanks in advance for your time and help. Eddy
  18. 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.
  19. Database Timezone

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

    https://www.timeanddate.com/time/change/usa @ArtcoInc Thanks. Just wish there is no such thing...
  21. 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
  22. 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
  23. Database Timezone

    @burt Yes about code did it :) ...and moon cake, fire crackers, and the whole nine yards. Cheers, Eddy
  24. 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