OsCommerce can be a great engine to use to power your shop but out of the box lacks some key features. A blog engine is one example - Wordpress being the market leader. So, how to integrate your Wordpress blog into your OsCommerce store? Here's how...


Category: oscommerce, wordpress

Introduction

user redirection with joomlaThis code allows you to display an information box in OsCommerce utilising a random post from your Wordpress blog.

Solution

Step 1:
Download the attached blog.php.txt (see bottom of page) and save as file: /includes/boxes/blog.php

Step 2:

Alter the config params at the top to suit your Wordpress installation, save the file.

Step 3:

open file /includes/column_left.php (or column_right.php if you wish the blog to appear on the right).
Decide which order you wish the box to appear in and then add:
include(DIR_WS_BOXES . 'blog.php');

And you're good to go!

Summary

Very useful for SEO purposes, you may want to alter the way the blog url string is built (line #45) depending if you're using search engine friendly urls or not.


File Attachments

download  Download: blog.php.txt

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.