uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
error trying to use uShopOrderButton

Knowledge Base Lobby : uShop Support Conference : CGI Script Related Problems
Nov-20-17 12:54 AM EST
Original Message
error trying to use uShopOrderButton
Author chris flynn on 12-19-2000 at 20:43 (EST)
Whenever I use this class I get error "Object doesn't support this property or method." Anyone know what this generally implies. Out of time now and will look at this in the morning. I'm using this on my display_cart.html page to show a user what his/her cart looks like and when I click the gif "demo_order_button" to activate the
uShopOrderButton I get this error. I haven't yet moved things to my server, but it should be able to display the cart without this error I would think. Thank!
Chris
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: error trying to use uShopOrderButton Bill Weiner, 2000-12-20 06:11:12 (1)
            re: error on line 33 says Explorer Chris Flynn, 2000-12-20 18:57:01 (2)
                 re: error on line 33 says Explorer Bill Weiner, 2000-12-21 06:25:57 (3)
                      got it to work but why.. chris flynn, 2000-12-28 20:00:05 (4)
                           RE: got it to work but why.. Bill Weiner, 2000-12-29 06:06:53 (5)

Messages In This Discussion
         1. RE: error trying to use uShopOrderButton
        Author Bill Weiner on 12-20-2000 at 06:11 (EST)
I would need to look at it myself, but normally any error such as "Object doesn't support this property or method"... indicates that you are using a mixture of old and new class files. For example, if you are using an older version of the uShopLibrary class... but a newer version of the uShopOrderButton class... the uShopOrderButton might be trying to call a new method that was added to a newer version of the uShopLibrary class. So in other words, just make sure all the class files that you are using came from the same download file.

On a side note, it sounds like you are trying to put the uShopOrderButton applet on the special "display_cart.html" page? That really can't/shouldn't be done. If anything, you could possibly add it to your "template_cart.html" page (which is the template that gets displayed by the "display_cart.html page)... but really, you should not be linking directly to the "display_cart.html" page at all. Rather, the uShopOrderButton applet should be placed on one of your regular store pages.... and the uShopOrderButton will automatically handle loading the "display_cart.html" page when the customer wishes to begin the checkout process.
TABLE OF CONTENTS
                 2. re: error on line 33 says Explorer
                Author Chris Flynn on 12-20-2000 at 18:57 (EST)
Thanks for your help. Looking at the second answer,
When I try to call the display_cart directly from my store I get the error that at line 33, pointing to:

var html = document.uShopJSI.getCartHTML();

This lead me to put the display_cart or what it is doing with the button on another page. Does this indicate anything further or am I still mixing old and new classes, would this error indicate??

If so, I'll just buy the product and do a fresh install maybe.

Thanks much.
Chris

TABLE OF CONTENTS
                         3. re: error on line 33 says Explorer
                        Author Bill Weiner on 12-21-2000 at 06:25 (EST)
I'd have to see the page myself to understand what is going on, so if you give me the URL, I will take a look at it. My guess, however, is that your uShopJSI applet is not being loaded on that page....most likely due to the CODEBASE setting. See the following reference page for more information on the CODEBASE setting:

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

But again, that "display_cart.html" page should really be located in your classes directory and you really should not be linking directly to it. Instead, you should just use the uShopOrderButton applet... which will handle loading that page (just as we have it setup in our demo).
TABLE OF CONTENTS
                                 4. got it to work but why..
                                Author chris flynn on 12-28-2000 at 20:00 (EST)
When I hit the back key after invoking the uShopOrderButton just html source is displayed and not the HTML.. This seems to happen when I hit the back key all the time!! I've got everything else working but this.. After I fix this I can convince management that this is the way to go and by the product..
thanks!!
Chris
TABLE OF CONTENTS
                                         5. RE: got it to work but why..
                                        Author Bill Weiner on 12-29-2000 at 06:06 (EST)
Which "back key" are you using? The browser's "Back" button or the "Back" button that automatically get's put on the first "Review Cart" page that is displayed when your press the uShopOrderButton? For that specific "Review Cart" page, you must use the "Back" button that is located on that page (as opposed to the browser's "Back" button). If that IS the "Back" button that you are using... but you are still seeing the HTML source when you press it, then give me the URL and I will take a look at it.
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.