Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ArtcoInc

Members
  • Posts

    2,108
  • Joined

  • Last visited

  • Days Won

    40

ArtcoInc last won the day on May 22 2022

ArtcoInc had the most liked content!

Profile Information

  • Real Name
    Malcolm

Recent Profile Visitors

33,309 profile views

ArtcoInc's Achievements

  1. https://dba.stackexchange.com/questions/8239/how-to-easily-convert-utf8-tables-to-utf8mb4-in-mysql-5-5 https://mathiasbynens.be/notes/mysql-utf8mb4 HTH M
  2. @Ken Shea Is it possible to edit the Country table to only have the United States as an option? This way, no-one could "accidentally" select another country. M
  3. Here's what I need ... Let's say that I have two product categories: one is 'Flat Rate', and the other is 'By Weight'. Every product is in one of these two categories. a) If a customer is 1) In the United States, AND 2) *everything* on their cart is a 'Flat Rate' item, then the entire order is shipped at the Flat Rate cost. b) If a customer is 1) outside of the United States, AND/OR 2) has one (or more) items in their cart that is a 'By Weight' item, then the entire order is shipped at the By Weight cost. M
  4. @Mort-lemur Not that I know what I'm talking about ... <g>, but I see: C:\xampp in the first line, and in most of the other lines * but I also see * C:\\xampp in lines 0 and 11 * Oh, I also see * both C:\xampp *and* C:/xampp in line 2 maybe ?
  5. That was it. I must have missed that setting when I un-installed and re-installed the module. Malcolm
  6. Ok, new problem ... With the above edits, the module is working ... HOWEVER ... I have 'Send Debug Email' set to true. Here is a snippet from the debug email for the latest order. Note the lines highlighted in red ... My problem is ... my customers are being charged the 'CommercialRate' ($17.74). But, when I go online to print the shipping label, I get charge the "regular" rate ($21.20). I had the 'Retail pricing or Online pricing' option set to 'Online'. I have just changed it to 'Retail'. Let's see if that fixes things ... Malcolm
  7. *** UPDATE *** Ok, after hammering on it a bit more, I *think* I have it working. <fingers crossed> Is anyone keeping the contribution up to date? Malcolm
  8. I have both "Ship in Cart" and the "USPS Rate V4 Intl Rate V2_r1.8" modules installed on my live site (osC v2.3.4 BS (yes, it's old)). I was contacted by a customer this morning trying to place an order, but claimed that they couldn't. (They received an error message saying "We can not find this shipping address. This is usually caused by a bad ZIP code. Please double check the address you have entered". This is an edit I made to the ERROR_NO_SHIPPING_AVAILABLE_TO_SHIPPING_ADDRESS field in /includes/languages/english/checkout_shipping.php, as I found this was the most common mistake customers made. However, that isn't the case here.) After seeing the latest posts in this thread, I started to examine the code on our site. Working on my in-house test server, I have tried to replace all of the instances of TM to RM in /included/modules/shipping/usps.php , and there was no change. Do note that if you do a mass find-and-replace, there will be a couple of unintended changes (like changing HTML to HRML in one place, and GXGTM to GXGRM in another), so be careful. I edited the configuration_key MODULE_SHIPPING_USPS_TYPES in the configuration table, and there was no change. I un-installed and re-installed the USPS module (with the edits), and still no change. Logging into my live (and un-edited) site, I enables SEND DEBUG EMAIL in the USPS shipping module, and ran a test order. The USPS did return a debug email, but it looks like it did actually return a valid shipping cost. I have attached the debug email below (re-formatted for clarity) ... While the response it truncated, there does not appear to be any errors reported. Does anyone have any suggestions of what to try next? TIA Malcolm
  9. @Alexfillman I am going to give you the benefit of the doubt, and hope you are not just spamming us here. The site you have linked to is a WordPress site, not an osCommerce site. M
  10. @BrockleyJohn Thank you for the clarification
  11. @YePix @BrockleyJohn already answered this here: But, to further clarify, let's look at the code snippet that PiLLaO posted (I have numbered the lines for clarity) ... The comment on line 2 states that it is checking to see if addon # 8044, "Store Closed", is installed. If I read this correctly, this is a *different* addon than the "Store Times BS" addon, and that the "Store Times BS" addon can work WITH the "Store Closed" addon (if installed). Line 3 uses an IF statement to check to see if the file exists. I read this as that the file in question is from the "Store Closed" addon, *not* the "Store Times BS" addon (which is why this code is checking to see if it exists). *IF* the file exists (ie: the "Store Closed" addon *is* installed), line 5 does an 'include_once' to load that file. If the file does not exist, the IF statement won't find it (right?), and will skip over the 'include_once' command. Now, I have not downloaded the "Store Closed" addon to see if the file in questions is actually in that bundle. HTH Malcolm
  12. @corser28 The stock version(s) of osC were written back when PHP v5.x was current. The people in control of the official osC development never updated osC to run under newer versions of PHP. As such, the stock version(s) of osC will not run under PHP v8.x. In fact, they will have problems running under PHP v7.x also. Since osC is open source, there a number of people that have taken the official source code, and updated it to run under newer versions of PHP. @Hotclutch mentioned one above. However, these are considered 'forks' from the original code, and the new management here discourages discussing them here. The new management has announced that a new version (v4.x) of osC will be released 'real soon now', and it is supposed to run under newer versions of PHP. So, your options are: 1) Stick with the original version of osC, and fall back to an earlier version of PHP. Many web hosts have moved away from earlier versions of PHP, so this may be a problem. 2) Find one of the osC forks which will run under a current version of PHP. Please note that we are not supposed to support any of these forks in this forum. 3) Wait until osC v4.x is released. HTH Malcolm
  13. @corser28 Which version of PHP? M
  14. @Nawaraj Which version of osC? M
×
×
  • Create New...