Print Page | Close Window

adding Cart and Recently viewed to other pages

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1590
Printed Date: 02-July-2024 at 9:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: adding Cart and Recently viewed to other pages
Posted By: worldofrugs
Subject: adding Cart and Recently viewed to other pages
Date 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?




Replies:
Posted By: Hamish
Date Posted: 02-June-2008 at 5:52pm
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


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: worldofrugs
Date Posted: 03-June-2008 at 9:57am
Thanks Hamish,
I had it already figured out, but totally forgot to mention it in this post.. Sorry..Embarrassed
 
However this post might help others?
 


Posted By: Hamish
Date Posted: 03-June-2008 at 10:19am
No problem  Smile

-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net