Try this
if ($description[0] != "" && $seccond_value[0] != "") {
// Combine two values and print them
} else {
// Value is not set
}
Sudar
2009-08-10 09:34:35
Try this
if ($description[0] != "" && $seccond_value[0] != "") {
// Combine two values and print them
} else {
// Value is not set
}
The product description and price could be in the same custom field value. Just split it up and categorise it.
Check Scenario#2 in this post to find out how: http://www.graphicbeacon.com/how-to-split-and-categorize-wordpress-custom-field-values/