Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I just installed the "Call for Pricing / Negotiable" and now on my products_info.php pages no prices show up :-(

 

The items with a price of 999999 show up as "Call for Price" which is fine, but the items which are priced at like $10 don't display any price at all.. any ideas what's wrong?

 

my site is at www.timsplumbing.com

 

here is my code from product_info.php

 

<td class="prodContents" align="right" valign="top"><?php if ($product_info['products_price'] == 999999){ echo '<a href=contact_us.php>' . TEXT_CALL_FOR_PRICE . '</a>'; }else{ echo $products_price;} ?>
</td>

 

any help would be greatly appreciated..

 

jeff

Posted

What if you use $product_info['products_price'] instead of $products_price? :

<td class="prodContents" align="right" valign="top"><?php if ($product_info['products_price'] == 999999){ echo '<a href=contact_us.php>' . TEXT_CALL_FOR_PRICE . '</a>'; }else{ echo $product_info['products_price'];} ?>
</td>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...