Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Help with Pricing Display

    You have:

    Code:
    <td class="cartTotalDisplay">
    <?php
    if ($product['productsPrice'] > 0){
     echo $product['productsPrice']; 
    }else	{
      echo TEXT_QUOTE; 
    }
    ?>
     </td>
    What I believe (but haven't tried it) is that you want:

    Code:
    <td class="cartTotalDisplay">
    <?php
    
    $x = $product['productsPrice'];
    $x = substr($x,1);
    $x = str_replace(",","",$x);
    
    if ($x > 0){
     echo $product['productsPrice']; 
    }else	{
      echo TEXT_QUOTE; 
    }
    ?>
     </td>
    Actually, I just put that onto my test cart and it works fine
    Last edited by niccol; 30 Sep 2009 at 06:29 PM.

  2. #12
    Join Date
    Oct 2007
    Posts
    105
    Plugin Contributions
    0

    Default Re: Help with Pricing Display

    Nick~

    You are the best!!!

    It works perfect!!!

    You are way better at this than I am but if you ever need a second set of eyes- just PM me!!

    Nancy

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Help with Wholesale Pricing
    By dmagic in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 Aug 2011, 06:28 AM
  2. Display pricing with 2 and 3 decimals
    By Tim M in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Oct 2010, 10:16 PM
  3. Help!! Need to display attribute for one product using two different pricing options
    By a1000w in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 12 Aug 2009, 06:09 PM
  4. Help with Creating Product Type with certain pricing scenario
    By spoma in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 16 Jul 2008, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg