ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Reward Points
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Reward Points

 Post Reply Post Reply
Author
Message
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Topic: Reward Points
    Posted: 04-August-2008 at 9:00pm
Hi All,


I want to change the color of the Reward Points verbiage shown on the product details page. I think it would be better seen in some contrasting color rather than the same as the rest of the description. However, I can't seem to find which asp file contains this information.Confused

Any help is appreciated.

Alan
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 4:52am
Hi Alan,
    The file is viewPrdCode.asp - but an easier solution which involves no special ongoing maintenance is to add the HTML tags to viewprd_50 & viewprd_51 in includes/languages.asp.
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 3:07pm
Hi Hamish,

Thanks for the reply. I prefer the HTML tags in languages.asp for the same reason you mention however I was not aware you could insert tags there. I put in a span tag <span style="color:red"> both before the " and also inside the " on both lines and when I tried to get into control panel I got a script error for those lines for each instance. Do you know if I need to do this some other way?

Thanks,
Alan
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 3:27pm
Hi,
  Try changing each of the " marks you want embedded to a pair of double quotes.
<span style=""color:red"">
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 3:44pm
Hi Alan, just to clarify - put the <span style=""color:red""> INSIDE the existing quote marks.

The problem you were having was because the single " character was ending the variable. Doubling them up causes the variable to be continued with a single " embedded in the string.


Edited by Hamish - 05-August-2008 at 3:44pm
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 4:03pm
Hamish, That worked like a charm. It sure is great to have so many smart people helping out at this forum.

Maybe you know where the number of points displayed between the text I just changed comes from. I'd like to change the color of that to match. It says "You will earn XX points on this product. I want the XX points to be in red as well.

Thanks so much, I've been trying to do this for 2 days now.

Alan
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 6:06pm
Hi Alan,
  Your 99% of the the way there. Just remove :-
-  </SPAN>  from viewprd_50
- <span style=""color:red"">  from viewprd_51 and that will allow the <span> to span the entire phrase (excuse the pun Smile)
Back to Top
macleather View Drop Down
Newbie
Newbie


Joined: 23-June-2008
Location: Los Angeles
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote macleather Quote  Post ReplyReply Direct Link To This Post Posted: 05-August-2008 at 6:30pm
I feel soooo stupid. I know that... Obviously my brain didn't know it today. Thanks for taking the time to "see" my problem. I guess as they say, two heads are better than oneThumbs%20Up and thank goodness your's is working.

Much Appreciated,

Alan
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.516 seconds.