Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

kgtee

Members
  • Posts

    281
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by kgtee

  1. What I meant is the left join pd should apply in the mysql statement as shown below, and not in your PHP code: select count(p.products_id) as count from (products p) join (products_to_categories p2c) on (p.products_id = p2c.products_id) left join (specials s) on (p.products_id = s.products_id) /* left join (products_description pd) on (p.products_id = pd.products_id) */ INNER JOIN products_specifications ps17 ON p.products_id = ps17.products_id where p.products_status = '1' and p2c.categories_id = '432' and pd.products_name sounds like '%PoE%' AND ps17.specification <=> 'Oui' AND ps17.specifications_id = '17' AND ps17.language_id = '3'
  2. "products_name" is missing a left join pd prefix. It should be pd.products_name
  3. @cebukoreanews I have just updated the module to work in 1.0.7.14. Please download at the app market. Feel free to comment, and update it if you have any enhancement. Thanks.
  4. @piernas Thanks for the update. We need more apps like this one, both admin and shop sides, to improve user experience 😄
  5. 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. @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.
  7. The function call has been converted to a session call. You should have this in the template file:
  8. @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.
  9. @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
  10. 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.
  11. 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, "
  12. I used firefox web console to debug the ajax process and the console showed an error in the file "content_searches.php". The error pertained to a statement looking up the product database table for a field called products_availability which is obviously not native of Phoenix original database. After clearing this error, the store search is finally working.
  13. Hello Gwenn, Have you tried this one? I have no luck getting either one to work 🤕 It might have something to do with the dropdown menu behaviour of each BS4 version. If you try to change the BS in Phoenix 1077 to different versions, you will see all the dropdown menus sometimes work and sometimes not.
  14. When you make wishlist into a hook, I am curious how you ensure the wishlist action is executed before the shopping cart action. This order of execution is important as you do not want shopping cart to act first leaving nothing for the wishlist.
  15. Hi Val, you may try this Slick_Image_Gallery.zip. It is a pi module The ext\slick directory is not included in the zip package. You can use the same one supplied in the original add-on.
  16. https://apps.oscommerce.com/6V87X&bs-slick-image-gallery
  17. I think the slick gallery can be adapted to do just that.
  18. 😁The app does not need you to understand the PHP code. All you need to do is to log into the Admin page and look for the app which you have installed and start using it to set the discount code.
  19. Hello Zahid, I hope you are well. You have been a generous contributor. I believe many people miss you.

     

  20. There is an error on line 34: Should not this variable be "$attributes_values"?
  21. https://stackoverflow.com/questions/547821/two-submit-buttons-in-one-form Two form submit buttons were coded from day 1 by the original contributor and they did not have any problem. As they each have their own name and value, I should see that this has avoided any problem. The contributor has even highlighted that the wishlist actions should be placed before the shopping cart actions. This is really clever. 😄
  22. @LeeFoster When the button "save to wishlist" is clicked, the session parameters registered for wishlist are invoked and passed on to application_top.php to take wishlist actions.
  23. The correct class is nb_wish_list, and not nb_wishlist in my version. You may want to check and ensure consistency of the class name.
  24. I have been using the wishlist addon on my heavily modified 1.0.1.3 without any issue. Today I tried to migrate it to 1.0.5.2 and there seems to be no problem. Anyone interested may try this version. Wishlist.zip
×
×
  • Create New...