News:

Support the VirtueMart project and become a member

Main Menu

SOLVED Dynamic OPC cart js error

Started by optmax, October 13, 2015, 01:54:49 AM

Previous topic - Next topic

optmax

VM 3.0.10
J! 3.4.4

Clean install with Sample Data
beez3 template


3 Standard payment methods configured
One Page Checkout enabled  - yes
Ajax for OPC - yes

Test site http://vm310.cloudaccess.host/index.php/shop

In the cart with a shopper logged in, when a payment method is selected or changed and the dynamic update of the cart is fired the Google Chrome Console reports the following:

Virtuemart.updForm url undefined                                         dynupdate.js?vmver=8996:101
my form submit url /index.php/shop/cart?tmpl=component     dynupdate.js?vmver=8996:106

Same error on the VM 3.0.11 demo site http://demo.virtuemart.net/ when the shipment is changed

(On my live site changing the payment also causes the on screen shopper's email address to be set to 'nullnullnullnullnull', but is displayed properly again on a page refresh.  This does not happen on the test site.  With Ajax for OPC turned off there is no problem)

Can any one else confirm this behaviour?

Milbo

It is just a debug, I remove it.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

Thanks Milbo.

I guess that means the 'nullnullnullnull' email address on my live site is a js conflict.

I'll have to investigate.  What a pain.....

Milbo

no, this is something else. It has imho nothing todo with the message "Virtuemart.updForm url undefined"
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

OK so not a js problem you think?
It goes away when Ajax OPC  is turned off.
Any suggestions as to what I should try to tack down the cause?

optmax

#5
OK Found the culpit for my 'nullnullnullnull' email adress after Ajax OPC update

NoNumber Email Protector plugin v2.0.4

Disabling this plugin and the problem goes away :-)

I will mark this thread solved and report my findings to NoNumber

Milbo

Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

Peter at NoNumber has now fixed this in Email Protector v2.0.5 (currently a development release).