Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-04-2004 19:08:40

darnell
Member
Registered: 09-16-2003
Posts: 123

Regular Price Crossed Out When Sale Price Shown?

For some items I use a sale price.  The original regular price is shown just above it.  I was wondering if there was a hack/mod to show the regular price with a line striked through it?  So only the sale price is shown without a line over it?  That way it is easier to tell that the sale price is the price being charged.   And the regular price can still be seen, although it would be crossed out.

Offline

 

#2 03-05-2004 11:29:09

nabz
Member
From: GB
Registered: 02-24-2004
Posts: 114
Website

Re: Regular Price Crossed Out When Sale Price Shown?

this is a great idea :!
hope some1 can figure it out otherwise it will take me ages to do :p

nabz

Offline

 

#3 03-05-2004 13:28:44

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Regular Price Crossed Out When Sale Price Shown?

In your ste_catprod_salprc.txt file do this:

Code:

<strike>
(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</strike>

or if you use CSS:

Code:

<span style="text-decoration: line-through;">(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</span>

Vinh
VQC Designs, LLC


Offline

 

#4 03-05-2004 14:37:08

nabz
Member
From: GB
Registered: 02-24-2004
Posts: 114
Website

Re: Regular Price Crossed Out When Sale Price Shown?

this works great...
great job superhero2000 smile

thanks,
nabz

Offline

 

#5 03-05-2004 17:28:09

darnell
Member
Registered: 09-16-2003
Posts: 123

Re: Regular Price Crossed Out When Sale Price Shown?

Yea thank you superhero2000!

Offline

 

#6 03-05-2004 19:37:12

darnell
Member
Registered: 09-16-2003
Posts: 123

Re: Regular Price Crossed Out When Sale Price Shown?

I sure hope this becomes part of v6  wink 

Offline

 

#7 04-02-2004 08:08:17

nrg
Member
Registered: 04-02-2004
Posts: 1

Re: Regular Price Crossed Out When Sale Price Shown?

anyone have a mod for changing the color of the sale price font to say red and increasing font size?

thanks!

Offline

 

#8 04-02-2004 09:55:50

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Regular Price Crossed Out When Sale Price Shown?

It would be done in the same element - just adding a font tag.


Nick Hendler

Offline

 

#9 04-13-2004 03:32:24

GreenbarnWeb
Banned
Registered: 09-23-2003
Posts: 2743
Website

Re: Regular Price Crossed Out When Sale Price Shown?

Hi

The file ste_catprod_salprc.txt is in directory ccp51/data/elements

Offline

 

#10 04-18-2004 10:15:48

zinger
Member
Registered: 03-29-2004
Posts: 45

Re: Regular Price Crossed Out When Sale Price Shown?

The file ste_catprod_salprc.txt is in directory ccp51/data/elements

Hi,
Can anybody tell me how to access this file.
Thanks.
Mark.

Offline

 

#11 04-18-2004 12:49:13

joeohlandt
Member
From: Morristown, New Jersey
Registered: 08-10-2003
Posts: 224
Website

Re: Regular Price Crossed Out When Sale Price Shown?

zinger,04/18/2004 10:15:48 AM wrote:

Hi,
Can anybody tell me how to access this file.
Thanks.
Mark.

You should be able to access this file with your FTP program.



Joe Ohlandt
The Temple Publishers

Offline

 

#12 06-20-2004 16:29:23

Stephen
Member
Registered: 03-27-2004
Posts: 144

Re: Regular Price Crossed Out When Sale Price Shown?

I have tried this mod but it isn't working. The contents of my
ste_catprod_salprc.txt is as follows

<BR>Regularly: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)<BR>
On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)<BR><strike>
(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</strike>

with the mod at the end. Is this correct please ?

Offline

 

#13 06-20-2004 21:18:49

darnell
Member
Registered: 09-16-2003
Posts: 123

Re: Regular Price Crossed Out When Sale Price Shown?

Stephen, you put the strike statements in the wrong place.

Your modified file should look like the following:

Code:

<BR>Regularly: <strike>(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</strike><BR>
On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)

You want the strike statements to be around the regular price, since that is what you want a line (strike) going through.

Offline

 

#14 06-21-2004 13:43:59

Stephen
Member
Registered: 03-27-2004
Posts: 144

Re: Regular Price Crossed Out When Sale Price Shown?

Darnell,

Thank you very much for the reply. I have done as you have suggested but still not joy.

I do have the txt not the CSV file. I have checked the spaces and exactly copied and pasted as per your post. I have configured a product for the sale cost but no strike through is seen in any of the shop pages.

Grateful for any ideas. The problem is obviously my end - and I will keep trying to track it down. Thanks once again for the post,

Stephen

Offline

 

#15 07-09-2004 01:53:27

Import Up
Member
Registered: 04-18-2004
Posts: 19

Re: Regular Price Crossed Out When Sale Price Shown?

I just did this mod.  Works perfectly!  By any chance, is there a syntax for a diagonal slash through the price instead of a horizontal slash?

Offline

 

#16 07-09-2004 07:15:07

superhero2000
Member
From: Harrisburg, PA
Registered: 03-26-2003
Posts: 1025
Website

Re: Regular Price Crossed Out When Sale Price Shown?

there is no such code for that.


Vinh
VQC Designs, LLC


Offline

 

#17 07-09-2004 08:51:26

Ed_H
Member
From: Smashachusetts
Registered: 09-12-2003
Posts: 397
Website

Re: Regular Price Crossed Out When Sale Price Shown?

You'd have to get a little creative with CSS and an image editor to accomplish this.  You'd need to create the slash image to use as a background and modify ste_catprod_salprc.txt as follows:

Code:

<BR>Regularly: <span style="background-image: url(/image_path/slash.gif); background-repeat: no-repeat;">(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</span><BR>
On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)

The problem with a slash image is that if your product regular prices cover a wide range the background image won't fit 1.00 the same as 1,000.00

Offline

 

#18 10-12-2004 09:27:17

Chauncey
Member
Registered: 02-28-2004
Posts: 34
Website

Re: Regular Price Crossed Out When Sale Price Shown?

great mod. But it placed a strike through on ALL of my products, even the ones NOT on sale?

Help!

Thanks

Offline

 

#19 10-12-2004 09:40:45

Chauncey
Member
Registered: 02-28-2004
Posts: 34
Website

Re: Regular Price Crossed Out When Sale Price Shown?

I figured it out, thanks.

Offline

 

#20 06-26-2005 15:59:44

Todd
Member
From: Kitty Hawk, NC
Registered: 04-01-2003
Posts: 553
Website

Re: Regular Price Crossed Out When Sale Price Shown?

To further emphasize the sale price you might use this code in the Category Product Sale Price Display (ste_catprod_salprc) element.

Original Code



<BR>Regularly: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)
<BR>
On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)</font>

New Code - Sale Price is bolded and in red.



<BR>Regularly: <span style="text-decoration: line-through;">(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</span>
<BR>
<font color="#FF0000"><strong>On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)</strong></font>

New sale price display should look something like this.

Regularly: <s>$79.99</s>


Stands out a bit more.


there's more than one way to...



Offline

 

#21 07-09-2005 15:29:46

gedsta
Member
Registered: 05-06-2005
Posts: 147
Website

Re: Regular Price Crossed Out When Sale Price Shown?

Todd,06/26/2005 08:59:44 PM wrote:

To further emphasize the sale price you might use this code in the Category Product Sale Price Display (ste_catprod_salprc) element.

Original Code



<BR>Regularly: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)
<BR>
On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)</font>

New Code - Sale Price is bolded and in red.



<BR>Regularly: <span style="text-decoration: line-through;">(CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_regprice(/CGIVAR)</span>
<BR>
<font color="#FF0000"><strong>On Sale: (CGIVAR)currency_symbol(/CGIVAR)(CGIVAR)product_saleprice(/CGIVAR)</strong></font>

New sale price display should look something like this.

Regularly: <s>$79.99</s>


Stands out a bit more.

if in the uk and you charge vat the name of the file you need to change is

ste_catprod_salprc_ivat.txt

works fine with the above code on our website

nice mod - thanks

Offline

 

#22 07-10-2005 10:11:25

keithw
Member
Registered: 04-20-2004
Posts: 19

Re: Regular Price Crossed Out When Sale Price Shown?

Hi

I have tried the mod with the bold red strick out but it did not work. I changed the code in Manage Site Elements / Update Site Element / Category Product Sale Price Display. Is the place to do this change?

Anyone help?

Offline

 

#23 07-10-2005 11:43:54

gedsta
Member
Registered: 05-06-2005
Posts: 147
Website

Re: Regular Price Crossed Out When Sale Price Shown?

hi


You need to edit the file ste_catprod_salprc.txt file by using an ftp program

it is normally found in a similar path to this on your website

/ccp51/data/elements/nameoffileyouneedtouse


however if you are in the uk and charge VAT you need to change the

ste_catprod_salprc_ivat.txt

and NOT

ste_catprod_salprc.txt  which is in the same folder

post here if you need further clarification


Ged

Offline

 

#24 07-10-2005 17:50:11

keithw
Member
Registered: 04-20-2004
Posts: 19

Re: Regular Price Crossed Out When Sale Price Shown?

Hi

What is a good ftp program to use for this?


Offline

 

#25 07-11-2005 11:28:31

Todd
Member
From: Kitty Hawk, NC
Registered: 04-01-2003
Posts: 553
Website

Re: Regular Price Crossed Out When Sale Price Shown?

If your on Windows you can use

or if running SFTP I highly recommend .

If your on a Mac.

Try .


there's more than one way to...



Offline

 

Board footer