Display 2 prices one for each currency

  • Posts: 3
  • Thank you received: 0
3 years 10 months ago #331885

-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.9.26
-- PHP version -- : 7.2

Hello
Its my first time using hika shop so far its quite good (using free version)
But i am running with a problem where i cant show 2 prices, which i do not need to be converted i need to set each manually.
One price on CLP with bank transfer (already fixed it on the payment plugin)
The other with USD with Paypal (already fixed it on the payment plugin)

Right now i can see only the CLP price (the main currency) on the product page, and on the product configuration i have set both prices (see screenshot).
How can i make this work? so i can see both prices on the product page and then on the cart if i choose CLP it goes with bank transfer and if I choose USD i go with paypal?



Thanks for your time. Regards.

Attachments:

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

  • Posts: 4816
  • Thank you received: 654
  • MODERATOR
3 years 10 months ago #331893

Hello,

This isn't possible by default in HikaShop, and let's be precise for any HikaShop versions unfortunately.
By default (like many other elements to display) HikaShop select element to display from specific criteria, here the current currency, and so, basically that will be possible only through an override view (see this documentation ).

Html & Php knowledge will be required to remove checks that authorize or not the price display by currency.

The other possibility is to make a custom request via our Contact us form, clearly details your needs through concrete cases and examples, so that we can correctly meet your expectations and also precisely establish the quote.
Hope this will help you to achieved what you need.

Regards

Last edit: 3 years 10 months ago by Philip.
The following user(s) said Thank You: madpato

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

  • Posts: 3
  • Thank you received: 0
3 years 10 months ago #332054

Thank you for the clarification, since this is for a simple product, i can create 2 products, one for each currency. I wanted to know if there was a way to avoid doing that.

Regards

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

  • Posts: 3
  • Thank you received: 0
3 years 10 months ago #332055

madpato wrote: Thank you for the clarification, since this is for a simple product, i can create 2 products, one for each currency. I wanted to know if there was a way to avoid doing that.

Regards


Well just tried this and its not possible even if i have 2 products one priced in USD and other priced in CLP still the main currency chosen in main configuration is displayed.
So im guessing i have to do an override to show a different currency for each product. Or this can be done on the configuration and im missing a parameter?

Last edit: 3 years 10 months ago by madpato.

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

  • Posts: 83404
  • Thank you received: 13498
  • MODERATOR
3 years 10 months ago #332062

Hi,

No, it's not a parameter problem.
With hikaShop, there is one current currency on a page and all the prices displayed by HikaShop on the page will be for that currency.
We then have a "currency switcher module" that you can enable so that the customer can select his own currency, or the "geolocation plugin" which can automatically set the current currency based on the geolocated country of the user (based on his IP address).
So if you want to display the prices in other currencies it would indeed require an override in order to load the prices in other currencies and display them.
www.hikashop.com/support/documentation/1...-display.html#layout

The following user(s) said Thank You: madpato

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

Time to create page: 0.063 seconds
Powered by Kunena Forum