Community Forums

Integration with Wordpress

Discuss integration with other scripts such as WordPress, Joomla, PHPBB, etc..

Integration with Wordpress

Postby pbul2004 » Tue Dec 14, 2010 10:39 am

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
Last edited by i2Paq on Tue Dec 14, 2010 2:05 pm, edited 1 time in total.
Reason: Topic moved
pbul2004
 
Posts: 5
Joined: Fri Jul 09, 2010 1:29 pm

Re: Integration with Wordpress

Postby SapporoGuy » Tue Dec 14, 2010 1:08 pm

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.
930sc ... because it is fun!
User avatar
SapporoGuy
 
Posts: 1132
Joined: Mon Nov 01, 2010 6:29 am

Re: Integration with Wordpress

Postby rsbenedict » Sun Dec 19, 2010 7:44 pm

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.
rsbenedict
 
Posts: 19
Joined: Sun Dec 19, 2010 12:37 pm

Re: Integration with Wordpress

Postby karan2 » Tue Jan 04, 2011 9:11 am

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
karan2
 
Posts: 67
Joined: Mon Jun 21, 2010 2:51 pm

Re: Integration with Wordpress

Postby kookalab » Tue Mar 01, 2011 8:55 am

karan2 wrote: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
http://www.kodeplay.com/opencart
http://www.kodemall.com


That post doesn't talk about opencart at all you twat
kookalab
 
Posts: 1
Joined: Tue Mar 01, 2011 8:52 am

Re: Integration with Wordpress

Postby finestdesign » Thu Mar 10, 2011 3:21 pm

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
finestdesign
 
Posts: 1
Joined: Thu Mar 10, 2011 3:15 pm

Re: Integration with Wordpress

Postby SapporoGuy » Sun Mar 13, 2011 3:44 am

Slightly off topic but do you really need a full cms?
Couldn't you just do with news or news acting like a blog?
930sc ... because it is fun!
User avatar
SapporoGuy
 
Posts: 1132
Joined: Mon Nov 01, 2010 6:29 am

Re: Integration with Wordpress

Postby T3Kaos » Sun Oct 30, 2011 2:27 pm

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.
T3Kaos
 
Posts: 21
Joined: Fri Sep 02, 2011 8:31 am
Location: London, UK

Re: Integration with Wordpress

Postby rsbenedict » Sun Oct 30, 2011 8:37 pm

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.
rsbenedict
 
Posts: 19
Joined: Sun Dec 19, 2010 12:37 pm

Re: Integration with Wordpress

Postby T3Kaos » Tue Nov 01, 2011 5:38 am

What about unified logons?
T3Kaos
 
Posts: 21
Joined: Fri Sep 02, 2011 8:31 am
Location: London, UK

Re: Integration with Wordpress

Postby rsbenedict » Tue Nov 01, 2011 6:12 am

Nope. this is just a simple integration. Logins are separate.
rsbenedict
 
Posts: 19
Joined: Sun Dec 19, 2010 12:37 pm

Re: Integration with Wordpress

Postby derekshirk » Wed Nov 09, 2011 1:46 pm

@ 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?
derekshirk
 
Posts: 4
Joined: Wed Aug 31, 2011 4:32 pm

Re: Integration with Wordpress

Postby derekshirk » Wed Nov 09, 2011 1:48 pm

@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?
derekshirk
 
Posts: 4
Joined: Wed Aug 31, 2011 4:32 pm

Re: Integration with Wordpress

Postby rsbenedict » Tue Nov 22, 2011 9:24 am

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.
rsbenedict
 
Posts: 19
Joined: Sun Dec 19, 2010 12:37 pm

Re: Integration with Wordpress

Postby ksrep28 » Tue Dec 13, 2011 9:25 pm

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.
ksrep28
 
Posts: 25
Joined: Fri Oct 14, 2011 12:40 pm

Re: Integration with Wordpress

Postby rsbenedict » Wed Dec 14, 2011 10:49 am

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.
rsbenedict
 
Posts: 19
Joined: Sun Dec 19, 2010 12:37 pm

Re: Integration with Wordpress

Postby ksrep28 » Wed Dec 14, 2011 12:11 pm

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!
ksrep28
 
Posts: 25
Joined: Fri Oct 14, 2011 12:40 pm

Re: Integration with Wordpress

Postby viviansank » Sat Feb 25, 2012 6:31 pm

also a plugin in wordpress to import products from opencart ?
User avatar
viviansank
 
Posts: 28
Joined: Wed Feb 22, 2012 8:49 am

Re: Integration with Wordpress

Postby readyman » Sun Mar 04, 2012 11:09 pm

How would you import your Opencart content into Wordpress?

FYI - WPOpencart phase 2 has been released. It displays your Wordpress content inside Opencart.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
User avatar
readyman
Global Moderator
 
Posts: 731
Joined: Tue May 19, 2009 4:16 pm
Location: Sydney

Re: Integration with Wordpress

Postby viviansank » Sat Mar 24, 2012 6:48 pm

its is free?
User avatar
viviansank
 
Posts: 28
Joined: Wed Feb 22, 2012 8:49 am

Next

Return to Integration

Who is online

Users browsing this forum: No registered users and 5 guests

Hosted by Arvixe Web Hosting