Hi Xavier,
I am trying to add a custom field to the product listing. I need the customer to choose a SIM type, one of two options.
I have tried the suggested code to add the custom field to the product listing view, but no success. This is what I have added to product / listing_img_title.php
<?php if(isset($this->row->sim_type) && !empty($this->row->sim_type)){
echo $this->row->sim_type;
} ?>
The custom field type is Item, and I have checked that the right category is assigned - it does appear in the product view. What else can I look at to accomplish this?
//UPDATE
I have also done a var_dump on the listing page - I can see the sim_type variable and value, but it is not displaying.
//UPDATE
I have now moved the echo statement to lower down in the view file, and have managed to display some data. It does however only display the one option of the custom field as a string and not as a radio button option. Please could you assist me in reference to how to display the radio button or drop down list to have both options