jwebadgility Posted December 5, 2017 Share Posted December 5, 2017 Hi, I haven't used oscommerce yet, but I have a client request to integrate an existing oscommerce shop into a new wordpress installation. The wordpress site is basically the marketing customer-facing sales tool and oscommerce will be the ecommerce system. I've done some research and there doesn't seem to be a ton of good starting places to make this integration happen. The WP plugin repository has a OSC plugin that's 9 years old and I'm not sure it will do the trick regardless. My thought was that WP would be the root installation and OSC would reside in a subdirectory like http://wordpresssite.com/cart . Does anyone have any experience with this kind of integration or tips/pointers? Thanks for any help or guidance, Jay Link to comment Share on other sites More sharing options...
ken0306 Posted December 5, 2017 Share Posted December 5, 2017 2 hours ago, jwebadgility said: Hi, I haven't used oscommerce yet, but I have a client request to integrate an existing oscommerce shop into a new wordpress installation. The wordpress site is basically the marketing customer-facing sales tool and oscommerce will be the ecommerce system. I've done some research and there doesn't seem to be a ton of good starting places to make this integration happen. The WP plugin repository has a OSC plugin that's 9 years old and I'm not sure it will do the trick regardless. My thought was that WP would be the root installation and OSC would reside in a subdirectory like http://wordpresssite.com/cart . Does anyone have any experience with this kind of integration or tips/pointers? Thanks for any help or guidance, Jay Hi Jay, what kind of information do you want these two applications to share? I installed the addon before, but don't really see it useful. ken Link to comment Share on other sites More sharing options...
jwebadgility Posted December 5, 2017 Author Share Posted December 5, 2017 I'm not even sure they will share information at this point. I think they would kind of function separately with the only exception being that they would share the same headers and footers and overall style. I'd like for them to run under the same domain vs. setting up a subdomain to host the OSC. Link to comment Share on other sites More sharing options...
ArtcoInc Posted December 5, 2017 Share Posted December 5, 2017 @jwebadgility I think many will say that the best way would be to put each in their own sub-directory ... <root> ---+---- <wordpress> | +---- <osCommerce> You can set your .htaccess file to redirect to whichever 'primary' app / directory you want your 'customers' to arrive at when they only enter <yourdomain.com>, You can have links between each app pointing towards the other. You can even put a landing page in the root (although I personally don't recommend it), giving your 'customers' a choice of which app to enter. This way, each app is in their own sub-directory. If an app gets hacked or corrupted, it's easy to blow it away and restore from a backup. You can even create temporary / test sub-directories if you want to play around with different versions of variations of the apps. Malcolm Link to comment Share on other sites More sharing options...
jwebadgility Posted December 5, 2017 Author Share Posted December 5, 2017 Thanks Malcom. I'm thinking the wordpress site would be the initial landing location, and from there, if they enter the 'shop', then I would drop them into the OSC installation and the user could bounce back and forth between the two without really noticing a difference. At least that's the overall goal. Link to comment Share on other sites More sharing options...
MrPhil Posted December 5, 2017 Share Posted December 5, 2017 osC and WP are two completely independent beasts, and both think they own the site. I understand that some people have gotten them to play together somewhat nicely (at least, a common account signon), but the code to do that may need to be updated to work with osC 2.3.4BS Edge (do NOT install 2.3.4 or 2.3.4.1... they are obsolete). I wouldn't wait for osC 2.3.6 (official Edge offering), as who knows how long that will take to get here. Any commonality in appearance and function will require coding changes to either or both. You might think about running both in an iframe, so they can share common headers and footers, but you will still need to do something about a common signon. It's best to have both major applications in their own subdirectories, so their files don't step on each other, and you can put application-specific .htaccess entries in its own .htaccess file. It's always a problem to have one application in root, which forces the other to go through the root application's .htaccess, and the results can be difficult to back out or work around. If osC is already installed, you would have to move it down a level into its own subdirectory (if it's in root), which will affect your search engine results for a while (and require temporary .htaccess 301 redirects). Just to be open and complete, do note that WP has an ecommerce plug-in. I don't think it's as good as osCommerce, but it will be better integrated into WP. Which approach is better depends on how much integration you need between the two sides. Will WP articles be jumping over into the store for a product mentioned in WP (this can always be done with a full URL link)? Will store product descriptions be jumping over to WP for reviews, support, or discussion (osC has a product review add-on)? I think you need to discuss with your client a lot more about how much integration and data-sharing the two sides may potentially do. Link to comment Share on other sites More sharing options...
Fiber Posted December 6, 2017 Share Posted December 6, 2017 I remember this topic Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.