Jump to content
Sign in to follow this  
sackling

using sts for product reviews

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?

Share this post


Link to post
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://forums.oscommerce.com/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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×