There were a few reports regarding the payment_address field pop out from JSON during checkout as I was also able to reproduce the problem. This issue occurs after clicking 'continue' after filling the billing details form (default template - fresh installation).
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Ok, I managed to fix it.
In catalog/controller/checkout/payment_address.php file,
find:
replace with:
Then, find:
replace with:
In catalog/controller/checkout/shipping_address.php file,
find:
replace with:
find:
replace with:
I can now checkout to the next step without problems.
In catalog/controller/checkout/payment_address.php file,
find:
Code: Select all
if ($this->request->post['payment_address'] == 'existing') {
Code: Select all
if (!empty($this->request->post['payment_address']) && $this->request->post['payment_address'] == 'existing') {
Code: Select all
if ($this->request->post['payment_address'] == 'new') {
Code: Select all
if (!empty($this->request->post['payment_address']) && $this->request->post['payment_address'] == 'new') {
find:
Code: Select all
if ($this->request->post['shipping_address'] == 'new') {
Code: Select all
if (!empty($this->request->post['shipping_address']) && $this->request->post['shipping_address'] == 'new') {
Code: Select all
if ($this->request->post['shipping_address'] == 'existing') {
Code: Select all
if (!empty($this->request->post['shipping_address']) && $this->request->post['shipping_address'] == 'existing') {
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I experienced this issue and am assuming it's related to migrating from osCommerce with some incomplete customer profile info. VQMOD of above changes.
checkout-paymentaddress.xml
checkout-shippingaddress.xml
checkout-paymentaddress.xml
Code: Select all
<!-- Created using vQmod XML Generator by UKSB - http://www.opencart-extensions.co.uk //-->
<modification>
<id><![CDATA[Fix OSC Payment Address import]]></id>
<version><![CDATA[1.0]]></version>
<vqmver><![CDATA[2.7.1]]></vqmver>
<author><![CDATA[Sam Mittelstaedt]]></author>
<file name="catalog/controller/checkout/payment_address.php">
<operation>
<search position="replace"><![CDATA[if ($this->request->post['payment_address'] == 'existing') {]]></search>
<add><![CDATA[if (!empty($this->request->post['payment_address']) && $this->request->post['payment_address'] == 'existing') {]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[if ($this->request->post['payment_address'] == 'new') {]]></search>
<add><![CDATA[if (!empty($this->request->post['payment_address']) && $this->request->post['payment_address'] == 'new') {]]></add>
</operation>
</file>
</modification>
Code: Select all
<!-- Created using vQmod XML Generator by UKSB - http://www.opencart-extensions.co.uk //-->
<modification>
<id><![CDATA[Fix OSC Shipping Address import]]></id>
<version><![CDATA[1.0]]></version>
<vqmver><![CDATA[2.7.1]]></vqmver>
<author><![CDATA[Sam Mittelstaedt]]></author>
<file name="catalog/controller/checkout/shipping_address.php">
<operation>
<search position="replace"><![CDATA[if ($this->request->post['shipping_address'] == 'new') {]]></search>
<add><![CDATA[if (!empty($this->request->post['shipping_address']) && $this->request->post['shipping_address'] == 'new') {]]></add>
</operation>
<operation>
<search position="replace"><![CDATA[if ($this->request->post['shipping_address'] == 'existing') {]]></search>
<add><![CDATA[if (!empty($this->request->post['shipping_address']) && $this->request->post['shipping_address'] == 'existing') {]]></add>
</operation>
</file>
</modification>
Sorry. I was able to get it to work on 1.5.4.1 so that is as far as I went.pvtsales wrote:not working
You may be able to tweak it a bit.
Some issues in 1.5.3.1 ... causes "no available shipping methods" with manual fix. vqmod works, I get to my simple flat rate shipping, but clicking continue just resets the whole checkout page form.
Who is online
Users browsing this forum: No registered users and 48 guests