How to add Images to the Storefront with ASP Code. |
Post Reply |
Author | |
BlackReefDesigns
Newbie Joined: 28-May-2008 Location: San Diego, CA Status: Offline Points: 8 |
Post Options
Thanks(0)
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:
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 Edited by BlackReefDesigns - 31-May-2008 at 7:07am |
|
Joe S.
BlackReef.net |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
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
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
You can find premade buttons here:
|
|
BlackReefDesigns
Newbie Joined: 28-May-2008 Location: San Diego, CA Status: Offline Points: 8 |
Post Options
Thanks(0)
|
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 Edited by BlackReefDesigns - 31-May-2008 at 8:23am |
|
Joe S.
BlackReef.net |
|
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
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.
|
|
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 |