Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Feb 2006
    Posts
    130
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Configuring two sites to keep product quantities up to date
    By SteveCollins in forum General Questions
    Replies: 1
    Last Post: 18 Jul 2007, 08:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg