Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oscommerce and Wordpress, easy solution?


barakas

Recommended Posts

Posted

I've been struggling

 

 

Would there be a way to just dump the entire of wordpress into the middle of my OScommerce?

 

 

I don't really want to just have the limited function of this Wordpress intergration.

 

So anyway, would it be possible just to insert the standard wordpress page inside my index.php

 

 

So normally where you find

 

www.mywebsite.com/wordpress

 

Would appear in the middle sections?

 

 

It seems it would just be a case of linking this url

www.mywebsite.com/wordpress

 

inside .php, but I have no ideas what functions are responsible for this.

 

Any help?

Posted

First, why on earth would you want to? Oscommerce is one package and wordpress is another. Use one in the index or the other but not both.

Posted

Why I would want to is simple.

 

Referential advertising is important.

 

If I separate my blog from my shop, I then have to laboriously add links to products and such, If i intergrate the blog with the shop, all the product links and category links are already in the side bars.

 

 

The current OS commerce contribution that intergrates wordpress to OScommerce, only allows for 1 wordpress "category" of posts, and does not have any other wordpress features like searching, nor does it allow wordpress plug ins to be used.

 

By having wordpress inside my oscommerce site, I can have a higher quality blog, and make it much easier to jump into the shop, than if i had a separate wordpress area that i then linked to my shop.

Posted

Why I would want to is simple.

 

Referential advertising is important.

 

If I separate my blog from my shop, I then have to laboriously add links to products and such, If i intergrate the blog with the shop, all the product links and category links are already in the side bars.

 

 

The current OS commerce contribution that intergrates wordpress to OScommerce, only allows for 1 wordpress "category" of posts, and does not have any other wordpress features like searching, nor does it allow wordpress plug ins to be used.

 

By having wordpress inside my oscommerce site, I can have a higher quality blog, and make it much easier to jump into the shop, than if i had a separate wordpress area that i then linked to my shop.

 

 

I'm sure this will be very easy to implement, but I can't see in the OScommerce documentation how you inject content using links in a .php file.

 

Here's what I imagine it might work like

 

blog.php

 

 

 

<html <?php echo HTML_PARAMS; ?>>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

<!-- body //-->

<table border="0" width="100%" cellspacing="3" cellpadding="3">

<tr>

<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

<?php

if ($category_depth == 'nested') {

$category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");

$category = tep_db_fetch_array($category_query);

?>

<td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

 

<td class="main"> <php echo LINK TO WORDPRESS BLOG HERE><td>

 

<!-- right_navigation //-->

<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>

<!-- right_navigation_eof //-->

</table></td>

</tr>

</table>

<!-- body_eof //-->

 

<!-- footer //-->

<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>

<!-- footer_eof //-->

<br>

</body>

</html>

<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...