Fix syncing and make variable_product_sync static for admin use. Closes #3450