WordPress.org

Ready to get started?Download WordPress

Forums

osCommerce and WordPress (23 posts)

  1. lspetty
    Member
    Posted 8 years ago #

    I want to add a WordPress blog to my osCommerce store and have a few questions.

    1) Should I install WordPress in a sub-directory inside the osCommerce directory structure or should it be outside the osCommerce structure? Does it really matter?

    2) I want to use WordPress for marketing and keeping customers up to date on stuff. Do you think current blog should be on the main store page with a link to the rest of my blog entries or should I just create a visible link to my blog?

    3) Is there a way to import my osCommerce template into WordPress?

    Thanks!

  2. 2bak860
    Member
    Posted 8 years ago #

    I'd be interested in 3). How can I get oscommerce to be part of wordpress?

    thanks,

  3. clintanderson
    Member
    Posted 8 years ago #

    Ditto! ;-)

  4. fht
    Member
    Posted 8 years ago #

    same here - already tried to do it a few months ago but wasn't working the way I wanted it to...

  5. soup
    Member
    Posted 8 years ago #

    I'm signing up so too I can follow this. Cart into WP.

  6. skurt
    Member
    Posted 8 years ago #

    me, too!? Any News so far?

  7. TheWebist
    Member
    Posted 8 years ago #

    In regards to question 3, I have developed a solution that might suit everyone's purposes. I've integrated a WordPress blog into my client's OS Commerce install:

    http://www.mywirelesswarehouse.com/blog.php

    If this is in fact what everyone is looking for, I can post a tutorial on how to do this. Keep in mind, that instead of "import[img] my osCommerce template into WordPress", I am actually embedding a WordPress blog inside of OS Commerce.

  8. dtl
    Member
    Posted 8 years ago #

    Hi TheWebist,

    I would be interested in the tutorial you have write us about, on how to embed WP into OsCommerce.

    Thank you,
    Alex

  9. cianuro
    Member
    Posted 8 years ago #

    You have done a really excellent job. Would love to hear details on how you did it.

  10. TheWebist
    Member
    Posted 8 years ago #

    Ok, I've got a tutorial posted on Embedding WordPress into OS Commerce.

    Cheers!

  11. avail1now
    Member
    Posted 8 years ago #

    i tried to post this comment on your site but your site kept rejecting the passcode.

    great job. Do you know if wordpress themes/templates can serve as a front end with osCommerce shopping cart for an e-commerce site that needs no blog? if so, could you point me to some examples, how to info? Thanks

  12. imintrouble
    Member
    Posted 8 years ago #

    Any updates for this yet?

  13. seg
    Member
    Posted 7 years ago #

    I am hoping to also integrate WordPress and osCommerce. I noticed that there is a osCommerce contribution for this:
    http://www.oscommerce.com/community/contributions,3886

    Not sure how it compares to TheWebist's option. I will post an update when I figure out what works best for me.

  14. mpm
    Member
    Posted 7 years ago #

    There is also this tutorial for the simple template system for oscommerce - a part 2 of the webists tutorial.

    http://www.break42.com/press/?cat=19

  15. TheWebist
    Member
    Posted 7 years ago #

    Ok, almost 11 months after my original tutorial, I've posted a new tutorial showing you how to embed WordPress into a default install of OSC MS2.2. Here are links to the tutorial and an example:

  16. logoninfo
    Member
    Posted 7 years ago #

    Wow, thank yo very much, searched for ages for exactly this kind of help! Cheers matey.

  17. seg
    Member
    Posted 7 years ago #

    Thank you - this is perfect!

  18. seg
    Member
    Posted 7 years ago #

    I wanted to use the blog directory structure and keep the blog integrated into the osCommerce template instead of using blog.php as TheWebist uses in the above posted tutorial:
    Embedding WordPress into OSC Part II

    To do this I followed the instructions in the tutorial, but used the code from blog.php in the index.php in the blog's main directory: http://www.domain.com/catalog/wordpress/index.php

    In index.php above:
    require('includes/application_top.php');

    Add this:
    chdir('../../public_html/');
    // turn off WordPress themes and include the WordPress core:
    define('WP_USE_THEMES', false);
    require('./blog/wp-blog-header.php');
    require('includes/application_top.php');

    Remove this:
    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_BLOG);

    You will also need to login to your WordPress admin and set Options > General > Blog address (URI) to “http://www.domain.com/catalog/wordpress/”

    So far this has worked great for me - let me know if anyone else sees a problem with this. Thanks!

  19. mpm
    Member
    Posted 7 years ago #

    I get this error:

    Fatal error: Cannot redeclare get_cat_name() (previously declared in /home/xxxx/public_html/shop/wordpress/wp-includes/functions-post.php:578) in /home/xxxx/public_html/shop/includes/functions/general.php on line 33

    line 33 is:
    function get_cat_name ($cat_id) {

  20. seg
    Member
    Posted 7 years ago #

    MPM - are you finding this:
    function get_cat_name ($cat_id) {

    on line 33 of: /home/xxxx/public_html/shop/includes/functions/general.php

    That is a osCommerce file and I do not believe that function should be in the general.php file - at least it is not in mine. You might want to compare your general.php file to the default general.php file in the latest osCommerce release.

    Let me know what you find out ... thanks.

  21. web-widget
    Member
    Posted 7 years ago #

    Seg, "I wanted to use the blog directory structure "
    Thank you for posting this I had been toiling for days with wordpress and my modded shop conflicting with each other as I have ultimate seo urls installed, I did what you did and now all is well :-)

    Thanks for sharing,
    w-w

  22. lobster2000
    Member
    Posted 7 years ago #

    seg and web-widget, could you explain a little bit more detailed how you did that? as i have also ultimate seo urls installed i'm very interested. i couldnt follow, for eg i dont find:

    require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_BLOG);

    what must be in the application_top.php?

    thanks

  23. ElRano
    Member
    Posted 7 years ago #

    Hello!
    Great contrib
    but anyone know how to couple the WordPress user login with the Os commerce customer login?

    I don't want to let the commentaries without registration, so it's better having only one registration working in each programs...

    Any ideas?
    Cheers

Topic Closed

This topic has been closed to new replies.

About this Topic