[Skip to main content](#vessel-content)

#   currency only changed when next product is viewed

##

- **[wdaf](/forum/user/44116-wdaf "View wdaf's Profile")**
- [![wdaf's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/44116-wdaf "View wdaf's Profile") Topic Author
- [ Offline](/forum/user/44116-wdaf)

Less More

- Posts: 10
- Thank you received: 0
-
-

10 years 3 months ago [\#247566](#247566) by [wdaf](/forum/user/44116-wdaf "View wdaf's Profile")  *[currency only changed when next product is viewed](/forum/26-product-category-display/885993-currency-only-changed-when-next-product-is-viewed#247566 "-- url of the page with the problem -- :   www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.1 -- PHP version -- : 6.0  Hello,  weird behavior of the currency switcher Short: currency is not changed on the displayed page, but only on the next page i visit  Long: I go to a product: example:   www.cyan-adventures.com/en/adventures/mo...alegria-canyoneering  i switch the currency to PHP and nothing changes. Still US$. Then i switch to a different product:   www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering  and then this product is displayed in PHP.  So the correct currency is not changed on the displayed page, but only on the next page i visit. Tested in Chrome and Firefox and IE. ?  Thx, Wolfgang")* was created by *[wdaf](/forum/user/44116-wdaf "View wdaf's Profile")*

-- url of the page with the problem -- : [ www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering](http://www.cyan-adventures.com/en/adventures/moalboal-tours/malabuyoc-canyoneering)
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.1
-- PHP version -- : 6.0

Hello,

weird behavior of the currency switcher
Short: currency is not changed on the displayed page, but only on the next page i visit

Long:
I go to a product:
example: [ www.cyan-adventures.com/en/adventures/mo...alegria-canyoneering](http://www.cyan-adventures.com/en/adventures/moalboal-tours/kawasan-alegria-canyoneering)

i switch the currency to PHP and nothing changes. Still US$. Then i switch to a different product:
[ www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering](http://www.cyan-adventures.com/en/adventures/moalboal-tours/malabuyoc-canyoneering)
and then this product is displayed in PHP.

So the correct currency is not changed on the displayed page, but only on the next page i visit.
Tested in Chrome and Firefox and IE.
?

Thx, Wolfgang

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODU5OTMtY3VycmVuY3ktb25seS1jaGFuZ2VkLXdoZW4tbmV4dC1wcm9kdWN0LWlzLXZpZXdlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 3 months ago [\#247570](#247570) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[currency only changed when next product is viewed](/forum/26-product-category-display/885993-currency-only-changed-when-next-product-is-viewed#247570 "-- url of the page with the problem -- :   www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.1 -- PHP version -- : 6.0  Hello,  weird behavior of the currency switcher Short: currency is not changed on the displayed page, but only on the next page i visit  Long: I go to a product: example:   www.cyan-adventures.com/en/adventures/mo...alegria-canyoneering  i switch the currency to PHP and nothing changes. Still US$. Then i switch to a different product:   www.cyan-adventures.com/en/adventures/mo...labuyoc-canyoneering  and then this product is displayed in PHP.  So the correct currency is not changed on the displayed page, but only on the next page i visit. Tested in Chrome and Firefox and IE. ?  Thx, Wolfgang")*

Hi,

The behavior is actually more complex and reveils what is the problem.
When you change the currency on a page, it doesn't change the page. When you go on another page, you get the new currency. But if you change again the currency to a third oneon that new page, it doesn't change the page, but also, if you go back to the first page, you still see the first currency, and if you go to a third page to get the third currency selected.
So that means:
- That the currency switch is taken into account by the system.
- Once you display a page in one currency, the the currency last chosen won't be taken into account anymore.
This all points to the fact that you have caching on your website or web server and that once a page is displayed, it is cached by the caching system and thus if you change something on the page, it is not displayed on the page as the page comes from the cache even though it is taken into account by the system.
HikaShop clears the Joomla cache when you change the currency with the HikaShop currency switcher, so I gues that you didn't activate the Joomla cache but that you have some other caching system on your website/server.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84ODU5OTMtY3VycmVuY3ktb25seS1jaGFuZ2VkLXdoZW4tbmV4dC1wcm9kdWN0LWlzLXZpZXdlZD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
