Displaying only the currency of the vendor

  • Posts: 1
  • Thank you received: 0
  • Hikamarket Multivendor Hikashop Business
1 week 4 days ago #364883

-- HikaShop version -- : 5.1.1
-- HikaMarket version -- : 5.0.0
-- Joomla version -- : 4.4.9
-- PHP version -- : 8.1.2

We have HikaMarket MultiVendor running as our internal company intranet-shop so all functions are very basic.

Right now we have to vendors active - one for our location in germany and one for our plant in poland which leads us to two needed currencies: Euro & PLN (Zloty).

We set the currency for each vendor. The main currency is Euro.

Now we have the problem that products from our polish vendor show prices in PLN and EUR - we just want the workers to see the PLN price. How can we manage that?

Thanks so much in advance.

Lukas

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

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
1 week 4 days ago #364885

Hi,

The currency set in the vendors is to handle payouts of their commissions in the appropriate currency.
But the prices of the products on the frontend is dictated by one current currency.
This currency can be switched with the HikaShop currency switcher module, which you can configure in the Joomla modules manager.
This means that you can't have several currencies at the same time for different products.
You can also use the geolocation plugin so that the current currency is set based on the IP address of the user when he arrives on the website. So, someone in Germany would see the prices in EUR, and someone in Poland would see the prices in PLN.
But that all means that the products with prices in PLN will get their prices displayed in EUR if the user has the EUR currency as his current currency, and the products with prices in EUR will get their prices displayed in PLN if the user has the PLN currency as his currency currency.
I'm afraid I don't have a solution to propose in order to do exactly what you want. That's because, when the payment is made at the end of the checkout, you can only have one payment in one currency. So the whole shop is made to display the prices in one currency at a time.
But, since your situation is about an intranet-shop, maybe alternatives might be viable ? For example, you could remove (or hide, with a bit of CSS) the normal prices, and instead use a custom field of the table "product" to fill the price display for each product. That way, you would have all the liberty you want to display a price in each product. You could even auto fill this field with mass actions based on the product_vendor_id and the price of the product with an action "update the values" on the custom field column and some operation like:

CONCAT('{product.price_value}',' EUR')

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

Moderators: Obsidev
Time to create page: 0.056 seconds
Powered by Kunena Forum