Post by someguyincali » Fri Jan 26, 2018 8:40 am

I am building a web site and I want to have opencart embeded into it. I want to utilize the opencart customer login authentication on all php pages in my site so that the transition to the shopping cart portion of the site is seamless.

OpenCart version

I want to do what this guy did: viewtopic.php?f=21&t=69949&start=20
Unfortunately, that reference is deprecated.

Is there a script somewhere I can include on non-opencart php pages that will check for a valid logged in session?



Fri Jan 26, 2018 6:47 am

Post by straightlight » Sat Jan 27, 2018 7:17 am

Building an API by using the backward compatibility method would be the best way. This functionality is already coded in the OC core.

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.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 7 guests