Jump to content

MikeCZ

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Location
    Prague, Czech Republic
  • Activity
    Developer

MikeCZ's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. OK, let me ask for more specific thing. Can you please help me find code to update the cart? I found some functions that should probably update the cart in classes/Cart.php ... but another problem is I don't know where to test the script. It just doesn't work when I try to insert code inside a .tpl file...
  2. Hi all, I'm experiencing following problem: We use Multistore feature. Shop A: shatsudrivewear.com/en Shop B: shatsudrivewear.com/cs The website is unavailable, it's restricted by IP address and you will be redirected to different URL now. We have FIXED prices (we need it this way). ---------- An example: A T-Shirt. Shop A price: 19 € Shop B price: 490 CZK (Czech crown) I go to english Shop A (.com/en) and add a T-Shirt to the cart. Price is 19 €. Then I realise I'm a Czech so I click on the Czech flag icon -> this will get me to the Shop B (.com/cs) with CZK currency. Now in the cart is still the T-Shirt I picked, but its' price is 19 CZK. It obviously changed currency from EUR to CZK, but it didn't check the price of products in the Czech Shop B. So it shows 19 CZK instead of 490 CZK. When someone has products in cart and switches to different shop (from A to B, B to A) I need to update cart so that it will show correct prices. Hope you understand, sorry for my English. Can anyone help me, please? Thank you. Mike
  3. Yes, you're right. But I was asking for a solution how to do it if I want CZ in the URL. So ISO stays CS, but URL shows /cz
  4. You mean for example duplicate all files from /translations/cs/ to /translations/sk/? I think it won't really work until you set a new language in admin - if you just copy files to /sk/ folder, it doesn't mean anything when the system doesn't even bother to check "sk" ISO lang. EDIT: I don't say "think" just because.. I've tried. And the thing is we don't want to allow Slovakian in the language list... Slovakians should see "Czech" selected.
  5. Well, we don't really have trouble with getting correct language. I'm not sure if we are on the same page. We just want Slovakian visitors to have Czech language. Default language is English and so they get English now, but we need Czech for them. And on CS->CZ topic: Why would it fail finding CS? I mean, it's only URL which can be changed but will do the same thing (load CS language). Am I not right? Basically what would help me is to find detailed documentation about how integraded PrestaShop localization exactly works and where exactly (in which files) do the language changes happen.
  6. Hi guys, can anyone help me, please? We are using PrestaShop 1.6.0.9, multi-language shop, but we want only Czech / English / Japanese options. We also have some Slovakian customers, but they are not major and there would be more work to do - fix translations etc. - but MAINLY, Czech and Slovak languages are very similar. The problem is, default language is English (because of the rest of the world) and so Slovakians with ISO code "sk" will be redirected to ENGLISH version of the shop. I tried to fake "sk" ISO code so it would actually load Czech language, but I can't make it work - tested it with one Slovakian friend, but I still can't be sure, because the browser often remembers language settings for longer time than I would expect.. even after removing cookies... from some reason.. or at least I think so. Would anyone be so nice to help me sort this one out? When a user with "sk" ISO lang code enters the site, I want to redirect him into Czech translation ("cs" ISO, domain.com/cs). One more thing: Also, is there a way to change that language URL? For example change "domain.com/cs" to "domain.com/cz"? Thank you! Mike
×
×
  • Create New...