Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

using sts for product reviews


sackling

Recommended Posts

Hello,

 

I currently use sts templates on my html/css site only for shopping cart purposes.

 

recently i decided i would like to add product reviews to the bottom of the product pages by using a php include at the bottom of the page of the product reviews page like so:

 

<?php include("../../catalog/product_reviews_write.php?products_id=179"); ?>

 

Now I am currently facing 2 problems.

 

1) I am able to access the page however when I try to include it i receive the error:

 

Warning: main(../../catalog/product_reviews_write.php?products_id=179) [function.main]: failed to open stream: No such file or directory in

 

2) The sts template that is being used for that page is the same as I use in my shopping cart. therefore the entire html menu system that i insterted in the sts_template file so that the shopping cart looks consistent with the rest of my site will appear on the page that already has the html menu.

 

is there a way to make it a second template only for the reviews that would be pretty much blank? how do i tell sts to do this?

Link to comment
Share on other sites

Hello,

 

I currently use sts templates on my html/css site only for shopping cart purposes.

 

recently i decided i would like to add product reviews to the bottom of the product pages by using a php include at the bottom of the page of the product reviews page like so:

 

<?php include("../../catalog/product_reviews_write.php?products_id=179"); ?>

 

Now I am currently facing 2 problems.

 

1) I am able to access the page however when I try to include it i receive the error:

 

 

 

2) The sts template that is being used for that page is the same as I use in my shopping cart. therefore the entire html menu system that i insterted in the sts_template file so that the shopping cart looks consistent with the rest of my site will appear on the page that already has the html menu.

 

is there a way to make it a second template only for the reviews that would be pretty much blank? how do i tell sts to do this?

 

Yes, this can be done quite easily....

 

Please post your support request in the correct thread.

 

STS support is ONLY provided in the STSv4 Support Thread. The link is in the STS User Manual as well as in my signature below.

 

http://www.oscommerce.com/forums/index.php?sho...660&st=4880

 

It's best to keep the questions (and answers) in one place for all STS users to benefit.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...