customising

  • Darren Knipe
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 6 months ago #38181 by Darren Knipe
customising was created by Darren Knipe
hi

first want to say this is a brilliant component.

i am writing y own theme with some other function i need.

having issue in wanting to retrieve the currency id in a template view

so far have:
$url_cat =' xxx.com/cart.php?currency= currency_code; ?>';

but it is giving a session cookie value

xxx.com/cart.php?currency=%3C?php%20echo...rency_code;%20?%3Ea=

how can i get the id value of the currency, based on what i select from currency module

cheers

Please Log in or Create an account to join the conversation.

  • Giang Dinh Truong
  • Offline
  • Administrator
  • Administrator
More
10 years 6 months ago #38219 by Giang Dinh Truong
Replied by Giang Dinh Truong on topic Re: customising
Hello Darren,
Please try to use $currency->getCurrencyCode(); function. Hope that this will help.
Sincerely, Giang

Please Log in or Create an account to join the conversation.

Moderators: Giang Dinh Truong