I removed the fax and company fields from the registration and checkout forms using a VQmod but now get the following error...
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined index: fax in <b>/public_html/catalog/model/account/customer.php</b> on line <b>14</b><b>Notice</b>: Undefined index: company in <b>/public_html/catalog/model/account/customer.php</b> on line <b>18</b><b>Notice</b>: Undefined index: company in <b>/public_html/catalog/model/account/customer.php</b> on line <b>64</b>[]
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
OK
<b>Notice</b>: Undefined index: fax in <b>/home/wwwpries/public_html/vqmod/vqcache/vq2-catalog_controller_checkout_guest.php</b> on line <b>275</b>[]
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id>Remove company from account register</id>
<version>1.0.0</version>
<vqmver>2.4.0</vqmver>
<author>9thwave</author>
<file name="catalog/view/theme/myTheme/template/account/register.tpl">
<operation info="remove company from account register form">
<search position="replace" offset="3"><![CDATA[
<?php echo $entry_company; ?><br />
]]></search>
<add><![CDATA[
]]></add>
</operation>
</file>
</modification>
Could anyone tell me what i need to do please?
Do i need to remove the reference in catalog/model/account/customer.php to 'fax' and 'company'
If i do that would any update overwrite it?
Or could i set up another vqmod?
Thanks for any help