Solved

OSCommerce - understanding the STS

Posted on 2011-02-22
4
322 Views
Last Modified: 2012-05-11
Hi Experts,

I am a php programmer and I am trying to tailor an OSCommerce system but I am struggling to get my head around it.

For example the file attached is for comparing two or more products.

When I remove all the html at the bottom, I am able to print to screen the details of the two products I have hardcoded in (the IDs are hard coded at the top of the file).

However, when I put back in the html at the bottom it uses the sts-template.html file but with no content being displayed.

When I try to echo any content in the html section of the compare.php file, nothing is displayed. The html displayed does not seem to use any html from the compare.php instead it all comes from sts-template.html

I don't know where this sts-template.html is called?

Any help would be appreciated.

Thanks,

compare.php
0
Comment
Question by:bigMlittleC
  • 2
  • 2
4 Comments
 
LVL 46

Accepted Solution

by:
tbsgadi earned 500 total points
Comment Utility
0
 

Author Comment

by:bigMlittleC
Comment Utility
No I hadn't. Thanks. I will take a look and get back to you.
0
 

Author Closing Comment

by:bigMlittleC
Comment Utility
Thanks
0
 
LVL 46

Expert Comment

by:tbsgadi
Comment Utility
Glad to help!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now