Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

JcMagpie

♥Ambassador
  • Content count

    3,373
  • Joined

  • Last visited

  • Days Won

    198

Everything posted by JcMagpie

  1. Has been updated to combine all 32 themes into one add-on. JcM More New Themes Header Tags-V1.2 Has been tested on Phoenix 1.0.5.2 only The Bubblegum theme can be seen running on this 1.0.5.2 site
  2. JcM Footer Modal Cart V1.1 Update to an old add-on, all credit to original author: Gergely V1.0 18/07/2015 A simple add-on that allows you to display what's in the cart as the customer adds it. It is a Modal with cart. Customer can either checkout, continue without leaving his page or he can edit cart. This is a bootstrap Modal with no Ajax used. It’s a simple no core change add-on so just copy files over go to admin and install and setup. Script is loaded using site wide hooks so will not work with any version that’s not using these. Adjustments background opacity and color can be made in admin. That’s it enjoy. Has been tested on Phoenix V1.0.0.3 only. Can be seen working on my custom test site Can be see working in this video NOTE: This is NOT the official test site With Opacity set to 0 With Opacity set to 0.75 and color pink
  3. JcM Footer Modal Cart V1.6.2 Updated to: To fix class error “PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP”
  4. Three reports based on existing old reports just updated, expanded and modified for Phoenix . Tested and working on Phoenix 1.0.5.2

    Error logs show no notice, warning or errors under PHP 7.3

  5. JcMagpie

    Pop out. login

    Set you force cookies to true and it will activate popup on first try.
  6. JcMagpie

    Pop out. login

    Yes this is an issue that needs to be looked into, how ever I did my testing on 1.0.5.1 and that has a problem with login as it is so was not able to dig any deeper. I can only speek for my fresh in stall of a few days ago but on fist load of site the login brakes the site you just get a white page. It must have somthing to do with bad redirects as all you see is this When you refresh the page it works as normal. However if you clear your cache and goto site again it will again crash if login is the first thing you do. It's fine if you click somthing else first and then go into login. This happens both with and without this add-on. So need to get ot the bottom of this bad redirect first. May be linked to Use Search-Engine Safe URLs not sure , only geting this error when this happens. thrown in /home/redacted/public_html/includes/application_top.php on line 107 [28-Feb-2020 07:43:05 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function do_magic_quotes_gpc() in /home/redacted/public_html/includes/application_top.php:107 Stack trace: #0 /home/redacted/public_html/login.php(13): require() #1 {main} thrown in /home/redacted/public_html/includes/application_top.php on line 107
  7. JcMagpie

    Pop out. login

    @hungryfrank No thanks needed, all I did was give a few pointers, you managed to figure it out and get it working on your own. Not bad not bad at all.....
  8. JcMagpie

    Pop out. login

    Nice! working fine on Phoenix 1.0.5.1 I'm sure lot's of people will like this login option. Add-on can be seen working on this site Looking forward to seeing the final version of you Ajax one page checkout......😊 chin up as they say, just keep codeing.
  9. JcMagpie

    Change Layout For PayPal Hosted ~ paypal_pro_hs.php

    So then just scroll down to this sectinon and follow instructions. https://developer.paypal.com/docs/payflow/integration-guide/configure-hosted-checkout/#hosted-pages-and-mobile-browsers
  10. JcMagpie

    Change Layout For PayPal Hosted ~ paypal_pro_hs.php

    Also note the changes will not! Note: These customizations are not applied to the mobile version of the hosted checkout pages.
  11. JcMagpie

    Change Layout For PayPal Hosted ~ paypal_pro_hs.php

    This is done in your paypal account settings not in osC. https://developer.paypal.com/docs/payflow/integration-guide/configure-hosted-checkout/
  12. JcMagpie

    NEW! Complete Order Editing Tool!

    @Fredi I have found that many of the notices and warnings are being caused by code relating to no Ajax code. in edit_orders.php look for this code it's in more than one place. <div class="update5" align="center"><?php echo tep_image_submit('button_update.gif', IMAGE_UPDATE); ?></div> The "temp_image_submit " function is missing, so just replace with normal button and you will see quite a few notices and warnings will disappear.
  13. JcMagpie

    NEW! Complete Order Editing Tool!

    Try replacing the each with foreach This must be somting to do with your php version as I did not get this error on php 7.3 are you running somthing higher?
  14. JcMagpie

    NEW! Complete Order Editing Tool!

    For this kind of error simply add at begining of function. $index = '';
  15. JcMagpie

    NEW! Complete Order Editing Tool!

    Running latest version on Phoenix 1.0.5.1 downloaded 2 days ago. Only installed the main files not the options and worked fine even with the notices and warning plus one error. simply updated languge file to get rid of all Undefined echo's and use ' ' on all Undefined veriables. The fatal error was simply missing "function tep_class_exists" was in the optional genral.php but not in functions.php so just moved over and fixed. Only issue left is PHP Notice: Undefined index: shipping_same_as_billing, not sure but this look to be just a filter to show or not show the address for now just commeted out from css.php and notice is gone. Impact! all adresss will show all the time.... for me not an issue. [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: orders_products in /home/************/public_html/************/order_editor/cart.php on line 33 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: index in /home/************/public_html/************/order_editor/cart.php on line 46 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined variable: orders_products in /home/************/public_html/************/order_editor/cart.php on line 33 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: shipping_same_as_billing in /home/************/public_html/************/order_editor/css.php on line 180 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: shipping_same_as_billing in /home/************/public_html/************/order_editor/css.php on line 181 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: billing_same_as_customer in /home/************/public_html/************/order_editor/css.php on line 183 [25-Feb-2020 21:10:49 Europe/London] PHP Notice: Undefined index: billing_same_as_customer in /home/************/public_html/************/order_editor/css.php on line 184 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1149 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant BOX_WIDTH - assumed 'BOX_WIDTH' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1150 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1237 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1245 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_TELEPHONE_NUMBER - assumed 'ENTRY_TELEPHONE_NUMBER' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1273 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1319 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1327 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_COMPANY - assumed 'ENTRY_COMPANY' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1390 [25-Feb-2020 21:10:49 Europe/London] PHP Warning: Use of undefined constant ENTRY_SUBURB - assumed 'ENTRY_SUBURB' (this will throw an Error in a future version of PHP) in /home/************/public_html/************/edit_orders.php on line 1398 [25-Feb-2020 21:10:49 Europe/London] PHP Fatal error: Uncaught Error: Call to undefined function tep_class_exists() in /home/************/public_html/************/edit_orders.php:1488 Stack trace: #0 {main} thrown in /home/************/public_html/************/edit_orders.php on line 1488 tep_class_exists
  16. Thank's @Howmessages clearly missed that as it was commeted out! Has been updated JcM Footer Modal Cart V1.6.1 It has also been tested on Phoenix 1.0.5.1 and works fine. On a fresh install the js code was needed in the foooter so has been activated in update.
  17. Need to know more? https://library.oscommerce.com/Online&amp;en&amp;oscom_2_4&amp;developers&amp;hooks
  18. JcM Password Forgotten V1.0 Phoenix This is a simple add-on the Password Forgotten onto the login page. It requires NO core changes so just copy over the files provided. It’s a hook so nothing else to do, it should just appear on the login page. That’s it Enjoy.. Has been tested on Phoenix Version 1.0.4.0 only. You may or may not need this so check first. Can be see working on this site On stock Phoenix 1.0.4.0 this is what is shown, After adding the hook you should see.
  19. Yes simply copy over the files. As mentioned above check as you may simply need to turn on the existing module. Hahhh.... Good question. "A rose by any other name would smell as sweet" So what is a "hook" strictly speeking php has no such thing and osC is writen in php. So for our purpose a "hook" is just a something that can plug some aditional code into an existing part of the code to change or extend it's function. So in simple terms you can consider it as and extention or module or plugin. To use in php you have to build your own extention/class and to make use of it and the programmer has to place code into the existing system to recive these new bit's of code. Hook's are not new to osC they have been used for some time...
  20. Has been udated to add the Ajax state select on address edit in checkout and address book. Not super critical but hey it's done. Again will require 2 more core file replacments or edits so be sure you need this. Also cleaned up hook file to remove unused code a by product of copy and paste! 🙄...........I know not the first time and probably not the last...😳
  21. 😊 nevermind not going to get the time back so no point dwelling on it. On to the next one as they say....
  22. Updated to hook and adapted for Phoenix based on code snippets published on the forum by @De Dokta.

    This requires the replacement or edit of one core file so only use if your happy doing this.

    image.png.be8ba8ce6b106e68ca030240a926d835.png

    1. valquiria23

      valquiria23

      thank you very much Zahid for another PRO addon for Phoenix!!! 

  23. Yep it's in the full new install zip.... Clearly I missed this when doing the manual update on my test site 🙄 both. Just shows how easy it is to miss bit's with a manual update even when you have done it several times. Will have to be more carefull in future or just do a new install....
  24. Oh well never mind now we have a hook for the same thing.😳..... Not the first time I've made something already done! even done duplicates of my own add-on's by mistake. Just forget at times you have already done things. Feel free to remove thread and and add-on.
  25. This is a simple add-on the Password Forgotten onto the login page.

    image.png.4aa2419d590c08386cf80367fff90de5.png

×