Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Problems
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 25th, 2012, 10:11 PM
emiclat emiclat is offline
 
Join Date: Oct 2012
Posts: 9
Default Price is Not Showing at Sale Price Product List

Store ID: 170gz5qkmcw7fn34
Website URL:
URL to page in question:


Hi,
Need help on showing the Product List - Sale Price.
The Was and Now Price are not showing.
Attached is the screenshot and the script i used. CAn you pls advice.

Thanks
Attached Thumbnails
Click image for larger version

Name:	25-10-2012 11-03-30 PM.jpg
Views:	142
Size:	74.0 KB
ID:	514  
Attached Files
File Type: txt SalePrice-ProductList.txt (1.2 KB, 162 views)
  #2  
Old October 25th, 2012, 10:13 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

Those products probably aren't on sale. If you want the regular price to display when the sale price doesn't exist, you should use code like this:

HTML Code:
<?php if ($product->saleprice > 0 &&  $product->saleprice < $product->price) { ?>
  <div class="prc">
    <small>
      Was: <span style="text-decoration: line-through;">[product.currency mode='sign'][product.price]</span>
      Now: <span style="font-weight: bold; color:red;">[product.currency mode='sign'][product.saleprice]</span>
    </small>
  </div>
<?php } else { ?>
  <div class="prc">
    <small>
      [product.currency mode='sign'][product.price]
    </small>
  </div>    
<?php } ?>
Eric
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to show reg price and sale price on search results? brightsway Questions 2 June 28th, 2012 12:58 PM
Products with no price when set to Sale Price (low to High) josemarr77 Problems 2 December 15th, 2011 10:31 AM
widget showing product list of a specific brand or price range meinehandtasche Questions 1 September 27th, 2011 05:27 AM
Sale Price Not Showing Correctly laura90059 Problems 1 March 12th, 2011 04:36 PM
Sale price not showing chloegeorge Questions 3 February 2nd, 2011 10:25 AM


All times are GMT -5. The time now is 12:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.