Post by RobertoZST » Wed Mar 21, 2018 5:49 pm

Hi, I have a version 2.3.0.2. I need to add HTML in the field order history, how can it without extensions?

thanks

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by thekrotek » Wed Mar 21, 2018 6:03 pm

By editing order history template, obviously. If you're not experienced yourself, you can ask for commercial support.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by RobertoZST » Wed Mar 21, 2018 6:19 pm

thekrotek wrote:
Wed Mar 21, 2018 6:03 pm
By editing order history template, obviously. If you're not experienced yourself, you can ask for commercial support.
thank you thekrotek but I wish have instruction for to it myself.
thanks again

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by straightlight » Wed Mar 21, 2018 7:26 pm

RobertoZST wrote:
Wed Mar 21, 2018 5:49 pm
Hi, I have a version 2.3.0.2. I need to add HTML in the field order history, how can it without extensions?

thanks
No route location provided. Which route are you referring to?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RobertoZST » Wed Mar 21, 2018 8:31 pm

straightlight wrote:
Wed Mar 21, 2018 7:26 pm
RobertoZST wrote:
Wed Mar 21, 2018 5:49 pm
Hi, I have a version 2.3.0.2. I need to add HTML in the field order history, how can it without extensions?

thanks
No route location provided. Which route are you referring to?
thanks straightlight for your reply. You are right... I want do it for the admin side

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by straightlight » Wed Mar 21, 2018 8:33 pm

Where on the admin side? What's the route name? More information is needed.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RobertoZST » Wed Mar 21, 2018 8:53 pm

straightlight wrote:
Wed Mar 21, 2018 8:33 pm
Where on the admin side? What's the route name? More information is needed.
order info, index.php?route=sale/order/info&token=

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by RobertoZST » Wed Mar 21, 2018 8:58 pm

the order history I mean are that we use for example to send tracking to the customer

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by straightlight » Wed Mar 21, 2018 9:01 pm

Now, it's clear.

- admin/controller/sale/order.php file - history() method.
- admin/view/template/sale/order_history.tpl file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RobertoZST » Wed Mar 21, 2018 9:04 pm

straightlight wrote:
Wed Mar 21, 2018 9:01 pm
Now, it's clear.

- admin/controller/sale/order.php file - history() method.
- admin/view/template/sale/order_history.tpl file.
thanks straightlight! can you explain me what I must edit for enable html in the box?

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by straightlight » Wed Mar 21, 2018 9:30 pm

The order_history.tpl file is already in HTML mode. You just need to add the proper variables in the history() method in order to replicate those variables in the TPL files. You can also add the PHP codes in your TPL file directly but I would not mainly suggest this approach.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by RobertoZST » Thu Mar 22, 2018 3:10 pm

straightlight wrote:
Wed Mar 21, 2018 9:30 pm
The order_history.tpl file is already in HTML mode. You just need to add the proper variables in the history() method in order to replicate those variables in the TPL files. You can also add the PHP codes in your TPL file directly but I would not mainly suggest this approach.
thanks straightlight for you patience, but really I don't understand what I must edit for do the comment field able to accetp html. ??? :( sorry

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by thekrotek » Thu Mar 22, 2018 3:52 pm

RobertoZST wrote:
Thu Mar 22, 2018 3:10 pm
thanks straightlight for you patience, but really I don't understand what I must edit for do the comment field able to accetp html. ??? :( sorry
Like I said above, if you're not experienced, ask for commercial support. Nobody will work for free.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by RobertoZST » Thu Mar 22, 2018 4:09 pm

thekrotek wrote:
Thu Mar 22, 2018 3:52 pm
RobertoZST wrote:
Thu Mar 22, 2018 3:10 pm
thanks straightlight for you patience, but really I don't understand what I must edit for do the comment field able to accetp html. ??? :( sorry
Like I said above, if you're not experienced, ask for commercial support. Nobody will work for free.
thekrotek thank you for your availability, but I have no budget for this task.

Newbie

Posts

Joined
Sat Jan 13, 2018 2:35 am

Post by thekrotek » Thu Mar 22, 2018 4:36 pm

RobertoZST wrote:
Thu Mar 22, 2018 4:09 pm
thekrotek thank you for your availability, but I have no budget for this task.
In this case you should start learning come coding.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by paulfeakins » Thu Mar 22, 2018 6:51 pm

thekrotek wrote:
Thu Mar 22, 2018 4:36 pm
RobertoZST wrote:
Thu Mar 22, 2018 4:09 pm
thekrotek thank you for your availability, but I have no budget for this task.
In this case you should start learning come coding.
It's true really I'm afraid, if you have no clue about coding you're asking someone here to do it for you for free and then tell you what files to edit.

There is a strong community of professional OpenCart developers, but we must make a living to pay the bills somehow.

Yes we can sometimes help with code, but only if the person asking is at least a little bit familiar with programming.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: dcortex and 398 guests