Jump to content

WebPixie

Members
  • Content count

    138
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Andrea
  1. WebPixie

    AJAX Attribute Manager support

    Still haven't been able to get this working. If anyone has an answer I am more than willing to make a donation to them for their help :) It's the only thing stopping me from using it since most of my attributes are text fields. Thanks in advance for any help.
  2. WebPixie

    AJAX Attribute Manager support

    Amazing addon. Wish I had it when I first started and didn't have to add all those attributes by hand! :P Anyways, I am using Product Attributes - Option Type Feature found here http://addons.oscommerce.com/info/160 It allows you to use text boxes for personalization, gift messages, etc.., on an item as an attribute. I saw others with this same problem on the forums, but no answers to it yet. I've been trying to fix it with no luck. ---ISSUE--- I see the options for the text fields when adding or editing an item, and I see the word 'TEXT' in the option value space, but it will not allow me to add the option. Basically I click and it does nothing and acts like it does when a value with no options is trying to be added. I think the problem maybe that the text field option is option ID#0 I know there was a problem with ID #0 in the past, could this be causing it? Any help with this would be so greatly appreciated. I have been trying for a very long time to get it working with the text field with no avail. Thank you for any help anyone can give.
  3. Great mod. Installed really well. It basicly works exactly how I need it to, except for one thing. I was hoping someone could point me in the right direction. Basicly I am using this mod as an additional shipping fee for heavy and bulk items. We use a flat rate shipping table and 3 or 4 of our items are so heavy they kill us on the flat shipping rate. So what we want to do is add let's say an extra $10 for a heavy item to the flat rate. So far, if I have an individual priced item and a non-individual priced item in the cart it adds the extra individual shipping charge to the flat shipping... perfect! But what we need is when there is ONLY individual priced items in the cart to add the flat shipping and the extra shipping like it would above. Right now it just gives the individual shipping price of $10, when it should be $32 ($22 for flat rate + $10 extra). I know it is working like it was meant to, I was just hoping someone could point me in the right direction to get it to add the additional shipping fee to the flat rate no matter what, not just if there are non-individual shipping priced items and individual shipping priced items together at checkout. Did that make sense? I'm not really good at explaining myself, so I hope I explained ok. Any help would be greatly appreciated, even if it's just a hint at which file would need to be changed. Thanks again. WP
  4. WebPixie

    Who's Online Enhancement 1.4

    A lot of folks have gotten this error before. Can you do me a favor. Next time that error pops up, check your DB and see if the whos_online table has 2 rows in it with the same ip for both? I am trying to pin point the bug so I can fix it. The error doesn't always happen so it is hard to figure out. Also, test it and see if you are getting the error after you add something to your cart. You can look at the line right above the error to see which is the last entry the script is processing before making the error and look in the DB to see if it is yours or not. Hopefully we can get this bug squished.
  5. WebPixie

    Who's Online Enhancement 1.4

    I have double checked. It does seem the error: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/local/www/vhosts/mydomain.com/htdocs/admin/includes/functions/database.php on line 45 0 - select session_id, time_entry, time_last_click from whos_online where session_id='05d700332c3b913874a89492ac47d820' [TEP STOP] Only pops up when there are two entries in the db table with the same IP. That shouldn't be a problem, from what I can tell, but I am going to check the code to see if I can find out why.
  6. WebPixie

    Who's Online Enhancement 1.4

    1. done 2. done 3. done Trust me, I checked and doubled checked everything before asking :P I even tried recoding it to see if I could work around it. I think I have narrowed it down possibly though. It looks like it might be getting caused by 2 rows inserted into the whos_online table using the same ip address. WHen there are two entries with the same ip it seems to through the error. Usually when you manually delete the second row with the dup ip the error goes away.
  7. WebPixie

    Who's Online Enhancement 1.4

    Ed, thanks for the reply. This is one of my favorite contribs, so I really hope to get this working :) My settings are correct, i use file storage, both config files are set as such, the path is the full path in session config in admin and is chmoded correctly. The sessions are being created in the file storage, and the whos_online info is going into the DB. I have done a bit of testing and recoding before posting, nothing seems to work. I seem to be having the same problem as a few other folks. Basicly, there is an error when one of the inactive cart lights tries to access the whos_online table in the last time clicked row and the time entry row. THis error: Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /usr/home/www/vhosts/mydomain/htdocs/admin/includes/functions/database.php on line 45 0 - select time_entry, time_last_click from whos_online where session_id='964b75d20d7f1e8933bddc2bb4d2c34c' This is the code giving the error $which_query = $session_data; $who_data = tep_db_query("select session_id, time_entry, time_last_click from " . TABLE_WHOS_ONLINE . " where session_id='" . $session_id . "'"); $who_query = tep_db_fetch_array($who_data); // Determine if visitor active/inactive $xx_mins_ago_long = (time() - $active_time); // Determine Bot active/inactive if( $customer_id < 0 ) { // inactive if ($who_query['time_last_click'] < $xx_mins_ago_long) { return tep_image(DIR_WS_IMAGES . $status_inactive_bot, TEXT_STATUS_INACTIVE_BOT); // active } else { return tep_image(DIR_WS_IMAGES . $status_active_bot, TEXT_STATUS_ACTIVE_BOT); } } // Determine active/inactive and cart/no cart status // no cart if ( sizeof($products) == 0 ) { // inactive if ($who_query['time_last_click'] < $xx_mins_ago_long) { return tep_image(DIR_WS_IMAGES . $status_inactive_nocart, TEXT_STATUS_INACTIVE_NOCART); // active } else { return tep_image(DIR_WS_IMAGES . $status_active_nocart, TEXT_STATUS_ACTIVE_NOCART); } // cart } else { // inactive if ($who_query['time_last_click'] < $xx_mins_ago_long) { return tep_image(DIR_WS_IMAGES . $status_inactive_cart, TEXT_STATUS_INACTIVE_CART); // active } else { return tep_image(DIR_WS_IMAGES . $status_active_cart, TEXT_STATUS_ACTIVE_CART); } } After this error, sometimes I get the above error I mentioned a couple posts back where I must clear my cache before I can use my admin again. If I remove the above bit of code, I lose my cart lights, but the error disappears. I checked the thread, and this problem (above mysql error) has been happening with people since the begining of the cart lights from the looks of it. No one seems to have found an answer though. Another weird problem I am getting is that sometimes I can see what's in the cart, and sometimes I can't. I can put an item in my cart. See the cart light on in WOE and then click my line to see what I have in it and it says empty, then if I click a few other lines and come back it might show what's in my cart. Most of these problems seem to have to do with the file system, but truthfully I would rather have a faster front end then see what's in a user's cart... So I have to stick to file system. :P I've been trying to figure out why that mysql call causes errors, but I just can't pin point it. I am hoping maybe we can put our heads together and figure this out, from the amount of times I saw this issue brought up in this thread it might help a bunch of people. Thanks for the help, I really appreciate it. I was coding some software as a project this weekend, but am focused on getting this to work instead. :)
  8. WebPixie

    Who's Online Enhancement 1.4

    I got this same error. Was there every a fix for it? I am using the file system, upgrading from the last version which is working fine (except no shopping cart info). But when I tried this version, it worked for a minute and then poof my admin section, every page, had white screen with the above error. I had to uninstall the upgrade and clear my cache to get the admin to return. Any ideas?
  9. WebPixie

    fast easy checkout

    Nana, you would need to move the form field below the shipping part so that you could have two form sections. Right now the start of the form is at the top of the page so it doesn't allow for another form to be started. Basicly you would have to move the top form to after the one you want: <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'post', '"') . tep_draw_hidden_field('action', '??'); ?> SUBMIT BUTTON FOR SHIPPING </form> <?php echo tep_draw_form('checkout_payment', tep_href_link(FILENAME_CHECKOUT_SHIPPING, 'n=1', 'SSL'), 'post', 'onsubmit="return check_form();"') . tep_draw_hidden_field('action', 'process'); ?> SUBMIT BUTTON FOR CONTINUING ON </form> Then when the shipping button is submitted it will refresh the page and submit the new info, and when the bottom one is submited it moves you on to confirm. I don't know what you really want the second form button for so I can not code it for you exactly but that should help.
  10. WebPixie

    fast easy checkout

    Nana- so are you looking for a javascript function that will just refresh the page when a new shipping rate is selected? Personally I think that might be the best way, the other thing you could do is just use a javascript function to show the price, and have it automaticly add the shipping to the sub-total once a shipping method is selected. It would basicly just be cosmetic until the user actually went to the confirm order page. I mean we really don't need to actually add it all up for him using osC, we can pull the sub-total, pull the shipping price, and pull the tax and just have a javascript add it up and show it.
  11. WebPixie

    fast easy checkout

    Nana- the file you posted up above fixed the shipping issue completely. Works wonderfully now. I am going to try to make the create_account3.php work for the standard osC installation without your "no account needed" section of the contrib. I personally think if the user can fill in the billing and shipping on the first page, and then go to the combined shipping/payment page it will help checkout greatly. I also added to the checkout_shipping.php a list of items being bought, the sub-total and the tax if applicable, right above the shipping charge, before the user gives his CC so at least he knows the general amount he is being charged, that seemed to help a lot with the functions. Still trying to get a grand total with shipping to come up, but it's just not working like it should. What did you do to the file you posted above to fix the shipping problem? Maybe that would help my grand total info. I will try switching the tep_session_register in the create_account3.php and see how it goes. Thanks for all the help, I appreciate it.
  12. WebPixie

    fast easy checkout

    Nana- thanks, I will try that version and see how it goes. Also, on create_account3.php the billing info is used as the customer account information setup, anyway to switch it so the shipping information is used instead. Robertus & radders- Actually, that was what I was working on today. I am trying to convert the create_account3.php page so that it will work without part 2 of nana's FEC contrib. I think it will make things much clearer and earier in the long run. My main problem with my version is an issue with how my site is run. I need the shipping address to be the user's "customer information" and right now the create_account3.php page makes the customer information the billing address info. I haven't looked, but I think it would be very easy to make the checkout_shipping_address.php page show the current address as form fields so the user could edit them.
  13. WebPixie

    fast easy checkout

    I tried doing it, but I couldn't get it to work. Would register the user, but the addresses would not go into the address book and be filled in for the checkout_shipping.php page :( Also, I am noticing when a user registers and then goes directly to the checkout_shipping.php page the shipping prices are wrong even on the non-addon version. It doesn't show the correct shipping price (I use flat rate based on value, no choices), unless the person goes to the change shipping address page and just clicks continue. Looks to only happen on the register, but not users who have already logged in before and purchased. EDIT: I think I need the fix you listed above for this problem... could you tell me exactly where this should go: $sendto = $customer_default_address_id; $billto = $customer_default_address_id; tep_session_register('sendto'); tep_session_register('billto'); login and create_account? Is this the correct version? I noticed it was changed a few times.
  14. WebPixie

    fast easy checkout

    My products are not a "return customer" type of item. Most will be one time users, the few that do make second purchases will not be as bothered, plus it's the first time buyer I want to ease into the checkout. If I just change the password field from random to the input. and add the input fields for it, is this all I need? $password = tep_create_random_value(15); $confirmation = $password; to: $password = tep_db_prepare_input($HTTP_POST_VARS['password']); $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); Will the create_account3.php work normally then? Or do I need to do more?
  15. WebPixie

    fast easy checkout

    Thank you so much for this! I've been waiting years for something like it :P I found two things I had questions about. One is a sort of bug with your add-on "fast easy checkout patch file". I tried using it, but for some reason, it showed shipping as $24.95 no matter what I did. I am using multi-zone, shipping cost based on order total. I did get somewhere using your fixes on post 422, but basicly it was just showing me the shipping cost for the last time I hit the confirm order page. If I changed the order and tried to checkout without going to confirm order page it just showed the old shipping cost. Without the add-on it is working perfectly though, I just was hoping to be able to show the customer exactly what he was being charged before asking for his CC.... didn't want to seem to pushy to get his cash :) The other question I have is this. I LOVE create_account3.php, it is exactly what I think the create account page should be. Ask for shipping and billing at the same time, and keep from confusing the customer. My problem is, I require an account when checking out so I can't seem to use this page. Is there anyway I can get create_account3.php to work without your optional account creation part? I would love it if I could just add the password fields to the end of the page and let the checkout go on as normal. Is this possible? Thank you again for this VERY useful contrib, from comments of my customers I think it will increase completed sales greatly. :)
×