Jump to content


  • Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by kgtee

  1. I am using Ckeditor4 on Phoenix on the admin side. Now with the new Text class which sanitizes all text inputs before saving them into the database, HTML texts which are supposed to be saved by the editor are greatly affected. For example, HTML tags such as <H1> and <div> are sanitized and converted to _H1_ and _div_ and then saved. May I know if there is a way to avoid sanitizing HTML text inputs?
  2. Hi @Fredi, I would think TinyMCE will have the same issue because Text::prepare would also sanitize the text input from TinyMCE
  3. I temporarily change Text::prepare function to the older tep_db_prepare_input but this cannot avoid changing the core file.
  4. kgtee

    Shipping table is now a real table :)

    @piernas Thanks for the update. We need more apps like this one, both admin and shop sides, to improve user experience 😄
  5. kgtee

    Quick Product Updates for osc 2.3+

    I was playing with this quick_update, and found the above line ($current_category_id = 0) did not yield the desired filter result. Apparently the cPath was not calculated correctly due to Phoenix new code I add these lines (in bold) instead at around line no. 247, and it now works:
  6. In admin/categories.php, you will find this line: $products_date_available = (date('Y-m-d') < $products_date_available) ? $products_date_available : 'null'; Perhaps you can comment out this line and see what the behaviour is.
  7. You should have the field products_date_available set to NULL instead of NOT NULL
  8. kgtee

    Shopping cart without stock control

    There is a payment module called "Check/Money Order" that accepts any order and then will not ship until the payment is received. You probably can make a copy of this module and re-write it to suit your need.
  9. I feel development of Phoenix is moving in the right direction, this includes smart design for mobile devices and a new core for easy app integration. However the pace of development will be quicker if it is open to all. When more people are involved in the process of developing, learning, testing and feedbacks in a freer environment, the wonder will happen just like the case of Linux in the 70's. As far as fund is concerned, it will flow in automatically after people (yes, lots of people, even it means a small fraction of it) has implemented them successfully and find the product good and meet their expectation.
  10. According to the API documentation, we can make the datepicker script correspond to the region: $( selector ).datepicker( $.datepicker.regional[ "<?php echo JQUERY_DATEPICKER_I18N_CODE ?>" ] );
  11. @Fredi The datepicker is a jsscript like the one below which I found in categories.php, <script> updateGross(); $('#products_date_available').datepicker({ dateFormat: 'yy-mm-dd' }); </script> I change "yy-mm-dd" to "dd-mm-yy" and I get exactly the output I want. Is this what you should do with your code?
  12. kgtee

    Wishlist For Phoenix

    @amaische I used this wishlist navbar module https://apps.oscommerce.com/cl8JP&amp;wishlist-module-for-modular-navigation-b which is different from yours. This module has the MODULE_NAVBAR_WISH_LIST_HAST_CONTENTS. However, your error "Uncaught Error: Call to a member function count_contents() on null" is more difficult to solve. It can be due to an error (typo?) in the wishlist class. Perhaps you want to check the class functions therein more thoroughly.
  13. kgtee

    Wishlist For Phoenix

    The function call has been converted to a session call. You should have this in the template file:
  14. kgtee

    Wishlist For Phoenix

    @amaische If the error is correctly " Fatal error: Uncaught Error: Call to a undefined function count_contents() " , then it is likely you have not uploaded the wishlist class file in the " includes/classes " folder.
  15. I have been working on Phoenix on a test wamp server. The stock subtraction is not working and I cannot figure out why. The stock quantity will just remain the same after every order. Can someone test and confirm this behaviour?
  16. @René H4 Thank you very much! Yes, that fixed it. I was looking at the hooks and wondering how and why the function was not called.
  17. I am one who does not understand how Trump can MAGA by drawing boundaries between America and many countries, starting to build walls around America, quitting a few world organizations and even dividing his own people. I know the glory of America was built on a liberal society, a melting pot for the world people to live in and play, as signified by the Statue of Liberty standing tall at the mouth of the river. Trump prefers to garner the support of a specific group of people, powerful may be, who scratch each others' backs. He instead of making great a country, is making America smaller by the day. By nature I just do not like to live within walls....Lol
  18. Apparently, we learn much quicker in an open space like in this forum.😆
  19. I have seen many examples of nested SELECT encapsulated with brackets. Perhaps this is what it should be. https://www.w3resource.com/mysql/subqueries/index.php SELECT COUNT(p.products_id) AS total FROM (SELECT ......
  20. kgtee

    Remove Paypal Express Checkout bottom!

    @MyBookShop You may want to do like what Willy did above. The file is \includes\modules\content\shopping_cart\templates\tpl_cm_sc_checkout.php
  21. kgtee

    Edge VS Frozen

    @onipaa you will find more discussion about shifting previous Osc to CE Phoenix here
  22. One easy way to hide the price and buy button in product listings is to use a customized CSS. For example you may open the file templates\default\static\user.css and add: However be warned that this method only hides the display of the information on surface and does not stop the buy function from running in the background. You may want to disable the shopping cart all together.
  23. kgtee

    AJAX Attribute Manager support

    Hi Rainer, Thanks for this wonderful app. Just to let you know, AM_AJAX_VALUE is presently defined twice in the language file admin\attributeManager\languages\english\attributeManager.php. This also posts a notice error. You may wish to update in the next release.
  24. If the store owner email is not one of your own domain, e.g. gmail or yahoo mail, then there is a likelihood that your server prevents the emails from sending out.
  25. kgtee

    Store Search Bar (BS)

    I can't because I do not have the permission to make any changes to the app. After all there are only two small changes to the file ""ext/modules/content/header/store_search/content_searches.php": 1) At Line 82, add this line: 2) At Line 130, remove the field "p.products_availability, "