Hi, about currency we want to use 2 different currency(ex. Dollar for produce 1 and Euro for produce 2 ) .It is possible or not and how we can do it ?
About product names, it limited with 64 character. Can we change it too ? By the way, we tried the way in Database, we changed the varchar from 64 to 255 but it didn't work.
Thanks for your help in advance.
about currency and product name
Re: about currency and product name
The length of the product name is validated in the admin/controller/product.php:
So, you have to change 64 to 255.
Code: Select all
private function validateForm() {
if(($this->session->get('validation') != $this->request->sanitize($this->session->get('cdx'),'post')) || (strlen($this->session->get('validation')) < 10)){
$this->error['message'] = $this->language->get('error_referer');
}
$this->session->delete('cdx');
$this->session->delete('validation');
if (!$this->user->hasPermission('modify', 'product')) {
$this->error['message'] = $this->language->get('error_permission');
}
foreach ($this->request->get('name', 'post', array()) as $key =>$value) {
if (!$this->validate->strlen($value,1,64)) {
$this->error['name'][$key] = $this->language->get('error_name');
}
}
Re: about currency and product name
Thank you Leo ! you are lifesaver Do you have any kind of hint or advice about currency ?
Re: about currency and product name
You can enable multiple currencies but you can set only one as default. That means in your case, that the price of product2 must be converted to dollar before you set it on the product page (if dollar has been set as default). If you enable euro as well, your customers can switch between dollar and euro in the catalog (i.e. shop).
Re: about currency and product name
So thank again Leo ! It couldn't help in our case but if there is no way, you can't advise it, obviously Thanks again for your advices
Re: about currency and product name
for me is still to hard and i don't get it