Book Image

Deep Inside osCommerce: The Cookbook

By : Monika Mathe
Book Image

Deep Inside osCommerce: The Cookbook

By: Monika Mathe

Overview of this book

osCommerce has been around since March 2000. At present there are over 10,000 live, registered osCommerce sites, and about 100,000 registered community members. Apart from providing ready-made solutions to problems, as well as a huge repository of information, the osCommerce community is a living entity with which we can all interact. With the rising success and popularity of this remarkable piece of software, things can only get better.
Table of Contents (17 chapters)
Deep Inside osCommerce: The Cookbook
Credits
Foreword
About the Author
About the Reviewers
Introduction

30. Offer an Ask a Question about a Product Link on Product Info


This recipe creates a link to the Contact Us page, with information about the product already added as a reference.

Presentation

Your Product Detail page will look like this if you add Ask a question about this product as a link for variation #1:

If you prefer to use a button centered between Reviews and Add to Cart, your screen will look like this in variation #2:

In both variations, the link takes you to the Contact Us page, which will look like this screenshot:

Ready to dish out what your guests really want?

Variation #1

This variation on the topic will add an Ask a question about this product link right after the product description.

Ingredients

Note

Modified:

catalog/includes/languages/english/product_info.php

catalog/includes/languages/english/contact_us.php

catalog/product_info.php

catalog/contact_us.php

Cooking

  1. 1. Open catalog/includes/languages/english/product_info.php and add the following define statement:

define...