Hi Guys, Im a beginner with PHP. And I’m trying to do the following. Everytime the value ‘Junior’ for ‘gender’ is picked up I want Junior to change to Male. I was trying to use the If Else statement but became unstuck. Can anyone help please?
$product_data[‘gender’] = $product->getAttributeText(‘gender’);