Jump to content

custodian

Members
  • Content count

    620
  • Joined

  • Last visited

Everything posted by custodian

  1. Customer Private Messages ================== I designed this contribution in order to provide an additional means of communication between ourselves and the customers. Customers entered inaccurate or false email addresses; which thereby breaks down the means of interacting with the customer. Invoices fail to reach their destination for many reason, email errors, they moved, change ISP's, exceed mail quota's, do not check their email often or intentionally provided a false email. Additionally there are reasons which do not warrant an email, and sending an email for certain issues may be deemed unprofessional or simply nagging in nature. I needed a means to notify the customer when they would login that their email address is not correct and we cannot contact them, or a simple "We've added the other items that you requested to your order" "Happy Birthday - We'd like to give you...." The uses are endless. How it works and what it does ===================== Once they login successfully and are forwarded to their account information, they will see any Messages that you may have left for them. If there are no messages, it will also inform them of this. I was debating having the box not displayed if there were no messages, but I felt that if they knew there is a messaging system it may remind them to look at it and not quickly skip over it, so if no messages are found it will say so. ********************************************** Please DO NOT post enhancements, questions, suggestions to the contribution section. My effort is to keep this as clear, straightforward and as easy to understand and install as possible. If you have suggestions, comments or improvements, please post to the forum. I will implement them with future releases. Thank you for understanding and respecting my wishes. **********************************************
  2. custodian

    How to charge shipping for one country?

    I offer free local delivery for those in my town by using http://www.oscommerce.com/community/contributions,1993 It's flexible enough that you could set it up to povide free delivery with the UK (or whatever zone you decide), and then charge any not in that area. A BIG plus is that the FREE delivery option will not show up for those outside of the area that you have defined. I'd give it a try, I think it will suit you well.
  3. custodian

    ### POINTS AND REWARDS MODULE V1.00 ###

    hmm, a quick fix for something similar that I needd to do was to set Point and Rewards to not allow items in special (discounted) to be able to use points on - I then marked the items up slightly and then discounted them back down to the normal sale price. making them unable touse their points with those items. It all depends if other items in your store are discounted already, beingthat if you currently allow points to be used for discounted items, those items will not be allowed either. it all depends on your current set up but it worked for me. Noce thing is that by turn this one it automatically excluded wholesale pricesm, since they are not at the normal retail price - therefore wholesalers can't use the points.
  4. custodian

    USPS prices don't match OSC prices

    I have not need to use this myself, but from what I understand it works like this - USPS prices change depnding on package size (aka Large packages) and also only take up to 70 pounds. So not if a customer buys $200 in items and the weight is 100lbs, the additional 30lbs are calulated at 10% of the $200.00 (or an additional $20 is added to the shipping cost)
  5. custodian

    USPS prices don't match OSC prices

    if the Module is reporting higher cost than USPS, check the Tare wieght setting in the Admin. Sinc ethe module is adding the the tare weight to the product weight to determine actual wieght to base the shipping cost on - if you are going to USPS and entering the weight of the product, it will be lower than what the module says. Set the Tare weight to the weght of the package and packaging material that you typically use.
  6. custodian

    It just isnt showing up

    I don't think the ; should be in the onload="goOnLoad();" ... it's the only thing that look out of place to me
  7. custodian

    Automatically send data feed to Froogle

    I just went to google to manually test uplodaing a google base file and I can;t even get to there. Google reports =============================== Oops! There was an error with the page you requested. Please check back later. ============================== Maybe that's your problem.. that's they are simply updating stuff.
  8. custodian

    Shipper Comments

  9. Usually an answer is provided when someone a - knows the best solutiojns b - has an idea on how to suggest going about it c - knows of a contribution to do so Meanwhile 'bumping' the topic not only makes more people avoid it, it is also against forum policy. If you don't get an answer, try providing more detail of what you are trying to accomplish and why. Someone may then have an idea on how to help you or may be able to suggest a better alternative Questions don't get ignored, but if they people that have read it thus far don't know an answer there is nothing to post - another reason to post more information concerning the topic.
  10. custodian

    Paypal Nightmare...

    I'd abandon PP long before I'd consider getting rid of osc
  11. custodian

    Autologon

    I use ## Autologin Secure 2.01 And yes, I force cookies
  12. A common cause to the problem is spaces ("whitespace") existing before the first <?php tag and/or after the last ?> tag with the files involved. By removing all spaces so that <?php is at the very start of the file and that ?> is at the very end of the file, no content would have been sent to the client and headers can be set safely. this is directly from the Knowledge base http://www.oscommerce.info/kb/15 So look in both of those files. Make sure that the VERY last thing in the file is ?> Meaning no spaces following it and no empty line (returns) below it. This topic has been asked a thousand times - it's good to at least search the fourm - An even better idea is to paste the error into google. You'll almost alwasy find the asnwer onthe first page of results. To quickly reference that information I gave you I simply went to google and pasted in Warning: Cannot modify header information - headers already sent by The first result was the answer - it's that easy :)
  13. custodian

    Autologon

    I beg to differ. I have autologin, set to true and additionally have the check box for the user's checked by default. I get the following results Meta tags analysis. Title: Title meta tag contains no errors. This tag contains 54 characters. Title relevancy to page content is excellent. The Title relevancy to page content is 100%. Description: Description meta tag contains no errors. This tag contains 149 characters. Description relevancy to page content is fair. The Description relevancy to page content is 80%. Keywords: Keywords meta tag contains no errors. This tag contains 17 keywords and 249 characters. Keyword relevancy to page content is fair. The keywords relevancy to page content is 76%.
  14. custodian

    [Contribution] Admin Notes

    Go to the customer list (not the order list) and select a customer that you know has an order. Click details Scroll down and enter a note in their NOTES field. Click Update Now go to the order - is the note you just entered there?
  15. custodian

    [Contribution] Admin Notes

    It shouldn't unless there IS an actual note
  16. custodian

    [Contribution] Admin Notes

    Make sure that $result = tep_db_query("select customers_notes from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . " '"); did not wrap - it should be all one line That may cause your problem
  17. custodian

    [Contribution] Admin Notes

    Even with that last post? Can you see they notes at any point in the order? I just jumped in here so I'm trying to get up to speed with everyones issues. I've checked my orders.php directly and through the customers.php link to it and it works for me perfectly.
  18. custodian

    Auto sent e-mails

    It's usually better to do it the way I described, this way you go into the define file and change the text ot hello and every pace you have that text will automatically change too. Like when you set you store name... you didn't edit every file. You set it in one place and it auto fills You can hardcode to a point though you'll still need to stick to the formatting Example my way // lets start with the email confirmation $email_order = TEXT_EMAIL_HELLO . "\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id); Hard coded // lets start with the email confirmation $email_order = "Heeeeloooo!!!\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id); Another example // lets start with the email confirmation $email_order = "Heeeeloooo!!!\n" . STORE_NAME . "\n" . "Thank you for your order" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id); the " " take things literally. the . connects the \ escapes One more example using an \ (escape) // lets start with the email confirmation $email_order = "Heeeeloooo!!!\n" . STORE_NAME . "\n" . "Thank you! We\'ll be here from 9 to 5" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id);
  19. custodian

    Auto sent e-mails

    Almost. It must be a define like define('TEXT_EMAIL_HELLO', 'Heeeeloooo!!!'); That make TEXT_EMAIL_HELLO = Heeeeloooo!!! Now in the catalog/checkout_process.php you;d have to do something like // lets start with the email confirmation $email_order = TEXT_EMAIL_HELLO . "\n" . STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id); You can place the TEXT_EMAIL_HELLO anywhere as long as you keep the correct formatting. Though depending on where you place it will also change where it is located in the email itself - That's why I put it first.
  20. custodian

    Auto sent e-mails

    booty.. that's what that does. example $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; EMAIL_TEXT_PRODUCTS is read from catalog/includes/languages/english/checkout_process.php and expands to Products Therefore that section becomes Products List of what you ordered this send the mail off tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); EMAIL_TEXT_SUBJECT is pulled from catalog/includes/languages/english/checkout_process.php which is define('EMAIL_TEXT_SUBJECT', 'Order Process'); So the email gets sent with To: customer['email_address'], Subject EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS So the Subject may become Subject: Order Process 233-403 Your Store, Your email and so forth.. it's all there.. it's dynamic :) Am I missing something or misunderstanding this ?
  21. custodian

    Auto sent e-mails

    It depends on what you are looking for in the checkout_process.php look for // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . $order = new order($insert_id); EMAIL_TEXT_ORDER_NUMBER . ' ' . tep_trans_id($order->info['date_purchased'],$insert_id) . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } $email_order .= EMAIL_TEXT_PRODUCTS . "\n" . EMAIL_SEPARATOR . "\n" . $products_ordered . EMAIL_SEPARATOR . "\n"; for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $email_order .= strip_tags($order_totals[$i]['title']) . ' ' . strip_tags($order_totals[$i]['text']) . "\n"; } if ($order->content_type != 'virtual') { $email_order .= "\n" . EMAIL_TEXT_DELIVERY_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $sendto, 0, '', "\n") . "\n"; } $email_order .= "\n" . EMAIL_TEXT_BILLING_ADDRESS . "\n" . EMAIL_SEPARATOR . "\n" . tep_address_label($customer_id, $billto, 0, '', "\n") . "\n\n"; if (is_object($$payment)) { $email_order .= EMAIL_TEXT_PAYMENT_METHOD . "\n" . EMAIL_SEPARATOR . "\n"; $payment_class = $$payment; $email_order .= $payment_class->title . "\n\n"; if ($payment_class->email_footer) { $email_order .= $payment_class->email_footer . "\n\n"; } } tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_S UBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); If you are looking for the actual TEXT that goes into the email then you need to look in the in either the catalog/includes/languages/english.php (or whatever your language of choice is) or in catalog/includes/languages/english/checkout_process.php or catalog/includes/languages/english/checkout_[filename].php <-- depending on what you are looking to do.
  22. custodian

    [Contribution] Admin Notes

    That table tr td layout will need to be redone or the location changed. When the message is long is widens the td so my Payment Method: Secure Credit Card Processessing that is directly above this entry in the orders.php becomes Payment Method:......................................................................... ...........Secure Credit Card Processessing I couldn't do a lot of space on the board.. the ....... represents the spaces So change that last post to </table> <table border="0" cellspacing="0" cellpadding="2"> <TR> <TD> <?php $result = tep_db_query("select customers_notes from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . " '" ); $result_array = tep_db_fetch_array($result); echo ENTRY_CUSTOMER_NOTES . "<BR><I>" . $result_array['customers_notes']; ?> </I></TD> </TR> and the layout should be ok
  23. custodian

    [Contribution] Admin Notes

    ok.. i got it Step #8 <TR> <TD> <?php $result = tep_db_query("select customers_notes from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . " '" ); $result_array = tep_db_fetch_array($result); echo ENTRY_CUSTOMER_NOTES . "<BR><I>" . $result_array['customers_notes']; ?> </I></TD> </TR> I didn't see it right away, not sure if my browser was caching something or what.. but this works. If it doesn't seem to work for you try looking at it in another borwser to confirm first. BTW: I redid the layout so that if there are NO notes, the Customer Notes will NOT show At ALL - not even the title.
  24. custodian

    [Contribution] Admin Notes

    Someone that is having this issue with step #8, please try the following to see if it fixes the issue for you I haven't tested this myself but I beleive it should work in orders.php replace step #8 with this <tr> <td class="main"><?php echo ENTRY_CUSTOMER_NOTES; ?></td> <td><i> <?php //query to grab the notes $result = tep_db_query("select customers_notes from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . " '"); $result_array = tep_db_fetch_array($result); //end query echo $result_array['customers_notes']; ?> </i></td> </tr>
  25. custodian

    Customer Private Messages

    Thanks, I'm working on some cosmetic stuff with it and I'll update that in the next release. Seems IE doesn't like to play nice so I need to add a little spacing into the submit button and another spot.
×