
Originally Posted by
DarkAngel
try leaving out the very last }
I may have added in an extra one...and make sure you do not remove anything other than what it needs removed
<span class="smallText">[' . $review->fields['products_model'] . ']</span>'; < --- this is the culprit
<span class="smallText">[' . $review->fields']</span>'; <---should look like this so remove the text in red
Thanks! Since basically, we are removing the product_model I tried this which works:
PHP Code:
// if (zen_not_null($review->fields['products_model'])) {
// $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
// } else {
$products_name = $review->fields['products_name'];
// }
The section of the code above is simply saying, if product_model exist use it and if not, use product name. Since the product_model on the review page is causing issue right now, I basically changed it to just show product name without the product model. It solves the problem I am currently experiencing but hope it didn't create something else but I am not seeing any error in the log at the moment.
Thank you so much for your assistance. You're a GOODAngel