VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Single Header in Multi-Product Display?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dougc
Starting Member

9 Posts

Posted - May 20 2005 :  16:13:45  Show Profile  Reply with Quote
The shopping cart I'm suppose to design is very simple. It needs to resemble an oldstyle paper order form. We have no categories, and only ten products. All products will be listed on a single page. The customer will put check boxes next to the product they wish to order and enter an amount. Then check out.

But I've having problems with a couple of things.

I've got the "tmp_productformat.htm" page set up fine, but when it displays in the "shopdisplayproduct.asp" it repeats the column headers above each product. How do I get it to display the column headers once just at the top of the table?

Also, since we don't have any category or product pages, should I just put every product on the shoppingcart home page and not worry about tmp_productformat.htm?


rvaga
VP-ASP Super User

USA
254 Posts

Posted - May 21 2005 :  22:20:44  Show Profile  Reply with Quote
Why not just design the page as static HTML, and for each product simply add configure as:
<B>Wigit No. 1</B> $7.95 <a href="http://www.yourshop.com/shopdirectorywhateveritscalled/shopaddtocartnodb.asp?Productname=Wigit No. 1
&price=7.95
&quantity=1
&returnurl=http://www.yoursinglepage">
<img src="vpnav_buy.gif" width="25" height="13" border="0"></a>

The above will instantly reload the page, then the customer can click "view cart" or "checkout" whenever ready.

There are other ways, but the above would be a simple solution. You can't make a header in tmp_productformat.htm, as it repeats itself over and over depending on how many products you have, or how many you have set per page view. You could design in HTML the header and footer which would never change, then only the tmp_productformat.htm would change, sandwiched in-between the header and footer.

Others may chime in, the above may give you some ideas.

Go to Top of Page

dougc
Starting Member

9 Posts

Posted - May 23 2005 :  10:32:21  Show Profile  Reply with Quote
I think that's a great idea. Is it possible to use the "check box" "enter quantity" method instead? Does the page need to be .htm or .asp?

Thanks!

Go to Top of Page

rvaga
VP-ASP Super User

USA
254 Posts

Posted - May 24 2005 :  11:37:39  Show Profile  Reply with Quote
Seems to me you are there already, sort of.

If you can already generate the checkboxes you need, with xproductselect set to Yes, then take a look at the source code of the generated page, even if it doesn't look like you would like it to look. Cut/paste each product's information into your static htm page (the one you designed that looks nice). You might need to add complete URLs if not in the VPASP directory, but overall you'll be able to tell what's going on for each product by simply studying the source code for the checkbox-generated results.

Your page can be htm or html as far as I know, it doesn't matter. On my site, my true home page for the site is html. If anyone clicks on anything in the site that leads back to the home page, they are actually sent to an identical-looking page, but the page is in .asp. At the top of the source code for the asp page, I have <!--#include file="shop$db.asp"-->
<!--#include file="shoprandomproducts.asp"-->
<!--#include file="shopfileio.asp"-->
<%InitializeSystem%>

The purpose of the identical asp page is because my "real" home page is not in the vpasp directory, the asp home-page is - and the asp page then has the mini-cart for customers to see current cart contents.

Having pages outside the VPASP directory can cause problems I think, whenever anything other than the shopaddtocartnodb.asp function is used. One of the things I will soon buy is the BigYellowZone add-on that allows any directory (folder) to be used, all will interact with the cart.

My advice - coming from one of the newest users of VPASP and a real computer clutz - is to plan your page for now, but keep in mind your future needs. It may be worth the effort to get everything to work via tmp_productformat.htm as best you can, so that adding products later is a breeze instead of managing a static page.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000