Forums / General Questions / Configuring an Online Quiz as Product?

Configuring an Online Quiz as Product?

Locked

Views: 884

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
1 Apr 2008, 9:20 AM
#1
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Configuring an Online Quiz as Product?

I have an online test that I would like to sell in zen cart.

OVERVIEW

The test is a 2 page form, with 50 questions on each page (it is 2 pages because having 100 questions on a single page can cause display issues in some browsers and under powered computers) and then the results page. The viewer answers the 1st 50 questions then clicks the "continue" button to fill out the last 50 questions on the 2nd page. Then the user clicks the submit button and the results are tabulated in a PHP script and shown to the user.

Is it possible to make such a test a product in Zen Cart?

I have seen a thread regarding "Streaming Video Product" where a single HTML page is set as a product attribute (i.e. the HTML page is placed in the "download" folder). My situation requires the user to click through 2 pages of questions and then click to the results page, for a total of 3 pages, to complete the test. I haven't tried it yet but I think I am going to have a problem clicking from page to page. Anyone know if this will work?

If clicking through multiple pages is a roadblock, I might be able to AJAX the form so it is only a single page. But then would I need to load the AJAX libraries in the "download" folder? Can the "download" folder access scripts outside of it?

13 May 2008, 9:51 AM
#2
picci avatar

picci

Zen Follower

Join Date:
Feb 2006
Posts:
125
Plugin Contributions:
0

Re: Configuring an Online Quiz as Product?

I have found that you can use a page URL instead of a downloadable file when setting up a product option to achieve this. I just uploaded a HTML (or PHP) page to the download directory and set the page in the Downloadable products: Filename: field. Then Zen Cart will provide the customer with a link to your page instead of to a downloadable file.

This allows you to use Zen Cart for secured page access to customers which opens up a lot of opportunities.