VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: moot-online on November 24, 2015, 09:33:45 AM

Title: problems with creating an own menu with currency-selector
Post by: moot-online on November 24, 2015, 09:33:45 AM
hello together and sorry for my bad english, i´m from germany.
running joomla 3.4.5 - virtuemart 3.0.12
i want to create an own menu with language select and a currency selector.
like on this page: http://localheroesstore.com/index.php/eur/

the language is not the problem (only a link on the german  or english "home" site)
actually i use the regular currency selector - but i don´t like the dropdown.
is there any chance to set a normal link wich reloads the page with another currency?
i searched everywhere in the modul: mod_virtuemart_currencies - default.php
but i don´t know what happens in the background when you klick.
the only thing i made - is to kill the button and use a one klick method to change
(www.123456.moot-online.de)

has anybody an idea for me?
it only needs to reload the page with another currency (i want €; $; CHF; british pound)

thank you so much!
in the german virtuemart they can not help me - so you are my last hope :)
Title: Re: problems with creating an own menu with currency-selector
Post by: GJC Web Design on November 24, 2015, 12:07:09 PM
the module needs a new template where the current select options become e.g. ul li and have an onclick listener in the JS to reload the page with that currency selected
Title: Re: problems with creating an own menu with currency-selector
Post by: moot-online on November 24, 2015, 15:13:19 PM
so far so good, but i don´t know how to create an onclick listener wich reloads the page with this currency.