Jump to content

natrium42

Members
  • Content count

    141
  • Joined

  • Last visited

Everything posted by natrium42

  1. natrium42

    Fed Ex Module for 2.2

    If you don't want to do the work, you should hire somebody to do it for you.
  2. Yes, but that's my own mod to this contribution that isn't public yet. I might clean it up and publish it if there's enough interest.
  3. Here's a screenshot of the shipping interface. Each order has a "Ship via eShipper" button regardless of the type of shipping the customer has selected. But it automatically pre-selects the customer's choice in the selection list. The selection list shows the exact price for each shipping method. When ship button is clicked, everything is sent to eShipper and a label is returned & saved
  4. Yes, I have done that for my backend as I prefer shipping each order separately at a click of a button instead of the multiple-shipping method included in this mod by default. I can ship any order using eShipper from the admin interface and it gives me shipping methods with price quotes in a drop-down list. It would take some time to clean it up and write instructions, though... (I also have hacks to use the UPSXML module for proper transit time estimates for the UPS methods, since eShipper cannot do it directly.) The front-end is usually needed to quote your customers the correct shipping price. How else are you going to do that?
  5. Yes, please use the search function.
  6. natrium42

    Charge Fees in % per Dollar value

    SHEPJ, considering that your only other option was to submit a feature request to the osCommerce team and wait ages until it would be implemented or rejected, the two options that burt suggested were quite reasonable. You can't really expect somebody just make a mod personally for you in their spare time. I just wish that the osCommerce team would put a notice about programming knowledge being required for proper installation of a shop. PHP is not that hard to learn and it would eliminate at least some of the stupid forum posts.
  7. natrium42

    Canadapost error

    Hmm, I should probably add that feature to the contribution. I also added a way to modify the address before submission (you also get two address lines), just need to put it together and update the public version. Any other suggestions? As for the 2.0 version, maybe you could PM insaini about it? He might be able to help you solve this problem.
  8. Make sure you have a line like "define('MAX_ROW_LISTS_OPTIONS', 10);" inside admin/includes/languages/<your_language>/products_attributes.php
  9. Only Chuck Norris can divide by zero. What is on those lines?
  10. natrium42

    Ship by Quantity?

    I haven't tested this, so there may be typos. Let me know if it doesn't help. Change line tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Table Method', 'MODULE_SHIPPING_TABLE_MODE', 'weight', 'The shipping cost is based on the order total or the total weight of the items ordered.', '6', '0', 'tep_cfg_select_option(array(\'weight\', \'price\'), ', now())"); to tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Table Method', 'MODULE_SHIPPING_TABLE_MODE', 'weight', 'The shipping cost is based on the order total or the total weight of the items ordered.', '6', '0', 'tep_cfg_select_option(array(\'weight\', \'price\',\'quantity\'), ', now())"); Change the following code if (MODULE_SHIPPING_TABLE_MODE == 'price') { $order_total = $cart->show_total(); } else { $order_total = $shipping_weight; } to if (MODULE_SHIPPING_TABLE_MODE == 'price') { $order_total = $cart->show_total(); } else if (MODULE_SHIPPING_TABLE_MODE == 'weight') { $order_total = $shipping_weight; } else { // quantity $order_total = 0; $products_array = $cart->get_products(); foreach($products_array as $product) { $order_total += $product['quantity']; } } Remove & install the module for the configuration change to take effect.
  11. natrium42

    Ship by Quantity?

    So you just changed the shown text and expect the computer to interpret it for you? XD What you need to do is modify the code in quote() in includes/modules/shipping/table.php.
  12. natrium42

    Ship by Quantity?

    He means to modify the code and where it checks for weight, check for quantity instead.
  13. natrium42

    Canadapost error

    It looks like there is some problem relaying $response between steps of ship_canadapost_ajax.php. In this case, $response from step 2 doesn't seem to be available in step 3. So it doesn't assemble the correct URL, which should be "https://sso-cal.canadapost-postescanada.ca/sso/login.jsp?~language=EN" So first, make sure that you have cookies enabled in your browser. The code is using sessions, so maybe it's broken if you have cookies disabled. I don't have this "2.0" version installed, so I cannot easily test a solution for you. You can also install my original contribution "Canada Post Automatic Labels 1.2.1" instead. I don't really see any advantages of the 2.0 version. It uses AJAX, sure, but there doesn't seem to be a point if you still have to wait for the process to finish before you can do something else when shipping.
  14. natrium42

    Canadapost error

    OK, please post the dump again inside [ code ] [/ code ] tags. Step 3 is start of the shipping application.
  15. natrium42

    Canadapost error

    Duh, that's why I said to use code tag :P OK, it looks like the cookie file might not be written. Canada Post Automatic Labels 1.2.1 writes it to admin/temp/ folder. Check whether cp_cookies file is there. If not, make that folder writeable. Canada Post Automated Labels 2.0 and Canada Post Shipping Module 4.0 defines the location for the cookie file in ship_canadapost_ajax.php file. Make sure the path is correct and writeable!
  16. natrium42

    Canadapost error

    You should look for any error message in the last part of the dump. Or remove your user name and password from the dump and paste it here (make sure to use the code tag!!!)
  17. natrium42

    Canadapost error

    Have you tried changed the corresponding line to $debug=1; at the top of the ship_canadapost.php file? That will give all the output from Canada Post server.
  18. natrium42

    FedEx Freight module defaults

    It should be '0' by default. '0' corresponds to 'No', '1' corresponds to 'Yes'. You could run "update products set products_fxf_haz=0, products_fxf_freezable=0" to set all existing products to 'No'. If this doesn't help, maybe there is a problem in the code and I can check again. But it really seems that this is just a database problem.
  19. natrium42

    FedEx Freight module defaults

    OK, I have looked at the module briefly. Looks like all you need to do is set `products_fxf_haz` and `products_fxf_freezable` to 0 for all rows in `products` table. And make sure that the default is 0 for those two columns to that it's No for all new products. I am not sure how you ran fxfreight.sql, because it does set it up correctly. Not sure why you have been "working" on this problem for so many days as it only took a 5 minute look at the source files...
  20. natrium42

    Weight based table shipping

    Check "Package tare weight" in Admin -> Configuration -> Shipping/Packaging. This weight is added to each package, so make sure it's correct. You could set it to 0 if you want.
  21. And still no code posted.... How are we supposed to help you?
  22. natrium42

    Enable shipping method only when

    == is comparison operator, lol :D Perhaps instead of guessing your way, you could at least read some basic tutorial :P I have tried to teach you which files to look in etc., without providing a full solution... I guess you could use "return;" instead of "break;" since you have said that it worked for you before. I don't have the code in front of me to suggest a better way at the moment. It would be better to put the code where the shipping system asks the module whether it's enabled or not, but I can't tell you without looking at the code. This is a giant hack anyway.
  23. natrium42

    Enable shipping method only when

    No, just make sure that ['weight'] is set in get_products() function. Also you can add "echo 'Weight: ' . $product['weight'] . '<br>';" below "foreach($products_array as $product) {" just to check that weight is being returned correctly.
  24. natrium42

    UPS XML Time in Transit XML Not Showing

    Sure, just print the response.
×