wojodesign/simplecart-js — Issue #178: Error when changing currency
Author: bodudek
Created: 2011-12-11 00:10:12+00:00
State: open

Hi

I've just noticed an error, which was actually easy to correct.
The following line in the code should be changed in order to make it work with other currencies than USD

BEFORE
form.appendChild(me.createHiddenElement("currency_code", "me.currency"));

AFTER
form.appendChild(me.createHiddenElement("currency_code", me.currency));

Cheers
Bo Dudek
Webdeveloper
Bulgaria