Adding new currency
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Adding new currency
Hello everybody! Thank you all for help. I have next problem: how I can add new currency for example Ukrainian currency? It is not exists default.
Re: Adding new currency
When I tried to add new currency in e[pert mode I see
Executing statement "
INSERT INTO "mshop_locale_currency" (
"label", "status", "siteid", "mtime", "editor", "id", "ctime"
) VALUES(
'Ukrainian hryvnia', 1, 1, '2017-01-09 10:44:07', 'mvnaz@yandex.ru', 'UAH', '2017-01-09 10:44:07'
)
" failed: An exception occurred while executing '
INSERT INTO "mshop_locale_currency" (
"label", "status", "siteid", "mtime", "editor", "id", "ctime"
) VALUES(
'Ukrainian hryvnia', 1, 1, '2017-01-09 10:44:07', 'mvnaz@yandex.ru', 'UAH', '2017-01-09 10:44:07'
)
':
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'UAH' for key 'PRIMARY'
Can somebody help me ?
Executing statement "
INSERT INTO "mshop_locale_currency" (
"label", "status", "siteid", "mtime", "editor", "id", "ctime"
) VALUES(
'Ukrainian hryvnia', 1, 1, '2017-01-09 10:44:07', 'mvnaz@yandex.ru', 'UAH', '2017-01-09 10:44:07'
)
" failed: An exception occurred while executing '
INSERT INTO "mshop_locale_currency" (
"label", "status", "siteid", "mtime", "editor", "id", "ctime"
) VALUES(
'Ukrainian hryvnia', 1, 1, '2017-01-09 10:44:07', 'mvnaz@yandex.ru', 'UAH', '2017-01-09 10:44:07'
)
':
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'UAH' for key 'PRIMARY'
Can somebody help me ?
Re: Adding new currency
The language is already available, you only have to activate it.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Adding new currency
I already set in expert mode-locale-list Language - Ukrainian, currency Russian ruble and set position 0 only for this. After it my site looks in English language, and prices do not shows! Ukrainian language not exists default, I added it language in expert panel. And Ukraine currency not exists defaultly in aimeos too. It such big problem for me.
My goal is make site looks in Russian language and set Ukrainian as default currence. I can set Russian language in the site, but how I can set UAH currency ? I hope for your help very much. To be honest it is difficult for me now. Thank you!
My goal is make site looks in Russian language and set Ukrainian as default currence. I can set Russian language in the site, but how I can set UAH currency ? I hope for your help very much. To be honest it is difficult for me now. Thank you!
Re: Adding new currency
Step by step:
- Make sure language "ru" is active
- Activate currency "UAH"
- Make sure, "ru"/"UAH" is the only active combination in the locale tab
- Add prices with currency "UAH" to your products and remove the others
- Clear the cache with "php artisan aimeos:cache" if you didn't deactivate it
- Make sure language "ru" is active
- Activate currency "UAH"
- Make sure, "ru"/"UAH" is the only active combination in the locale tab
- Add prices with currency "UAH" to your products and remove the others
- Clear the cache with "php artisan aimeos:cache" if you didn't deactivate it
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Adding new currency
I understand you full! Thank you! But UAH currency is not exists in my currency list. What I must to do in my case ?
Re: Adding new currency
Sorry! Excuse me please )) Sometimes I am such stupid. I did not see that it is have more one page ))) Thank you, aimeos!