Jump to content

Obtener Valor Dolar Para Conversion


mmcfly

Recommended Posts

Puedes obtenerlo accediendo al objeto Currency, donde 1 seria el id del dolar por ejemplo

$currency = new Currency(1);

Y añadirlo en una variable asi por ejemplo

 $this->context->smarty->assign('currency_rate', $currency->conversion_rate);
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...