Author Topic: Can html be used when commenting an order ?  (Read 4598 times)

0 Members and 3 Guests are viewing this topic.

tegralens

  • Newbie
  • *
  • Offline Offline
  • Posts: 37
  • Karma: 0
    • View Profile
Re: Can html be used when commenting an order ?
« Reply #7 on: May 07, 2008, 11:03:35 AM »
Just the WYSIWYG change would be a matter of changing the comments field type to a tinymce field type I believe.  Will have to play with the code..

David

Let me know what you find out

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Can html be used when commenting an order ?
« Reply #6 on: May 05, 2008, 08:26:48 PM »
Just the WYSIWYG change would be a matter of changing the comments field type to a tinymce field type I believe.  Will have to play with the code..

David

tegralens

  • Newbie
  • *
  • Offline Offline
  • Posts: 37
  • Karma: 0
    • View Profile
Re: Can html be used when commenting an order ?
« Reply #5 on: May 05, 2008, 04:13:07 PM »
This becomes a bit of a different issue presented this way.  I'm wondering if there is not something in the Paypal API's which could be used to deal with this.

Sounds like time for some API diving.

Just making the comment fields WYSIWYG compliant in an HTML sense will not really help you here.

David


It does help making the comments html in the admin because Lets say that a customer buys a product.  I ship it with paypal.  Paypal supposed to send the customer the the USPS Conf # but sometimes Paypal has issues and the number does not get to the customer.  So I like to send the customer the Conf# myself because at the same time they can login to their account and see it there and I can see it on the admin side.  What steps do I have to do in order to make it html?

The only thing I have with paypal that does not work well is when someone uses to lines for the address.  But that is a different issue.

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Can html be used when commenting an order ?
« Reply #4 on: May 05, 2008, 03:35:45 PM »
This becomes a bit of a different issue presented this way.  I'm wondering if there is not something in the Paypal API's which could be used to deal with this.

Sounds like time for some API diving.

Just making the comment fields WYSIWYG compliant in an HTML sense will not really help you here.

David

tegralens

  • Newbie
  • *
  • Offline Offline
  • Posts: 37
  • Karma: 0
    • View Profile
Re: Can html be used when commenting an order ?
« Reply #3 on: May 05, 2008, 01:53:05 PM »
It can be done.  The questions are, should it be done, and if so , where and how?

If it should be done at all I'd suggest that the place to do it is only in the Admin.  Most customers are unlikely to want to take the time to format these comments, and adding it customer side would open up another vulnerability point for SQL injection.

Just what did you have in mind?
Thanks for the Quick response.  Yes I only want it on the admin.  Would you happen to know how?  The issue is that I have to copy over the USPS tracking info to the admin side to notify my customers about their tracking info.  I would rather copy the html link that paypal gives me so they only have to click on it and not have to go to the usps website to hen write the usps number. I have 6.2 pro patch 11 Thanks
« Last Edit: May 05, 2008, 01:55:11 PM by tegralens »

David M. Graham

  • Administrator
  • Sr. Member
  • *****
  • Offline Offline
  • Posts: 380
  • Karma: 12
    • View Profile
    • osCommerce University
Re: Can html be used when commenting an order ?
« Reply #2 on: May 05, 2008, 12:26:04 PM »
It can be done.  The questions are, should it be done, and if so , where and how?

If it should be done at all I'd suggest that the place to do it is only in the Admin.  Most customers are unlikely to want to take the time to format these comments, and adding it customer side would open up another vulnerability point for SQL injection.

Just what did you have in mind?

tegralens

  • Newbie
  • *
  • Offline Offline
  • Posts: 37
  • Karma: 0
    • View Profile
Can html be used when commenting an order ?
« Reply #1 on: May 05, 2008, 09:21:21 AM »
I want to know instead of using  the text version if the comments box when customers make order can it be change to use WYSIWYG. That way I can use html codes.  If so how can I do it?  Thanks