I was getting an error when using your latest file attachment (I am on version 2.0 of opencart btw), I found a missing bracket on the file: image_alt_and_title_text_catelog_model.xml on line 25:
old:
new:
below is a screenshot of the bracket as well, adding this fixed my problem and everything working like a charm. This is a great modification and I am super pleased for your exceptional work cosmo. THANK YOU!!

BTW I also found a missing parenthesis on file:
image_alt_and_title_text_admin_controller.xml on an array between lines 29-34:
I did not add the closing parenthesis to this array as I wasn't sure if it was necessary to or not, if I have any further problems I'll try adding it as such:
old:
Code: Select all
$query = $this->db->query($query);]]></add>
new:
Code: Select all
$query = $this->db->query($query);]]}></add>
below is a screenshot of the bracket as well, adding this fixed my problem and everything working like a charm. This is a great modification and I am super pleased for your exceptional work cosmo. THANK YOU!!


BTW I also found a missing parenthesis on file:
image_alt_and_title_text_admin_controller.xml on an array between lines 29-34:
Code: Select all
<add><![CDATA[$this->data['product_images'][] = array(
'image' => $image,
'thumb' => $this->model_tool_image->resize($image, 100, 100),
'sort_order' => $product_image['sort_order'],
'image_alt_text' => $product_image['image_alt_text'],
'image_title_text' => $product_image['image_title_text']]]></add>
Code: Select all
<add><![CDATA[$this->data['product_images'][] = array(
'image' => $image,
'thumb' => $this->model_tool_image->resize($image, 100, 100),
'sort_order' => $product_image['sort_order'],
'image_alt_text' => $product_image['image_alt_text'],
'image_title_text' => $product_image['image_title_text'])]]></add>
Who is online
Users browsing this forum: No registered users and 2 guests