Print Page | Close Window

changing the language for sale items

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=4172
Printed Date: 10-March-2025 at 6:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: changing the language for sale items
Posted By: lorid
Subject: changing the language for sale items
Date Posted: 26-November-2010 at 3:30pm
Does anyone know exactly where the language for sale pricing is located within the languages.asp page?
I am looking to change the language that shows when you put something on sale, so when you check "show savings"
usually it looks like this:

$100

Price: $150

You Save: $50You Save: $50


I made a mistake and edited it at one point, and now I cant remember where to find it on that page.

I took out the "you save", and now everyone thinks that the amount in red is the price, not the savings.
so either I have to add back in the "you save" language, or completely remove the savings information in red (which I have not been able to understand how to do) so it's not confusing.





Replies:
Posted By: lorid
Date Posted: 26-November-2010 at 3:44pm
Mistake above , this is how it normally looks:

$100

Price: $150 (has a strike through it)

you save; $50


and I want to change it to:

sale; $100
$150 (with a strike through it)


Posted By: Hamish
Date Posted: 27-November-2010 at 6:11am
Hi Lorid,
   There are two places this text is found in languages.asp - look for:-
 
dictLanguage.Add "english_prdD1_2", "You Save: "  
dictLanguage.Add "english_viewPrd_4",  "You Save: "  



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

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



Posted By: lorid
Date Posted: 27-November-2010 at 3:27pm
Thank you SO much!
Any idea on how to change the language so that the sale stuff reads like this? where the sale price is in red right above the regular price which is crossed out?

sale $100 (in red)
$150 (with a strike through it)


Posted By: Greg Dinger
Date Posted: 27-November-2010 at 3:52pm
it's not likely a change you will make to the languages.asp file - but instead you need to alter the CSS characteristics. Find the associated style names in pcStorefront.css and edit their respective settings.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: avalight
Date Posted: 02-February-2013 at 9:05pm
What if I want to eliminate the strike through?  Just show the List Price.?

Thanks
Curt



-------------
Curt


Posted By: Brett
Date Posted: 03-February-2013 at 9:22pm
Maybe a bit off topic, but I'd recommend downloading the entire source code of your site. That way you can "find within entire current site" or something similar to search for whatever terms you're looking for. Saves so much time as opposed to just searching through random files until you find what you're after.


Posted By: avalight
Date Posted: 03-February-2013 at 10:04pm
Good suggestion, I was able to find the CSS code for this issue in the files, even though I couldn't find it using FireBug.

-------------
Curt


Posted By: Guests
Date Posted: 04-February-2013 at 8:31pm
Originally posted by avalight avalight wrote:

Good suggestion, I was able to find the CSS code for this issue in the files, even though I couldn't find it using FireBug.

Hi Curt,

Have you tried Google Chrome's Developer Tools? It's Inspect Element tool is tremendously helpful for working CSS. It'll tell you were the rules are coming from, what's trumping what, highlight what you're focused on, and you even event make changes in the tool to see the effect. 

I highly recommend it.


Posted By: avalight
Date Posted: 04-February-2013 at 8:34pm
Thanks Sean
I have been using the firefox one, call Firebug.  I have tried the Chrome version, but didn't like it as well as the Firebug.  But maybe I'm just tired of learning new things.  It seems like every other day I am having a new program/app/website/etc. to figure out.

-------------
Curt


Posted By: Guests
Date Posted: 04-February-2013 at 8:52pm
That, or having to update one, right? I hear you!

I find Firebug awesome for working with JavaScript, and Chrome's dev tools excellent for working though head-scratchingly maddening CSS issues (as well as the quick "where's it coming from" check).



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