Jump to content

fulluvscents

Members
  • Content count

    305
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by fulluvscents

  1. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    I should have all those E_NOTICES fixed. Uploaded a new package for it.
  2. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    Found the link and added a compatibility package.
  3. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    Ok, now that makes sense. It's two contributions trying to make the same, but conflicting changes to the core. Sorry for my misunderstanding. Can I get a link to the dynamic templates contribution. I'll upload a compatibility note in the USPS contribution area. Will look into those errors. They might not affect functionality, but I don't like them.
  4. @@bassmaga Where is your shop? I'll look at the radio buttons. If the radio is checked, it should be autosetting the method. I think I might have set shipping, but not payment. You can hardcode the default country very simply. There are two similar or matching lines of code at the bottom of the checkout.php page. Replace the first set of single quotes with the country id (shown as ### in the snippet below) without quotes around it. You can find that either in your database or by going to countries in your admin, then clicking on the country. Look in your browser address for cID=### That is the country id. <p><?php echo ENTRY_COUNTRY . '<br>' . tep_get_country_list('country', ###, (tep_not_null(ENTRY_COUNTRY_TEXT) ? ' class="required"' : '')); ?></p> @@varina I'll look at those form fields, but it probably won't be until tomorrow morning. I'd prefer to fix them than settle on "good enough".
  5. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    Sure, I've got it installed here: http://www.fulluvscents.com/catalog. The checkout isn't stock. It's a brand spanking new single page checkout, but the options work exactly the same in stock checkout. Unfortunately though, you won't be able to get into the admin area. I am presently adding a few more thing to it, so if things get wacky, that will be why.
  6. @@oxwivi Try this and if it works, then I need a link for the contribution that it goes to. Find: else foreach($_POST['qty'] as $pID => $qty) {$cart->update_quantity($pID, $qty, $_POST['attr'][$pID]);} Replace with: //Minimum quantity code else { foreach($_POST['qty'] as $pID => $qty) { if(MINIMUM_ORDERS == 'true') { $min_order_query = tep_db_query("select minorder, products_name from " . TABLE_PRODUCTS . ", p left join " . TABLE_PRODUCTS_DESCRIPTION . ", pd on p.products_id = pd.products_id where products_id = '". $pID ."'"); while ($min_order = tep_db_fetch_array($min_order_query)) if ($qty < $min_order['minorder']) { $qty=$min_order['minorder']; $return['msg'] = sprintf(MINIMUM_ORDER_NOTICE, $min_order['products_name'], $min_order['minorder']); $return['status'] = 'warning'; } } $cart->update_quantity($pID, $qty, $_POST['attr'][$pID]); } } //End Minimum quantity code Find: cartUpdate: function() { var pID = $(this).attr('data-pID'); $.ajax( { data: 'action=cartUpdate&' + decodeURIComponent($('#cartContent').find('[name^=qty[' + pID + ']], [name^=attr[' + pID + ']]').serialize()), success: function(data) { if (data.products == 0) {window.location = '<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL');?>';return false;} else { checkout.cartRefresh(); checkout.headerShortcutsRefresh(); checkout.colsRefresh(); checkout.totalsRefresh(); checkout.RowsRefresh('payment'); if (data.shipping == 'false') $('#shipping').hide(); else {$('#shipping').show(); checkout.RowsRefresh('shipping');checkout.AddressRefresh('shipping');} Add After: //Minimum quantity code if (data.msg != '') checkout.errMessage(field, data.status, data.msg); //Minimum quantity code EDITED : To Add brackets. Won't work without those brackets.
  7. @@bassmaga fixSEO link is not needed. NOTE: There is a conflict with the old OPC that I didn't think about. EVERYTHING from the template top file, that pertains to checkout.php needs to be removed. And while you're at it, undo whatever you did to the checkout.php file. @@oxwivi You can disable the ability to change quantity, or it can be modified to work. Up to you. Looks like an easy change. Yes, the description is lacking. I'm just glad to have this thing done. Have you seen the number of views that the other forum thread got? This forum is what leads people to what they're looking for. Since you can't see number of downloads from the contribution area, the forum is the next best guess at what works and what doesn't and what everyone else is relying on. I'm okay with it.
  8. So, just as I thought I had everything 100% complete, I ran into a bug and my heart sank. You know that feeling when you think you're done and find out you aren't. Yeah. Well, three line deletions, and we are good to go. The only questions remaining are whether there are any server compatibility issues. Let me know what you run into. http://addons.oscommerce.com/info/8338
  9. No. It is a standalone add-on written for stock osc. It will work on it's own with any stock mods, but as of yet, it is not compatible with other custom add ons (except the USPS mod that I recently contributed). As compatibility packs become available they will be contributed as exactly that - compatibility packs. They will be optional and suited to fit other contributions, but will never be a core part of this contribution.
  10. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    If the dynamic template requires changes to the shipping mods, then perhaps, the dynamic templates should either be rewritten, so that they don't intrude on already existing scripts, or the dynamic templates contributor(s) should take the time to supply the necessary updates for the mods that their script intrudes on, don't you think? If they can't make it a one size fits all, then they need to invest the time in staying up to date with CORE mods and issuing compatibility packets along the way. Seems to me it would be easier (and make more sense) to write a script that works with the existing OSC core, than it does to force changes to the core and all surrounding mods so that an incompatible contribution will fit like it would if it had been written thoughtfully in the first place. Incompatibility of another contribution isn't a shipping mod issue. It's a distinct issue that needs to be dealt with by the creator of that contribution. Those are my cents on that. The issue with needing to choose 2 shipping methods is in fact a bug. I've found the reason and fixed that and I will upload a new package momentarily. @pederb I'm not sure what you mean. First I need to mention that this isn't the old USPS methods. The option isn't to display insurance as text just to inform the customer that their package is insured, but rather to display any add on services as a break down of the total cost, if you choose to display it. Your choice is to: 1. Not use the service 2. Use the service (which the customer pays for), bundle it into the cost of the shipping methods, and NOT SHOW the customer a breakdown of their shipping costs. 3. Use the service (which the customer pays for), bundle it into the cost of the shipping methods, and SHOW the customer a breakdown of their shipping costs. For option three, before the breakdown will be displayed, the customer must choose a shipping option. Once the option is selected, they will see (Show Details). When they click on that, it will give them a breakdown (base, handling, delivery confirmation, insurance, etc...). The page gets far too sloppy if you display everything at once. So, it is only displayed on an as needed/wanted basis. Just because you choose an option, does not mean it will be available, or that it will be charged, hidden or displayed. If USPS doesn't offer the service for whatever reason, then your selection is moot. USPS may not offer a service for a variety of reasons: a. Value exceeds insurable value b. Service is only available at counter and you chose internet rates, or vice versa c. Service not available for shipping type d. Service is not available to destination country e. etc...... If you choose it, and IF USPS returns it, then it will be charged and added (and displayed if you choose to display it). This module is based strictly on what USPS offers, based on the input that comes from your cart and your admin settings. It isn't designed to be custom suited for anything outside of USPS package options and services. Another point that I need to make. The script pulls ALL available information and sorts/charges/displays based on what you give it. If you choose two services that are redundant or incompatible per USPS offerings, both of those services will be returned. It's up to you to know what is and isn't appropriate for your shop and your customers. For example, don't choose "registered mail without insurance" PLUS insurance, or vice versa, don't choose regular registered mail, but forget to choose insurance along with it. And there is no sense in displaying both delivery confirmation AND signature confirmation, as these are redundant and SC rules out DC.
  11. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    Just uploaded some upgrades. Separate handling fees for each shipping method, insurance (and any other available extra service), and ability to show shipping regulations to international customers. This will be most beneficial for those running 2.3.1 shops, but will also work on 2.2 shops. The older shops just won't be able to show extra services or regulations. Despite the fact that it does take up some room in admin (due to the large number of shipping methods, it is tucked into a nice neat little package, isn't sloppy, and should not be confusing.
  12. fulluvscents

    USPS or Free Shipping, but not both?

    It's for the stock free shipping found under order totals. I'm not sure exactly how your site is set up. From what I understood, you said some ITEMS are free shipping, and some are not. Most of the shipping/order total modules are based on cart total (weight and cost), not individual items. In fact, if you have some items for free, and some based on weight, etc, then you need to have your shipping modules customized to remove the weight (and cost in some cases) of those free shipped items before calculating the shipping cost. I do assume that your customers can purchased mixed products, right? Some ship for free and some do not? Or, is your free shipping based on cart total? I guess I'm still confused. If ALL items are free shipping, then the free shipping option should be shown along with the option to upgrade shipping if the customer so chooses, right? And to get technical, the upgrades should deduct the cost of standard shipping. If NONE of the items are free shipping, then the free shipping options should not be shown. If the cart is mixed, then the weight of the free items should be removed from the shipping weight and the cost of the free items should be removed from the cart total before calculating any other shipping methods that are based on either the weight or the cart total. In this case, free shipping wouldn't apply to the entire order, and shouldn't be shown. But, the paid shipping options should reflect the difference. Now, is that about right, or am I totally off track here?
  13. fulluvscents

    Shipping Module or bust

    Gary. You create your zones from your admin panel. You can do anything from worldwide, down to a specific state, a group of countries/states, or whatever you want. It's like categories and products. You create a zone category and then inside that category, you create each location that you want to include in that zone. For International, that does mean adding every country EXCEPT the United States. But, for simplicity sake, if you don't want to ship outside of the US with UPS, then you set up a zone for US, and then set UPS only to the US zone. I hope that gets you a start on your way to where you want to be. Then, with the shipping methods, I'm not sure about UPS, but I know with USPS, you can choose your methods, and you can choose weight limits for those methods, which will help you with your small/large item dilemma. I may not be the total solution, but it will lessen any extra customizations you'll need. And no matter what you might think, any website is going to require some personal touches. The contributions are a great start, but it never one size fits all. The good news though, if you can get it pinpointed to some simplicity using the contribs that are available, finding that last fix usually isn't all that tough.
  14. Yes, it will work, and it is easy to install. The stock USPS modules are all outdated now, even the one that comes with 2.3.1. USPS Methods is not outdated technically (although it's still missing some methods), but the script has gotten far in excess of what it needs to be. I think the community was probably ready for a fresh USPS module, especially with the major changes that USPS has been making. Please join us on the thread where the new mod is being discussed so that we can keep all the discussions in one place. If you need personal install assistance, then you can PM me. But, for anything generally related to the module, I prefer to keep discussions in the appropriate threads. http://forums.oscommerce.com/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/ Thanks, Jetta
  15. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    I have uploaded a couple more versions - and will continue to do so until I have the module where I personally want it. I figure it'll be nice to give different options because not everybody has the same shipping needs. Some of the int'l options weren't showing up in 1.0 b/c of the dimensions (first class was fine. It was flat rate boxes that I wasn't getting). It took a bit of playing to find dimensions that returned all packages, but I did find them and they are set up in v1.1 - that means that you do not need to set dimensions from the admin panel, like with previous versions (less clutter). Everyone, please note, that in order for the module to work, you must uninstall the old version before installing the new one. Otherwise, you'll end up with junk configurations that will interfere with the new module. To remove them, you either need to put the old file back and reinstall/uninstall, or manually search and remove all USPS entries from your configuration table in your database. This module is NOTHING like the old ones. The scripting is entirely different. The html character replacements are different. There may even be straggling code in other files that you are free to remove once you install this. I have two goals when scripting now. 1. Do not intrude on the core project unless that is the actual intent of the add on, and 2. Efficiency. What was taking over 1000 lines of code, can be done in less than 300. Less redundant script means less crap for your server to read through, faster page loads, etc... My hope is to get in the options, without cluttering the admin panel. One script can't meet everybody's needs without becoming too much. So, I'll hit the basic needs, and the stuff that I personally want. I suspect, working on it here and there, I'll have that done within a week or so. @ Pederb - I do not have one single ereg_replace function in this script. So, you're getting that from somewhere else. You do need to remove the functions that were installed with the prior USPS modules. They are not necessary. So far, only ONE tep function is required for what I've got written. The rest can be removed (in both catalog functions, and admin functions). You just have to locate them. I don't know that dreamweaver can be used as a text compare tool without downloading/integrating other applications. That being the case, it makes sense to use a standalone text compare tool. I personally use beyond compare. Winmerge is a popular free tool. Anybody who is going to be installing / uninstalling, or modifying files, NEEDS to have a compare tool. It is so much easier and faster than going through instructions line by line. I don't like writing instructions any more than I like reading or following them. So, you'll find that my contributions won't include them unless it's a real simple install. And even if they do, it might not be completely "accurate". But one thing I will always do is mark any changes in comments like this // EXAMPLE START ...... // EXAMPLE END. I will comment out old lines and not comment new lines. Changes will be easy to find and easy to undo.
  16. fulluvscents

    USPS or Free Shipping, but not both?

    It was written for 2.3.1, but I think it would be real easy to fit into 2.2. I don't think the script is that far off in these particular files.
  17. fulluvscents

    USPS or Free Shipping, but not both?

    Here ya go: http://addons.oscommerce.com/info/8328
  18. fulluvscents

    [Contribution] - USPS Methods

    Hey guys. Wow. Ya know, I think I've got 5.2.1 or 5.2.2 running on my site (osc2.2). I never ran into any issues with the changes on the 22nd. Everything is fine and dandy. I did decide to write a new module though because well, I'll be honest. The scripting for the old one was pretty hacked up. This one was written and tested on a 2.3.1 site. It is a very stripped down module, without any frills. I figured I would upload it at it's barest point and add to it from there. I will be the sole maintainer of that contribution so the updates will stay clean and understandable. Note that USPS methods has gotten to a whopping file size, with FAR too many intrusions into the database, other pages, etc... It's actually gotten downright silly. Not everyone wants to spend an hour or two or DAYS uploading and dealing with the frustration of what should be a simple postage calculator. And unfortunately, stock 2.3.1 doesn't even come with a V4 compatible module. So, hopefully, this will fit the bill for those who want a working, efficient, and very easy to install USPS shipping calculator. The new module can be found here: http://addons.oscommerce.com/info/8327 And I have started a support thread here: http://forums.oscommerce.com/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/
  19. Do you mean you want to be able to offer free shipping for an entire order, or for specific products? Are you on 2.2 or 2.3.1?
  20. fulluvscents

    USPS METHODS NOT WORKING?

    Just in case anyone is interested, I uploaded a new USPS contribution. It is a VERY simple module, which some of you asked for last year. Essentially, I'm rewriting the code for efficiency, and this is the stripped down version. The code is clean and efficient, unlike USPS Methods. It includes international and domestic regular, flat rate, and regional options. You choose the options you offer. Other than that, it has no extras. The new module can be found here: http://addons.oscommerce.com/info/8327 And I have started a support thread here: http://forums.oscommerce.com/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/
  21. I've just uploaded a new USPS contribution with a much needed coding update. The contribution is VERY simple, but the code is clean and efficient. It includes international and domestic regular, flat rate, and regional options. "USPS Methods" after v. 5.2.1 are all V4 compatible, although they are all still a little buggy and are resource hogs. Methods can be found at the link posted by a.forever. The new module can be found here: http://addons.oscommerce.com/info/8327 And I have started a support thread here: http://forums.oscommerce.com/topic/383307-usps-rate-v4-intl-rate-v2-official-support-thread/
  22. fulluvscents

    USPS Rate V4, Intl Rate V2 (official support thread)

    Contribution can be found here: http://addons.oscommerce.com/info/8327
  23. fulluvscents

    [Contribution] - USPS Methods

    Someone emailed me about international first class not working. Don't have time to sort through the thread and find the post. But, I don't see any problems with int'l first class. Remember, it only works for up to 4 lbs.
  24. fulluvscents

    Credit Class & Gift Vouchers (CCGV) for 2.3.1

    Regarding checkbox not showing up: Go to your admin panel, modules, order totals. First, click on "gift vouchers" and check your "recalculate tax" setting. Per the instructions: No tax recalculation Sub-total - Sort order = 1 Shipping - Sort order = 2 Tax - Sort order = 3 Gift Voucher - Sort order = 4 Discount Coupons - Sort Order =5 Total - Sort Order = 6 Tax recalculation Sub-total - Sort order = 1 Shipping - Sort order = 2 Gift Voucher - Sort order = 3 Discount Coupons - Sort Order =4 Tax - Sort order = 5 Total - Sort Order = 6 Obviously, if you don't charge sales tax, you would check false for re-calculate tax, and use the first sort order option, leaving out taxes altogether.
  25. fulluvscents

    One Page Checkout Support

    I just uploaded a new version with fixes to the layout and the change address buttons. If you already have opc for 2.3.1 installed, the main changes are to classes/boxes.php (changes the theme), checkout.php(changes the layout and fixes the buttons), and classes/onepage_checkout.php(fixes the buttons and fixes the new addresses that weren't being saved). There are also minor css padding changes in the files that are found within the includes/checkout folder. I don't check the forums much anymore, so I won't be able to help with anything, but I hope the new upload helps some of you all out.
×