Author Topic: SOLVED Dynamic OPC cart js error  (Read 3100 times)

optmax

  • Jr. Member
  • **
  • Posts: 96
SOLVED Dynamic OPC cart js error
« on: October 13, 2015, 01:54:49 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Dynamic OPC cart js error
« Reply #1 on: October 13, 2015, 20:55:12 pm »
It is just a debug, I remove it.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

  • Jr. Member
  • **
  • Posts: 96
Re: Dynamic OPC cart js error
« Reply #2 on: October 13, 2015, 22:19:59 pm »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Dynamic OPC cart js error
« Reply #3 on: October 13, 2015, 22:45:49 pm »
no, this is something else. It has imho nothing todo with the message "Virtuemart.updForm url undefined"
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

  • Jr. Member
  • **
  • Posts: 96
Re: Dynamic OPC cart js error
« Reply #4 on: October 13, 2015, 22:52:46 pm »
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

  • Jr. Member
  • **
  • Posts: 96
Re: Dynamic OPC cart js error
« Reply #5 on: October 14, 2015, 00:37:16 am »
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

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: SOLVED Dynamic OPC cart js error
« Reply #6 on: October 14, 2015, 11:40:00 am »
Great, thank you.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

optmax

  • Jr. Member
  • **
  • Posts: 96
Re: SOLVED Dynamic OPC cart js error
« Reply #7 on: October 15, 2015, 10:04:06 am »
Peter at NoNumber has now fixed this in Email Protector v2.0.5 (currently a development release).