Added support for WPML in the get_product_by_sku function