Jump to content

Remove Language options completely


zaromnia

Recommended Posts

Unchecking all of the status checkboxes should do the same.

If you have in mind to do the same to the currency selector, in admin, Currencies, you can uncheck all of the currency Status checkboxes. The store will still operate with the default currency chosen in Store Settings.

Apparently, if all the currencies are disabled, the drop-down selector in Store Settings, General tab, Default Currency is not populated. Then, when CubeCart saves its config, the default_currency is left blank. When that happens, CubeCart cannot show prices correctly and all prices are shown as simply '0.00'. So, at least one currency mus remain enabled.

That means, to suppress the display of the Currency Selector, the skin template will need to be edited. (Foundation already tests for having more than one eligible currency and if not more than one, will not show any indication at all.)

Link to comment
Share on other sites

You could also remove the link from the skin.

The language files would still be there in case you ever needed them, but the option to change the language (on the customer side) would no longer exists.

 

skins/your-skin/templates/main.php

 

Remove the string {$LANGUAGE}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...