Different prices with translation

  • Posts: 32
  • Thank you received: 1
10 years 3 months ago #165918

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : All major browsers
-- Error-message(debug-mod must be tuned on) -- : No error message.

There is no error message but I cant get something to work.

We have hikashop with falang installed and it is working like a charm. But the problem is that we want different prices for different languages. For instance:

Coffee in UK would be 2.99
Coffee in DE would be 3.99

This is not possible to do. Or is it and are we missing something.

Last edit: 10 years 3 months ago by loginsecure.

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

  • Posts: 846
  • Thank you received: 92
10 years 3 months ago #165940

Does the unit are the same $ & € ?
read this post
i don't know if the tax is compute in product listing or when pay .
regard's

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

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

  • Posts: 32
  • Thank you received: 1
10 years 3 months ago #165991

Dear lionel75,

Thank you very much for your answer.
The units do change because it is an international company so we are looking at all the symbols.
We have read the post unfortunately this only goes to Shipping method which was handy to know but not what is required.
The taxes are shown by product listing it is already in the price.

So basically what we are trying to achieve is when an english customer visits the site in English then he/she can go to the product page and see an product for X amount of pounds. When this customer changes the language on the site to German then he/she will see a different price in euro's.

We are not looking for an exchange calculation that automatically is done. Because that will go wrong in African countries where there are other taxes to concern besides VAT.
Basically every country can have his own price per product.

Originally we thought that this was part of Hikashop and that it would work with the native Joomla Multilanguage system. Because then you would duplicate the product, change the price, select the language and it is done. With Falang you are in one product and that is where the difficulties are.

Thanks again for helping. We are looking forward to more reactions on this topic.

Last edit: 10 years 3 months ago by loginsecure.

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

  • Posts: 846
  • Thank you received: 92
10 years 3 months ago #165995

Hi
when you have a look to the product parameters , the language ( that is not he country ) don't support fields about price .
If you take care of parameter attach to field prices there is 5 price , price tax , currency ( capture screen only 2 ) ,min quantities and ID .
There is no field about country .

In a way it is not because you speak the same language that you use the same currency !!
A country can use many language !!! . A english man ( great britain ) in france hotel can buy in a french website using a the english versin of he website and pay in euros ( not £ ) !!

there is a post about tax for different countries but not price per country !
http://www.hikashop.com/forum/4-how-to/2384-different-currencies-prices-based-on-location.html

i don't think HKS support this , perhaps you ll have to create many fields ( per country ? currency ?
HKS Team are best to give some clue tricks .

Tax is link to the adress where the product ll be send !! ( not the ip vpn location )
Some site like amazon don't accept to buy in amazon US website ( not language ) and send the product to france ! Amazon ask to give a phone to verify you are in the US country even if you use VPN !! I don't test VPN using virtual VIP DID number phone ! But i think all Price must be specific to country ( where product ll be send andbecause of tax ) not language/currency.

The currency symbol is not link to the language so i don't know if the implementation must be manage by falang /joomfich or hikashop ?
US and GB speak the same language ( with some difference ) but use different currencies ( $ £ ) .
in a way in the internationalisation we use 2 shemes
fr_FR => fr = french (language) _ FR= france ( country )
the currency ll be unique for fr_FR and i think for all the countries except i you use virtual currency for avoid tax !! ( not only see after )
As always all is manage by rule law table by international consortium like W3C or other name ... ISO
see http://en.wikipedia.org/wiki/ISO_4217[/img] and some countries use many currencies !!
see also ISO 639-1 code
http://en.wikipedia.org/wiki/Language_localisation

I am interesting to know which e commerce CMS support this functionnalities !!



regard's

Attachments:
Last edit: 10 years 3 months ago by lionel75.
The following user(s) said Thank You: loginsecure

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

  • Posts: 32
  • Thank you received: 1
10 years 3 months ago #166497

Dear lionel75,

Thank you very much for your answers. We are currently looking to see how to get it to work on another way.

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

  • Posts: 846
  • Thank you received: 92
8 years 4 months ago #245340

Hi sometime i like to read some of my last post and for this one it is strange because no hikashop team menber appear in this post and my answer was not efficient focus on the subject !! ?

1 Does hikashop in july 2017 support for same product different price ? which parameter can be control t ochange the price ?

2 which joomla technique should be use ?

3 Does a plugin that update the price before view on client side or record in server can be use ?

NB it is not translation i think the question could also be convertion of unit to show in the client side !!

regard's

Last edit: 8 years 4 months ago by lionel75.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
8 years 4 months ago #245385

Hi,

We didn't answer because your answers were correct and we didn't had much to add.
There is no system to have different prices for different languages in HikaShop.
You can pontentially add a small modification in the index.php of the template or a system plugin to force the currency based on the language and then have different prices for different currencies.
But if you want to have different prices for the same currency for different languages, I don't even see any quick modification to the price system.

Now, everything is possible with coding but it's a big job.
You would have to create custom product fields, one per language to store the price for each language in each product, and then have a custom HikaShop plugin implementing several triggers to override the price of the products and recalculate what's necessary.
For the products listings and the product page, you would have to implement the onHikashopBeforeDisplayView trigger to overrides the prices in $view->rows (listings) and $view->element (product page).
For the cart, you would have to implement the onAfterCartProductsLoad trigger to override the prices of the products in $cart->products .
There shouldn't be anything necessary for the order/invoice/emails.
So with a plugin of around a 100 lines, it's possible. A skilled developer should have no problem doing that with these indications.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum