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)

    @@jeffreyice1 If the description is too long, try setting that to text as well. If that doesn't work, let me know. @@rwest I got the exact same error last night when installing the zencart USPS mod on a zen shop. I don't know what it was, but I clicked a few things in admin and made it go away. Not being my script, I wasn't going to mess with it. Now that I am aware that it's affecting this mod as well, I'll try to look into it and see what that is. If you change anything in admin to make it go away, would you post what changes you made, so it will help me pinpoint the source of the problem? If it's not returning rates, make sure you've selected shipping options, and that you have your zip code set in your configuration settings. Those are the first things that pop to mind. And if that doesn't work, then find the line that is commented with the TEP_MAIL function. Uncomment it, run the cart for a test run, and see what gets sent to you in the email. No need to upgrade your API username. @@dculley The function isn't defined, because the general.php file wasn't modified. It sounds like you installed one of the "add ons" for the mod, and not the mod itself. ADD-ON USPS restrict Methods by Product I uploaded the add ons to the same page because they ONLY work with that USPS mod. Sorry if it's confusing. The versions are in order of least to most options. At the bottom is a plain mod without extras. As you go higher, they get more "souped up". The highest full package is USPS Rate V4 Intl Rate V2 - v.1.7 - FIX You can open any version, addon, or compatibility pack, for a description of that particular download.
  2. Only time I got a blank screen was in IE and that was a browser compatibility issue. What browser are you using? Have you tried using firebug or inspect element or something similar to see if it's showing any errors?
  3. fulluvscents

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

    Did you add the function to the admin/functions/general.php file? Biggest mixup is making the changes to the catalog/functions/general.php instead of admin functions.
  4. Okay guys. So, I have risen from the dead, at least for the moment. Lots and lots of errors I see. A lot of these things are going to be site specific issues, such as the special character causing an error for someone and some browser issues, etc... To begin with, I've found a few bugs myself, and in the next few days, I'll upload an update. But, none of the bugs I ran into resolve any of the issues that you've all mentioned. I'll be working on that ugly paypal button tonight and seeing if I can make it work through a radio button. Anyone who still has issues that you didn't resolve, please PM me. If I find bugs, I will fix them and upload the fixes and post notice on the forum. I do stay busy, and the forums tend to take up a lot of time, so I have to stay away every once in a while. And oh yeah, maybe a bad habit, but I tend to completely disregard IE. Those special characters that aren't showing up can be replaced with images or plain text, which changes I may include with the next upload. Also, I noticed when checking IE, that it showed no content. There is a button on the browser's input that you can click for visibility/compatibility issues. I don't remember what it actually said, but it was fairly easy to find, like a history or favorites button. Goes to show how often I open IE.
  5. fulluvscents

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

    It's been a while. Sorry to miss all the questions. @@Druid6900 This mod SHOULD work in 2.2 sites functionally. It just won't show the shipping options to customers. Jquery is only used to display EXTRA options to the customer, not to grab rates or display those. However, I have not tested it in a 2.2 shop, so I don't make any guarantees. PLUS, if you do want to use the jquery features, then just add a javascript include reference to your template_top file and link to one of the CDN hosted jquery files. For example: http://code.jquery.com/jquery-1.7.2.min.js @@fqstore USPS shouldn't even be returning 1st class rates for a 5 lb package. If that is the case, then it's possibly something in the script I'll need to look at. Free shipping is supplied in the order totals module. Under shipping, you can select free shipping. Or, I'm sure there's an actual shipping mod out there that you can use as well. What you will find however, is that enabling free shipping will shut off the other options, so if your customer does want to upgrade shipping and pay extra, they are out of luck. There is also a contribution to bypass this so that free and paid shipping options will both show. @@CrassOne How is the new mod working in your 2.2 shop? Would you be so kind as to share your experience and the outcome? NOTE TO ALL - this module uses functions that require PHP5.2 or higher. Since 5.2 was released two years ago, I would suspect that most shop owners have this version or better. If not, I'd suggest upgrading, not for the sake of this mod, but for the sake of all your scripts and any future upgrades you may want to make. @@heritageorchards I think this is something you set up in your configuration, under shipping/packaging. The USPS mod will not do the math as to a 70 lb and a 30 lb package. If your max package weight is set at 100 lbs, then USPS will only charge for their max weight (70 lbs). If your max weight is set at 70, then the core script will break your order into two packages. USPS will then divide the total weight (100 lbs) by 2 and will charge the base rate and extra services for two 50 lb packages, with one shared handling fee. So, you need to set a reasonable max package weight in your main configuration settings.
  6. fulluvscents

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

    The jquery doesn't affect the radio buttons. It only adds displays and checkboxes for extra services (like insurance, delivery confirmation, etc.). In the usps.php file, there is a line that is commented out (something like) mail(STORE_OWNER, STORE_EMAIL_ADDRESS..... Uncomment that line and see what the response is. It's possible that USPS isn't returning any rates and the email response will give you a hint as to why.
  7. @@apolyshow This isn't a thread for the postcode contribution. You can either email me directly with the country/postcode that failed, or you can start a general thread requesting help with restoring the default osc countries and zones in your database. That is a general question that anyone can answer, but it does not belong in this thread. @@ggrant3 Writing a manufacturing mod for my back-end right now. (It's gonna be sweeeeeet). I'm looking at a solid few weeks on that. When I get back to the front end, I'll work on the shopping cart as well as discounts. Honestly, it might be a couple months before you see anything out of me, but that's not to say someone else can't try to navigate their way around and get something going. @@surrfman Go to your admin panel, configuration, images. That's where you change your image size. The pixel width of your spaces never changes. If you add 20 pixels to one column, then you need to REMOVE 20 pixels from another column for them to fit in the same space. Or, likewise, if you're adding 20px of padding or margin, you need to remove 20px of padding/margin/or usable space. Space allocation will vary from one theme to the next, but the amount of space available will never vary. Tutorial aside, if you want to add a 10px padding (which I suggest over a 20px pad), then, FIND: <div class="left wid200"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong>' . $stockCheck . $productAttributes . '</a></div> Change to: <div class="left" style="width:190px; padding-left:10px;"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '"><strong>' . $products[$i]['name'] . '</strong>' . $stockCheck . $productAttributes . '</a></div> FIND: <div class="left wid200"><b><?php echo TABLE_HEADING_PRODUCTS;?></b></div> Change to: <div class="left" style="width:190px; padding-left:10px;"><b><?php echo TABLE_HEADING_PRODUCTS;?></b></div> if 10 doesn't work, then change it to 180 and 20, or 185 and 15 or whatever works. But, your item titles need to fit in the space you leave them.
  8. @@hughesca Country selection is not set for a default country. Customer must select from the drop down. If you want a default, you'll have to hard code the country id of your choice (number from the database 223 for the United States), or use STORE_COUNTRY. Instructions are a couple pages back. Default country is not a standard OSC feature, and so it isn't a part of Simple Checkout either. When the country is selected however, it should be changing from red to green, and auto-loading a state selector using the zones that match the country (or an input field if no zones are found). What I don't get is how you can (or have to) select a different country with the mouse, but cannot selected the US. Are you doing the sql query with the postcode validator install? I've got Simple Checkout, my USPS mod, my postcode validator add-on, as well as the USPS block methods by product on my test site. http://fulluvscents.com/catalog/ As long as you do the query and follow the instructions to the tee, it should work fine, BUT, who's to say I didn't miss a step in the instructions? You've got my email address. If you want to zip and email me a copy of your checkout.php code WITH the USPS and zip validator parts added, I'll compare it to my own and see if one of us is missing something. To remove scrollbar - Find the class and the assignment of the class "cartscr" and delete them. To remove images: Find and delete the following two lines (these are in separate parts of the script, not one after the other): <div class="left" style="width:<?php echo SMALL_IMAGE_WIDTH; ?>px;"> </div> <div class="left" style="width:' . SMALL_IMAGE_WIDTH . 'px;"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products[$i]['id']) . '">' . tep_image(DIR_WS_IMAGES . $products[$i]['image'], $products[$i]['name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></div> There is no refresh button because it automatically refreshes. Not only do the totals refresh, but the shipping options change to reflect the new cart weight, the shopping cart box in your columns changes to reflect the new cart/totals, and the shopping cart link at the top of the page refreshes to reflect the new number of items in the cart.
  9. fulluvscents

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

    @@adanob Did you do the alteration to admin/includes/functions/general.php If so, make sure you didn't put it in the wrong page (catalog/includes.....)
  10. fulluvscents

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

    @@jeffreyice1 Go through your phpmyadmin, find the configuration table, and set the datatype for "configuration_value" and "set_function" both to text (which will give you practically unlimited characters in those fields. That query should have been run with your install and shouldn't need to be done manually, but what worked on my server might not have worked on yours. So, it's worth a check and a shot. @@altoid That's cause I'm just weird. There's SO SO SO Much space over there, and I don't like scrolling down a page, so that's where I put it. You should be able to move it for your personal preference without breaking anything. All I did was create two divs (one on the left, and one on the right), and I put it in the right div, leaving room below it for other add ons, etc... You can just remove the divs and put the add on below or in the midst of the page, wherever you want, so long as you keep the meat of it in one piece.
  11. @@altoid Nope, it was all me. Somehow, I removed the cart weight in one of the updates. A new package was just uploaded. Just replace the checkout.php file with the one from v1.6 http://addons.oscommerce.com/info/8338 Sorry about that.
  12. @@altoid I don't see why/how that would affect this checkout at all. I did a lot of cart weight testing with the shipping mod I just did, so I know simple checkout is picking up the cart weight. @@surrfman 1. I might PM you about the header thing, since it's specific to you, and not really checkout related. 2. You'll want to hard code the country and leave the state drop down list. Or, just remove all the countries from your back end, except the US, leaving only that one option. That's something you'll need to do site wide as it affects probably 10 different forms. Eliminating all but the US will be your easiest/fastest method. 3. You can rearrange your forms any way you like. It's just a matter of creating two side by side divs (50% float right and 50% float left), and a div to clear them. Then put half the fields inside one div, and half inside the other. That may, however, throw off the jquery parent/child scheme. 4. I like big text too (particularly for the hard of sight), but realized that the user has control over the size of the text (just hit CTRL+ or CTRL- to zoom in and out, and CTRL0 to reset). So, I don't cater to those needs anymore. If someone has a hard time seeing web text, chances are that they have learned how to zoom a page. Just a tid bit from my own perspective and not a suggestion. 5. I really don't know. I just know what I want and I do what it takes to get there. My personal agenda was to redo my website, and merge it with a full manufacturing/inventory/accounting system in addition to synching my various selling venues in one place - to eliminate the mess of a system that I have, automate as much as possible, and make it easier for a staff to run my business without my hands on involvement. You'd be amazed at how far you can push on OSC site. I've always been analytic and mathematically inclined. My daughter stands over my shoulder trying to figure it out, and all I can tell her is that the algebra that she sees no use for in life, well, that's all this is - algebraic equations. Math and logic in a foreign language. Once you understand the equations and language, you can make a website/program do anything you want.
  13. @@surrfman Yeah, go back a couple pages in the thread. It's the #account dialog. and you're changing 'center', 100 Just make that number bigger and it'll move down. The size is defined in the same place noted above. Don't know what you're referring to. Where you live, Timmy? I'm from Port Huron (originally).
  14. @@Anni You have add-on modules that haven't been made compatible with simple checkout yet. Sorry, I'm doing a COMPLETE rewrite of an entire website and I've been jumping around to different things as I need to get them done (contributing as I go along). Eventually, I'll have discounts, rewards, credits, vouchers, etc. working on this, but It'll be a while before I get to it. So, for now, if you've got those things, then this checkout won't work for you. @@surrfman PWA shouldn't interfere. Your header file just doesn't match stock, so the checkout file needs to be modified to match what you have. Replacing your header.php file with this: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2010 osCommerce Released under the GNU General Public License */ if ($messageStack->size('header') > 0) { echo '<div class="grid_24">' . $messageStack->output('header') . '</div>'; } ?> <div id="header" class="grid_24"> <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div> </div> <div class="grid_24 ui-widget infoBoxContainer"> <div class="ui-widget-header infoBoxHeading"><?php echo ' ' . $breadcrumb->trail(' » '); ?> <div id="headerShortcuts" style="width:36%;float:right;text-align:right;padding-right:10px;"> <?php echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"alt="" >'.($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' . '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="">' . HEADER_TITLE_CHECKOUT . '</a> | '; if (tep_session_is_registered('customer_id') && (!isset($HTTP_GET_VARS['guest']) && !isset($HTTP_POST_VARS['guest'])) && !$order->customer['is_dummy_account']) { echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_MY_ACCOUNT . '</a> | ' ; } if (tep_session_is_registered('customer_id')) { echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"alt="" >' . HEADER_TITLE_LOGOFF . '</a> ' ; } ?> </div> </div> </div> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td> </tr> </table> <?php } ?> In checkout.php, FIND: echo tep_draw_button(HEADER_TITLE_CART_CONTENTS . ($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : ''), 'cart', tep_href_link(FILENAME_SHOPPING_CART)) . tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) . ($guestCustomer == 'true' ? tep_draw_button(HEADER_TITLE_GUEST_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL')) : tep_draw_button(HEADER_TITLE_MY_ACCOUNT, 'person', tep_href_link(FILENAME_ACCOUNT, '', 'SSL'))); if (tep_session_is_registered('customer_id') && $guestCustomer != 'true') echo tep_draw_button(HEADER_TITLE_LOGOFF, null, tep_href_link(FILENAME_LOGOFF, '', 'SSL')); and replace it with this: echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '"alt="" >'.($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' . '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="">' . HEADER_TITLE_CHECKOUT . '</a> | ' . ($guestCustomer == 'true' ? '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_GUEST_ACCOUNT . '</a> | ' : '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '"alt="">' . HEADER_TITLE_MY_ACCOUNT . '</a> | ' ); if (tep_session_is_registered('customer_id') && $guestCustomer != 'true') echo '<a class="headershortcutlink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '"alt="" >' . HEADER_TITLE_LOGOFF . '</a> ' ; I haven't tested that. Let me know if it throws an error.
  15. fulluvscents

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

    @@altoid As long as you don't have anything else that the modules.php file is using, replace it with the new instructions. Those were old USPS instructions and can be removed. This is what it should be now: each($HTTP_POST_VARS['configuration'])) { // USPS START if( is_array( $value ) ) $value = implode( ', ', $value); // USPS END tep_db_query("update " . TABLE_CONFIGURATION . " set configuration_value = '" . $value . "' where configuration_key = '" . $key . "'");
  16. @@surrfman 2 questions: 1. Do you want those links to rest inside the breadcrumb bar? 2. Do you want them as text links or as buttons? It looks like things got moved around when you merged PWA (which was written for 2.2). Not a biggie, just not sure if you intended to eliminate the buttons and replace them with text links, or whether you intended to move those links inside the breadcrumb trail. Can't tell you how to fix it until I know what you wanted.
  17. @@oxwivi To disable qty field, and just show the qty, find: <div class="left wid75 t-center">' . tep_draw_input_field('qty[' . $products[$i]['id'] . ']', $products[$i]['quantity'], 'size="2" data-pID="' . $products[$i]['id'] . '"') . '</div> Replace with: <div class="left wid75 t-center">' . $products[$i]['quantity'] . '</div> No. 2 is a bit more work, but yeah, it can be done. @@ggrant3 Find and comment out the following: $('[name=state]', $('#account')).attr('disabled', 'true');
  18. @@surrfman I didn't have a problem creating an account, but I'm getting an ajax error in your checkout and I have no idea which ajax call is throwing the error. My guess is that it's the headernavigation refresh. It's not the breadcrumb that's duplicating, it's the header navigation buttons. Apparently, you moved your buttons outside of the #headerNavigation div (which the script is trying to refresh on page load. Not only that, but you restyled them - I'm assuming independently. The checkout refreshes those buttons to match the cart and/or customer type. Notice that the when the number of items in the cart changes, it shows in the buttons as well. Also, if a customer creates an account as a guest, I have the buttons set to display "guest account" and hide "log off". Fixing that will be a matter of either eliminating the refresh or moving your links back to the correct div and restyling them through that div instead of independently. The styling changes may need to pass through to the checkout's ajax call as well. The first option is easy, but improper. The second takes a little more work, but is the proper way to fix it. @@ggrant3 The same way you would in a stock shop. You can hard code it through the script using the country id (number) matching the country in your db (should be 223), or you can set it according to your "STORE_COUNTRY", which you change from admin. Look on the first or second page of this thread for the answer already provided on where and how to hard code it. If a customer creates a guest account, then they are logged in as a customer. There is no way to avoid that, and the same thing will happen if someone uses PayPal express, or any other "guest account" add on or mod where a temporary account is needed. We need to pass those session variables through the payment, order, and other processes. What I did do, was hide the "log off" button, and changed the "my account" button to "guest account" or something like that. I also log the guest customer off, as soon as they've completed the checkout process. If you wanted to go to the extent of deleting the temporary account after they checkout, it would be a matter of one line of code, I think. But, in no case, can you check them out without at least creating a temporary account for the checkout process. I did what I could to hide that from the customer while in checkout, but I can't bypass the temporary account altogether. Note that if you've changed your navigation button set, then it will be thrown off, as explained above to surrfman, and you'll have to change it in the checkout to match.
  19. @@surrfman You need to remove everything from your includes/template_top.php file that pertained to the old OPC. @@dog-toyz Instead of wrapping around those main divs, place your div just inside of them and wrap it around the contents of the div. Since these are dialogs, they are styled much differently than normal divs. You may need to add a class in the jQuery code. I'm not sure exactly what you're trying to accomplish. Changing the theme (background) of the entire dialog, or just adding a div inside of it (wrapping it around the form), which would give you a sort of border inside the dialog.
  20. fulluvscents

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

    That means either your function is missing or your file that defines the functions is missing. It should be found in admin/includes/functions/general.php - it's the first function in that file. Either restore a backup and start over, or download a fresh version of osc, and replace the file, or compare your file with the stock file to see what changes have been made and go from there. I have no idea what else you have installed, so I don't know what your file should look like.
  21. Nice. I just wrote an entire response and it was wiped out because I got logged out while I was writing (and testing). Grrrr.. PPE vs. PPS: Regarding the item display on the PP pages, PPE displays the items differently from PPS - it's not the checkout. It's a difference between the mods. PPE displays aggregate. PPS displays the items individually. This can probably be recoded to match, but it's not a checkout issue, so I won't get into that here. @@pantarra BOTH of your issues (the display AND the format issue) might be resolved by installing the paypal IPN contribution and setting it to aggregate instead of item. It may be your easiest and fastest fix, at least according to the bit of research I've done on the topics. But, I can't promise it will work at all, since I'm just going by what others have recommended. Please try that and post back to let us know if it worked for you.
  22. Regarding PayPal. First, I want to say that there is nothing about PayPal that I like. That being out of the way: Before anything can be done or recommended, it needs to be clarified whether you are using the stock paypal mods. If contributions, then that's really a creature I don't want to mess with, myself. If these are stock mods, then the second thing is to test with the stock checkout versus the simple checkout and see if they act differently. If they are the same between normal checkout and this checkout, then it is a MOD issue, and something you want to bring up in the appropriate threads for those mods. If they are different, then it is an issue with THIS checkout and something that I need to look into. How your products display after you leave the checkout and go to the PP page is set up through the mod itself, not the checkout. BUT, if for some reason the checkout isn't setting the correct information before you get there, then that is a checkout problem. The short of it is that before I'll look into anything, I need to know that the mod is a stock mod, and that it is not functionally acting the same in this checkout as it is in the stock checkout. I hope all that made sense.
  23. @@oxwivi After fussing with it for two days, where I could either get PPExpress to work, or the other mods to work, I realized that with the single page checkout, the only way to use PP Express correctly was to use the button and allow immediate (Express) checkout. However, after moving that code around in checkout_confirmation, it might be possible now to do it the way I originally planned. I will try to look into that again but I've got a few other projects I have to finish up.
  24. fulluvscents

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

    Yes, if you drop ship and want to apply a flat fee, then you'll be able to block usps as an option. After you install it, just open the product editing page, click on restrict usps methods (which will drop down your list of methods) and check ALL the checkboxes. Sorry, I don't have a screenshot. It would probably help. This only applies to this particular USPS mod, so if you offer other shipping options, it won't block those.
  25. @@oxwivi Awe, you're sweet, but be nice. @@dog-toyz Yes. The jquery for the dialogs is in the place varina pointed out. The html for the divs is at the bottom of the checkout.php file with IDs to identify them. Just wrap your divs around those. @@Tabula_Rasa edited - I missed an entire page of discussion. I see (or at least it appears) that you've got it figured out now.
×