Print Page | Close Window

How to add Images to the Storefront with ASP Code.

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Getting Started
Forum Description: Installing, activating, and getting started with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=1679
Printed Date: 26-June-2024 at 2:36am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to add Images to the Storefront with ASP Code.
Posted By: BlackReefDesigns
Subject: How to add Images to the Storefront with ASP Code.
Date Posted: 31-May-2008 at 7:04am
Just wondering how I can replace the Text, like "Featured Products" with a custom image file?
 
I did a search and it looks like you can replace the Text (ie; "Featured Products this Month" with an actual image file.  Here are the directions I followed:
 
http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=81 - http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=81
 
I tried plugging in the image to the Languages.asp file like it says, and I get this error message when I try to access the website:
 
 

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/store/includes/languages.asp, line 384

dictLanguage.Add "english_mainIndex_11", "<img src="http://www.mywebsite.com/web/featuredbar.jpg">
----------------------------------------------------^

Thanks
J


-------------
Joe S.
BlackReef.net



Replies:
Posted By: netprofits
Date Posted: 31-May-2008 at 7:16am
You can't use the quote marks aroud the URL inside of other quote marks defining ASP text. Change the quotes around the URL to apostrophe's (single quotes) and make sure you have a quote at the very end of the line after the >.

-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: netprofits
Date Posted: 31-May-2008 at 7:19am
You can find premade buttons here:
http://www.earlyimpact.com/productcart/support/developers.asp#buttons - http://www.earlyimpact.com/productcart/support/developers.asp#buttons


-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site


Posted By: BlackReefDesigns
Date Posted: 31-May-2008 at 8:23am
netprofits -
 
I got the code fixed, thanks alot.  Im really learning how flexible this software can be!
 
About the buttons, I think the ones in the link you sent are only for v2.76.   I have the most recent version


-------------
Joe S.
BlackReef.net


Posted By: netprofits
Date Posted: 31-May-2008 at 9:07am
For the buttons, you can look in the productcart/pc/images/sample folder. There are two PNG files: pc_buttons_default.png and pc_buttons_rounded.png which can be opened in an image editing program like Marcomedia Fireworks and modified however you want. Or use one of the PNG files from the previous link and add the buttons that you need for 3.x.

-------------
NetProfits Internet Consulting

Certified ProductCart Developer

http://www.nicwebdesign.com" rel="nofollow - Our Site



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