Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding text before price.


realpingo

Recommended Posts

I want to display TWO different prices.

 

Regular Store Prices and My Price.

I do this by using the Specials function.

 

But I want to display some TEXT before each price quote.

 

So where it says $40:00 (overlined in grey) and then $30.00 (in red) today, I want it to say:

 

"Store Price: $40.00 Your Price: $30.00"

 

How do I add these texts "Store price:" and "Your price:"?

Can I just add a simple command in the product_info.php file?

 

Thanks,

 

/ Pingo

Link to comment
Share on other sites

I want to display TWO different prices.

 

Regular Store Prices and My Price.

I do this by using the Specials function.

 

But I want to display some TEXT before each price quote.

 

So where it says? $40:00 (overlined in grey) and then $30.00 (in red) today, I want it to say:

 

"Store Price: $40.00 Your Price: $30.00"

 

How do I add these texts "Store price:" and "Your price:"?

Can I just add a simple command in the product_info.php file?

 

Don't have any specials in my store but I know where base price shows up. Look for this in the product_info

<?php echo $products_price;

 

I added before it:

 

<td class="pageHeading" align="right" valign="top">OUR PRICE: <?php echo $products_price; ?>  

 

Very simple.

Link to comment
Share on other sites

Don't have any specials in my store but I know where base price shows up. Look for this in the product_info

(..)

 

Thanks!

 

However, I do know *now* where the specials show up. :-)

 

What happened was with that code I got this:

 

"OUR PRICE: $40 $30"

(with $40 over-lined).

 

:-)

 

What I WANT is this:

 

"STORE PRICE: $40 OUR PRICE:$30"

 

:-/

 

Any ideas..? Someone..?

 

/ Pingo

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...