Page 1 of 2
Integration with Wordpress
Posted: Tue Dec 14, 2010 11:39 pm
by pbul2004
Hi,
I am wondering how or if its possible to have OpenCart as the root / main page of the site. Then also themed the same as Wordpress?
As a client wants to use OpenCart for his shop which he wants as the main page, but he also wants a forum and a blog on there as well.
I was going to use Wordpress to achieve this, so wondering if anyone has done this successfully and how i might go about using the two solutions together, but making it look seamless.
Cheers
Paul
Re: Integration with Wordpress
Posted: Wed Dec 15, 2010 2:08 am
by SapporoGuy
For the theme, you will have to edit opencart to match it manually. There is no point and click that I know at the moment.
As for the rest, you might want to check at wordpress for a module.
If not, you will have to consider the problems of having multiple logins or not.
Re: Integration with Wordpress
Posted: Mon Dec 20, 2010 8:44 am
by rsbenedict
I've done this (
http://teachforjune.com). I have two separate installs: wordpress and opencart. And I just added the relevant parts of my wp header and footer (html and applicable scripts only) to the header.tpl and footer.tpl of opencart. I then took the applicable css from my wp install and appended it to the bottom of the opencart css. I had to make a few tweaks here and there to the css because of different css defaults on each css, but it was relatively easy and painless.
I've also done something similar with other scripts like whmcs.
Re: Integration with Wordpress
Posted: Tue Jan 04, 2011 10:11 pm
by karan2
Hello Group ,
just completed a blog post on integrating wordpress and bbpress with opencart
http://wp.me/pORG4-1T
Enjoy the post
Thanks and regards ,
Karan Ahuja
www.kodeplay.com/opencart
www.kodemall.com
Re: Integration with Wordpress
Posted: Tue Mar 01, 2011 9:55 pm
by kookalab
That post doesn't talk about opencart at all you twat
Re: Integration with Wordpress
Posted: Fri Mar 11, 2011 4:21 am
by finestdesign
pbul2004 wrote:Hi,
I am wondering how or if its possible to have OpenCart as the root / main page of the site. Then also themed the same as Wordpress?
As a client wants to use OpenCart for his shop which he wants as the main page, but he also wants a forum and a blog on there as well.
I was going to use Wordpress to achieve this, so wondering if anyone has done this successfully and how i might go about using the two solutions together, but making it look seamless.
Cheers
Paul
Hi Paul,
As already suggested you would need to create a new template for both OpenCart and Wordpress. If you would like "recent blog posts" on the storefront page, or something alike, then you will need knowledge in PHP. You will also need some degree of knowledge in PHP to create the custom templates, but not an awful lot. Both OpenCart and Wordpress are very easy to edit, so it really isn't too difficult. I am working on something similar myself at the moment so if you'd like a hand feel free to drop me a PM.
Craig
Re: Integration with Wordpress
Posted: Sun Mar 13, 2011 4:44 pm
by SapporoGuy
Slightly off topic but do you really need a full cms?
Couldn't you just do with news or news acting like a blog?
Re: Integration with Wordpress
Posted: Mon Oct 31, 2011 3:27 am
by T3Kaos
rsbenedict wrote:I've done this (
http://teachforjune.com). I have two separate installs: wordpress and opencart. And I just added the relevant parts of my wp header and footer (html and applicable scripts only) to the header.tpl and footer.tpl of opencart. I then took the applicable css from my wp install and appended it to the bottom of the opencart css. I had to make a few tweaks here and there to the css because of different css defaults on each css, but it was relatively easy and painless.
I've also done something similar with other scripts like whmcs.
I really liked how you did this and this would be the perfect solution for myself until a WP OpenCart Bridge is developed. Due you have a tutorial on how you did this succesfully. I already have the wordpress installation done (
https://z01.co.uk) and the opencart installation done (
http://neutrino.z01.co.uk), now I'd like to merge them the way you have. It looks awesome.
Re: Integration with Wordpress
Posted: Mon Oct 31, 2011 9:37 am
by rsbenedict
Sorry, no tutorial. I just copied the header and footer of the wordpress files before the header and after the footer of opencart. I then also appended the appropriate CSS from wp to the bottom of teh opencart css.
Basically, wordpress header and footer wrap the opencart content.
Re: Integration with Wordpress
Posted: Tue Nov 01, 2011 6:38 pm
by T3Kaos
What about unified logons?
Re: Integration with Wordpress
Posted: Tue Nov 01, 2011 7:12 pm
by rsbenedict
Nope. this is just a simple integration. Logins are separate.
Re: Integration with Wordpress
Posted: Thu Nov 10, 2011 2:46 am
by derekshirk
@ rsbenedict
Did you place the WP directory inside of the OpenCart (root) directory or did you put OpenCart inside of the WP directory?
I am hoping to achieve a very simple integration similar to what you described. Just to clarify could you help confirm if I am barking up the right tree based on what you have described.
1) Move OpenCart to root directory
2) WP directory will be located at /blog directory inside of the root
3) Copy necessary WP header info and paste above OC header (.tpl?) info
4) Copy necessary WP footer info and past below OC footer (.tpl?) info
I mentioned (.tpl?) above because I want to make sure that I am pasting the WP info into the correct OC files. What is the path to the correct header/footer files that need to be modified within OC?
Re: Integration with Wordpress
Posted: Thu Nov 10, 2011 2:48 am
by derekshirk
@rsbenedict
I should have also mentioned that I want to use the default OC (category) navigation on all pages of my site not the wordpress menu system. Does that matter? Is this possible?
Re: Integration with Wordpress
Posted: Tue Nov 22, 2011 10:24 pm
by rsbenedict
They are two separate installations in two separate directories. I use directadmin so both installations and directories are totally separate from each other. There is NO integration between the two installs. I just opened up the files of opencart and added the code for the wordpress layout header and footer to the applicable opencart files and then appended the appropriate css from wordpress to opencart´s css file.
It´s a very simple solution and it suits my needs. I don't need a total integration or a shared log in. Just a store to adjunct my main website.
Re: Integration with Wordpress
Posted: Wed Dec 14, 2011 10:25 am
by ksrep28
rsbenedict wrote:They are two separate installations in two separate directories. I use directadmin so both installations and directories are totally separate from each other. There is NO integration between the two installs. I just opened up the files of opencart and added the code for the wordpress layout header and footer to the applicable opencart files and then appended the appropriate css from wordpress to opencart´s css file.
It´s a very simple solution and it suits my needs. I don't need a total integration or a shared log in. Just a store to adjunct my main website.
You nailed it! I would really love a little more info. of how you did it. I could care less about shared log in as well. Seems easy in theory but not so. Can you please just answer a few questions: Did you take the entire header.php, copy it and put it in the header.tpl files in opencart? (same with the footer?) or are only portions of the WP code copied. It doesn't seem hard but when I copied the the wp code and put in in opencart I got errors. Any help would be soooooooo appreciated.
Re: Integration with Wordpress
Posted: Wed Dec 14, 2011 11:49 pm
by rsbenedict
I displayed my main page and then looked at source. I then copied the header div and the footer div and added them to the appropriate tpl pages in opencart. I then also copied the appropriate css and added it to the open cart css. Some tweaks needed to be made to get everything to look right.
You have to take it from the source code and not from the actual wordpress templates because wordpress calls for it's own php that opencart doesn't know.
If you take it from source code, then all the variables are already propagated and you won't get any php errors.
Re: Integration with Wordpress
Posted: Thu Dec 15, 2011 1:11 am
by ksrep28
AWESOME! I got it to work. THANK YOU SO MUCH! I was just about to give up. I was digging into the php code and getting errors every time. I never thought of taking it from the source code. Christmas came early this year!!!! So cool!
Re: Integration with Wordpress
Posted: Sun Feb 26, 2012 7:31 am
by viviansank
also a plugin in wordpress to import products from opencart ?
Re: Integration with Wordpress
Posted: Mon Mar 05, 2012 12:09 pm
by readyman
How would you import your Opencart content into Wordpress?
FYI - WPOpencart phase 2 has been released. It displays your Wordpress content inside Opencart.
Re: Integration with Wordpress
Posted: Sun Mar 25, 2012 7:48 am
by viviansank
its is free?