My Sellerdeck Account | Free Trial

Sellerdeck Community & Knowledge Base

Go Back   Sellerdeck Community > Knowledge Base > Tutorials > Design

Search powered by Google
Register FAQ Members List Search Today's Posts Mark Forums Read

Thread Tools Search this Thread Useful Thread? Display Modes
Old 20-Aug-2014, 02:17 PM
G.W.Green G.W.Green is online now
Join Date: Sep 2005
Full Name: G.W.Green
Posts: 485
Thanks: 0
Thanked 71 Times in 43 Posts
How do you get pages to display a sale price with the original price still present?

The easiest way to do this is to use the 'Cost Price' field on the 'General' pane of the product to the far right of the normal 'Price' field.

What you will need to do is add the sale price to the normal 'Price' field and add the correct price to the 'Cost Price' field.

You will then need to add some code to the product layout above the price in the design for this to work. Add the following code: -

<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductCostPriceFormatted%22%20%2f%3e%20%21%3d%20%22%a30%2e00%22" >
Normal Price: <actinic:variable name="ProductCostPriceFormatted" />

Into the product layout.

Go to the 'Design' tab and then go to 'Windown | Restore Split View Layout' and then in the top viewing pane click on the description of the product. This will automatically display the 'ProductDescription' variable and should look like this or similar: -

<p class="product-text">

add a new line below the </p> and add the new code above then click the button 'Apply changes'.

Once you have done this upload the site for the changes to take place.

Now what will happen is that every product with something other than 0.00 entered into the 'Cost Price' field will display: -

Normal Price: <price of product>

(with the price replacing the text <price of product>) just below the description field.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off

All times are GMT. The time now is 04:22 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.