Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
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 January 15th, 2013, 04:16 PM
shoespecialists shoespecialists is offline
 
Join Date: May 2012
Posts: 100
Default Showing Price Twice

Store ID: shoespecialists
Website URL: http://mensleathershoesonline.com
URL to page in question: How to remove one of the prices

I seem to be showing the price twice can anyone please advise me how to remove this extra price http://mensleathershoesonline.com/

Thanks
Mark
  #2  
Old January 15th, 2013, 04:19 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi Mark,

You have this:
HTML Code:
    <div class="prc">[product.currency mode='sign'][product.price]</div>
    
    <?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 } ?>
It should be 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
  #3  
Old January 16th, 2013, 03:44 AM
shoespecialists shoespecialists is offline
 
Join Date: May 2012
Posts: 100
Default

Many thanks all fixed
 


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
Sale Price not showing kwebdesi Problems 3 December 18th, 2012 06:42 PM
Price is Not Showing at Sale Price Product List emiclat Problems 1 October 25th, 2012 10:13 PM
Sale price not showing chloegeorge Questions 3 February 2nd, 2011 10:25 AM


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


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