URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushp_general_purpose
Thread Number: 322
[ Go back to previous page ]

Original Message
"Confused"

Posted by D on at 05:08 PM
How do the applets and the shopping cart link together?

I've read the tutorial but I'm just clueless. Please help. Thanks!


Table of contents

Messages in this discussion
"RE: Confused"
Posted by Bill Weiner on at 06:37 AM
You can just add the applets to any of your HTML pages... and uShop will automatically handle linking them all together. Just be sure that you follow the "codebase" rules described at:

http://www.uburst.com/uShop/codebase.html

(The easiest thing to do is use the recommended directory structure - also described on that page - so that the "codebase" setting of all of your applet can be set to "../classes/".)


"Problem"
Posted by D on at 03:36 PM
I added all the applets and when I hit View Cart, "Please Wait" stayed on the screen. I couldn't see the shopping cart.

This is the site url: http://www.franchescasbb.com/Corporate/bag.html
Click on Add and then the View Cart on the right menu.


"RE: Problem"
Posted by Bill Weiner on at 10:10 PM
I took a look at your site and saw two problems:

1) You should not be linking directly to the display_cart.html page..... you should be using the uShopOrderButton applet to begin the order process. You can see how this is done in our demo at:

http://www.uburst.com/uShop/demo/index.html

(Note the uShopOrderButton applet on the "place order" page.)

2) Your directory structure is not as described on:

http://www.uburst.com/uShop/codebase.html

In particular, the codebase of your applet on your page:

http://www.franchescasbb.com/Corporate/bag.html

Does not translate to the same codebase on your page:

http://www.franchescasbb.com/store/classes/display_cart.html

That is, a codebase setting of:

CODEBASE="../store/classes"

... does not translate to the same directory from each of those pages.

So again, read the following reference page for information about properly setting up your directory structure:

http://www.uburst.com/uShop/codebase.html