Christopher -- your code worked, but the upgraded woocommerce was so horrible (crashed my site), that I revered back to an older version of woocomerce.
Long story short, the old version doesn't sync well with upgraded versions of X Theme. Linked products (upsells) no longer work.
Do you have code that will show linked products? (upsells -- on the same page as the product).