1) Powder Coating: if product in category=rb_panels1:
select powder from rb_details where rb_group=rb_panels1
2) Shipping: if product in category=rb_panels1:
select shipping from rb_details where rb_group=rb_panels1
Check product for having these categories. If found, use the above lookup from rb_details mySql table:
$details=[
'rb_panels1',
'rb_panels2',
'rb_panels3',
'rb_sherpa',
'rb_racks',
'rb_ladder',
'rb_dual',
'rb_small1',
'rb_small2',
'rb_skid'
];
If no lookup data, display: MISSING
image for Shipping:
https://roxrunner.com/images/shipping.jpg
image for Powder Coating:
https://roxrunner.com/images/powder.jpg