Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to place text in the price field?


juninhoaraujo

Recommended Posts

Posted
I want to leave a text in the place of some product that not qualified

 

The easiest way I can think of doing it is to modify the Hide Price $00000 contirbution.

 

That is if you want all the prices to be replaced by the same text. Put in a line

 

define("CONSTANT", "some text here.");

 

Then at the point you want the text.... right where the price is removed... insert the line

 

echo CONSTANT

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Posted

For that to work you must have all the products you want to put text in the price column set to price 0.00

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Archived

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

×
×
  • Create New...