Post by straightlight » Thu Feb 12, 2015 11:58 am

duranto2009 wrote:Hi, Straightlight.
I followed every step you described & bingo! I got the invoice after success page, thanks to you for the great mod.

But I need to modify some feature. Please help me with that.

1. When I click Print Invoice button it shows the invoice but after closing the tab and re-clicking the Print Invoice button it redirect me to my home page. That means the Print Invoice button is void for only 1 time. I want to let my customer do that at least 2/3 times.
2. How to add fields on this invoice, like: shipping method, payment method, voucher, coupon etc. Please give me instruction how to add custom fields.
3. The invoice.css file is not working, I mean I changed the CSS file to my default one so that I could get as same as the default Invoice. But it's not working.
4. I tried some modification to add some fields and got this error: Undefined index: shipping_method in ...../order_invoice.tpl That's mean I didn't defined the shipping_method string, how to define them.

Please help me with these solution.
Hi,

these modifications were meant for v1.5x releases. As for v2.0x releases, there might be alternate solutions to do this without having to expire the customer's order ID's lifetime and on a more secured approach which I'm still investigating for other subjects as well on Opencart. Once successful, I will post an updated version.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member

Posts

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

Post by duranto2009 » Fri Jul 03, 2015 1:33 pm

Thanks straightlight! Great help :D

Regards,
duranto2009
http://www.marketplacebd.com


Newbie

Posts

Joined
Sun Feb 08, 2015 10:46 pm
Location - Dhaka, Bangladesh
Who is online

Users browsing this forum: No registered users and 42 guests