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

27. Show a Pop Up with Shipping Options in Product Info


This recipe allows you to show all shipping options for a product in a pop up opening from the Product Detail page. Default osCommerce offers shipping options only after logging in during the checkout procedure. This module is suitable for you, if you do not have heavily zone-based shipping options, or if your shipping options have clear names to distinguish between zones.

Presentation

Your page will look like this with the new link, View delivery options, added below the product's model:

When clicking the View delivery options link, the following pop up opens:

Boiled, Deviled, Fried, Poached, and Scrambled!

Ingredients

Note

New:

catalog/view_delivery.php

Modified:

catalog/includes/languages/english/product_info.php

catalog/includes/languages/english/checkout_shipping.php

catalog/product_info.php

Cooking

  1. 1. Create the new pop-up file catalog/view_delivery.php using the following code. Most parts of the code come from the Checkout...