Post by garywinner » Wed Mar 26, 2014 2:49 am

Hey guys,

I am opencart user but I start to try to tweak the module by myself .

I added a "image uploader" function for the customer to upload their payment receipt in the order history page.

Now I want to add that image in the "order_info" page in Admin.

But I find that same script can't be used to load the same image in both side ( admin and catalog)

In admin, it load the pic like this "admin/image/payment/0d59afcafd.jpg"
In catalog, it load the pic like this "image/payment/0d59afcafd.jpg"

Please enlighten me how DIR work in different area in opencart system.
You may give me some source to study.

Thanks a lot !

New member


Sun Sep 01, 2013 6:31 pm
Location - Hong Kong
Who is online

Users browsing this forum: No registered users and 40 guests