Jump to content

Sale Price Problem


Guest

Recommended Posts

Hi,

Having recently installed V3 I have a problem with the Sale Price option.

If I have an item for sale at £30 and reduce the price to £25, in the Sale Items box on the shop front it will show the item with "save £25" instead of "save £5"

Any ideas??

Many Thanks

Nogbor

Link to comment
Share on other sites

Guest martino

Hi,

I have found a partial solution to this problem.

In the file /upload/includes/boxes/saleItems.inc.php on line 57, if you change the following:

$salePrice = salePrice($saleItems[$i]['price'], $saleItems[$i]['sale_price']);

to

$salePrice = $saleItems[$i]['price']-$saleItems[$i]['sale_price'];

then the corrcet saving will be shown.

Unfortunately this only works if you select the "Individual Sale Prices per item" option in your admin section.

I'm afraid my PHP skills aren't good enough to figure the rest out.

Hope this helps

Martin

Link to comment
Share on other sites

Guest chrisdonne

then the corrcet saving will be shown.

Unfortunately this only works if you select the "Individual Sale Prices per item" option in your admin section.

Hope this helps

Martin

Martin,

I have just tried your "Fix" and it appears to work with both percentage off and individual price settings...

The only thing it doesn't do is to display the word "Save"

Item price of £8.00 displays as £6.40 [20% off] in red and a fixed sale price of £6.00 also dislays in red, but in both cases no mention of "Save"

My PHP skills are zero so I can only report what I found, some one else will have to work out where the "Saving" went to.

Hope this is of use.

Chris Donne

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...