Product Options - Separate Block

I am trying to create a separate block containing the product options, i have created the block and included the product options code in it.


{hook name="products:product_option_content"}
{if $disable_ids}
{assign var="_disable_ids" value="`$disable_ids``$obj_id`"}
{assign var="_disable_ids" value=""}
{include file="views/products/components/product_options.tpl" id=$obj_id product_options=$product.product_options name="product_data" capture_options_vs_qty=$capture_options_vs_qty disable_ids=$_disable_ids}


The product options show up but when you click the option, cs-cart throws an error because some of the variables are missing, in the new block the first 2 variables are missing
[color=#000000][font=Consolas,]```php fn_change_options('', '', '2'); ```[/font][/color]

[color=#000000][font=Consolas,]if should be [/font][/color][color=#000000][font=Consolas,]```php fn_change_options('5', '5', '2'); ```[/font][/color]

[color=#000000][font=Consolas,]anyone know how i could fix this?[/font][/color]