Hello Dr Byte,
That still didn't work which surprised me so i looked hard at the code and realized i have the if/else backwards. So i switched that and changed the coding back to $sku = $products_model; and it worked perfectly. Too many hours for such a stupid mistake on my part. Thanks so much for your help. You are great.
Josh



