PDA

View Full Version : Shopping_cart.php



dsimes
08-27-2005, 09:50 PM
I have a site I am working on that has several items that I use a size attribute to determine price. This is an Oriental rug store and we have several different collections and the sizes differ for each collection.

What I have done is set the product price to zero and use an attribute to set prices. I am looking for a way to set the price display to blank if the product price is set to $0.00.

http://laminateking.com is the address and click on rugs category to see sample of what I am doing.

I am kinda new to php so I am hoping to be able to get some suggestions here...

Sander
09-08-2005, 04:13 AM
if ($price != 0.00) {
// show the price
}

place something like that in your code?
( != means IS NOT)