Jump to content


  • Content count

  • Joined

  • Last visited


Profile Information

Recent Profile Visitors

16,823 profile views
  1. After hours of trying to figure this out (mind you, I'm not a coder, I think I finally found a fix for the above mentioned issues. This is my code. If someone could try it and confirm it's really working, I'll update the addon. Just replace the code between the script tags. File: includes/modules/header_tags/ht_jcm_no_stock.php <script> $(document).ready(function() { $('*[data-in-stock]').filter(function () { return $(this).data('in-stock') <= 0; }).each(function() { $(this).addClass('disabled fas fa-ban text-danger').text('$no_stock_text'); // use to change appearance $(this).attr('disabled', true); // $('btn-product-listing.btn-buy').addClass('text-white').text('$no_stock_text'); // $('.btn.btn-light').text(''); // $('.btn.btn-success.btn-product-info').addClass('text-white').text('$no_stock_text'); $('.btn.btn-success.btn-product-info').removeClass('btn-success text-danger').addClass('btn btn-product-info text-white $no_stock_color').text('$no_stock_text'); // $('.btn.btn-light').removeClass('btn btn-light').addClass('btn $no_stock_color'); // $(this).prepend('<span>{$no_stock_text}</span>'); }); }); </script>
  2. Patty

    [Contribution] Ship In Cart

    I'm testing the latest version. No problem. I'll wait. Tks!
  3. Patty

    [Contribution] Ship In Cart

    Unfortunately I'm not a coder and I can't afford to pay one, otherwise I wouldn't have the need to be here asking for help in a community that has always been so helpful. The only thing I have to contribute right now is my time. So I'm testing a lot of addons that I think would be useful and luckily most of them are working fine in the latest version. The ones that are not I'm trying to fix the best I can, but sometimes it's over my head, like this one. Anyway, thank you for being such a great helper. I appreciate your efforts. Phoenix is the best osCommerce has been ever! ๐Ÿ™‚
  4. Patty

    [Contribution] Ship In Cart

    It's not live, it's on testing environment.
  5. Patty

    [Contribution] Ship In Cart

    Well, I tried, but this is too complicated for me. I think this addon will have to be completely revamped for the latest Phoenix versions, for they are very different from the earlier ones. I hope someone tackles it soon, for this is an important feature to have in the store. IMHO I think it should be part of the project.
  6. Another nice addon. It's working almost 100% on v1.0.58. The only flaw is that the badge does not show on product_info.php and shopping_cart.php Can this be fixed? I tried to find a solution but haven't been able to. And yes, both pages are selected on the addon admin. TIA for any help with this!
  7. Patty

    [Contribution] Ship In Cart

    OK, Tks for pointing me the direction. ๐Ÿ‘
  8. Patty

    [Contribution] Ship In Cart

    Has anybody been able to install this on Phoenix v1.0.58? I'm getting the following error on the shopping cart after installing it and I'm at loss. Any clues? Fatal error: Uncaught Error: Call to a member function fetch_to_address() on null in C:\xampp\htdocs\Phoenix1058\includes\system\versioned\\order.php:170 Stack trace: #0 C:\xampp\htdocs\Phoenix1058\includes\system\versioned\\order.php(27): order->cart() #1 C:\xampp\htdocs\Phoenix1058\includes\modules\content\shopping_cart\cm_sc_shipping.php(61): order->__construct() #2 C:\xampp\htdocs\Phoenix1058\includes\system\versioned\\osc_template.php(147): cm_sc_shipping->execute() #3 C:\xampp\htdocs\Phoenix1058\shopping_cart.php(15): oscTemplate->getContent('shopping_cart') #4 {main} thrown in C:\xampp\htdocs\Phoenix1058\includes\system\versioned\\order.php on line 170
  9. I cannot develop, but I can make simple things work, if pointed in the right direction. ๐Ÿคจ Thank you!
  10. Thank you for your reply. By the way, your addons are great, congratulations! I tried to update it by comparing the modules, but they were so different that I thought I was comparing the wrong ones (sorry, I'm not a coder... ) I believe it's just the PI side that needs to be duplicated and then add the KissIT functions, right? Just please point me in the right direction and I'll try to do the rest. Thank you! Have a great Sunday and stay safe! ๐Ÿ™Œ
  11. Hi there. I'm trying to install it on Phoenix v1.0.58. It seems to work fine with the regular product_info modules, but if I try to install it on the modular product info on modules_pi.php I get the following error: Fatal error: Uncaught Error: Cannot access protected property pi_gallery_kissit::$group in C:\xampp\htdocs\Phoenix1058\admin\modules_pi.php:43 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Phoenix1058\admin\modules_pi.php on line 43 Any guidelines on how to make this work on that page? Or any ETA on an update compatible with v1.0.58? TIA for any help.
  12. Yes, same issue with v1.0.58 Buy now cart icon disappears and button changes to the same color as defined for the no stock button. Other than that, it's working as it should. Have you found a fix for that?
  13. Thank you! That worked! Uncompressed back up was restored! But it won't restore the compressed back up file. Also it's forcing the restoring of all tables, not just the selected ones. Like you said, it's just a temporary fix, but the code should be reviewed to make it work as it's supposed too. In any case, thank you for your help with this! Have a great week and stay safe! ๐Ÿ˜™
  14. Yes, it does. Both compressed and uncompressed files look fine.
  15. Yeah, but the point is to be able to use the automated backup. I also just started with Phoenix and I'm trying some useful addons. Thanks anyway.