adding Cart and Recently viewed to other pages |
Post Reply |
Author | |
worldofrugs
Senior Member Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 05-May-2008 at 4:31pm |
A challenge:
I have a lot of html pages in my root... In the header for the shopping cart (in the shop/pc/ folder) I have included the small shopping cart and the recently viewed items.. I like to bring those over to the html files in the root, so I can display them in my old pages. Having the header.asp and footer.asp included is not an option for me, as those pages look totally different.. I understand they cannot remain an html file, so it's ok to change these to an asp file... Does anyone have any idea how to include them in the root? I do not want to have the shop in the root (mentioned this, in case you might want to refer to the document "Moving the homepage to the root.." I have tried to combine the header+footer into 1 page, filter out all the things that are not needed and copied the Smallshoppingcart.asp and the SmallRecentProducts.asp to the root as I got an error on those... Those errors are gone, but now I get an error: Microsoft VBScript runtime error '800a000d' Type mismatch: 'money' /SmallShoppingCart.asp, line 97 I tried looking into the code, but cannot figure out what goes wrong.. Anyone any ideas? Edited by worldofrugs - 05-May-2008 at 4:34pm |
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
Hi WorldofRugs
A clue - perhaps :-) ! money() is a function in includes/currencyformatinc.asp - Lots of pages include this :- <!--#include file="../includes/currencyformatinc.asp"--> HTH Hamish |
|
worldofrugs
Senior Member Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Thanks Hamish,
I had it already figured out, but totally forgot to mention it in this post.. Sorry..
However this post might help others?
|
|
Hamish
Admin Group Joined: 12-October-2006 Location: United Kingdom Status: Offline Points: 56 |
Post Options
Thanks(0)
|
No problem
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |