Would it be possible to elaborate the encountered issue a little bit?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Edit a product description using the editor in view source mode.

Save the product.
You will see the changes you have made have not been saved.
You have to toggle the view source button off after you have made your adjustments and then save the product to get the description to save.
The editor is Opencart 1.* did not do this. It would save things regardless if it was in source mode or not

Save the product.
You will see the changes you have made have not been saved.
You have to toggle the view source button off after you have made your adjustments and then save the product to get the description to save.
The editor is Opencart 1.* did not do this. It would save things regardless if it was in source mode or not
In admin/model/catalog/product.php file,
find twice:
replace both with:
This should resolved the problem.
find twice:
Code: Select all
description = '" . $this->db->escape($value['description']) . "'
Code: Select all
`description` = '" . $this->db->escape($value['description']) . "'
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Option 1: On the same file, above the 2nd instance of:
(in the editProduct method), add:
Run the edit save changes again and see if you notice on screen any error messages. If so, please paste them on your next reply and remove the exit; command afterwards.
Option 2: Check your admin error logs and see if you notice a recent error message on the top based on the product.php model file.
Code: Select all
$this->cache->delete('product');
Code: Select all
exit;
Option 2: Check your admin error logs and see if you notice a recent error message on the top based on the product.php model file.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
On my instruction above, I did indicated the 2nd instance ofplatinum wrote:I need help on this as well. I don't understand the 'exit code' you speak of. The $this->cache->delete('product'); shows up 3 times in that file.
Any more advice.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 6 guests