News:

Support the VirtueMart project and become a member

Main Menu

VM3 Sofort plugin - no ajax update on cart page

Started by vittoriobruno, April 14, 2016, 18:42:23 PM

Previous topic - Next topic

vittoriobruno

Hello,
I am using Joomla 3.4.8 and VM 3.0.12.
I enabled and set VM Payment - Sofort Banking plugin in order to offer customers the Sofort banking payment. I enabled also the Paypal plugin and the standard VM payment plugin. I enabled OPC and set ajax for OPC.
When I am in the cart module, as soon as I select standard payment or paypal payment, ajax works correctly: cart total is updated according to cashback or fees set in backend. This does not occur when I select sofort payment. Simply nothing happens. Radio button is selected but cart total does not update. Only way to see modification is clicking on "save" button.
So I would like to ask if there is a reason why ajax is not working just for this plugin.
Using the analysis instrument in firefox, comparing the div classes vm-payment-plugin-single, I noticed that the input (radio button) relative to sofort does not contain data-dynamic-update="1". Is this lack the responsible of this behaviour? If yes, how can I obtain ajax for sofort plugin?

Thanks
Regards

vittoriobruno

Hi all,
can anybody help me with this, please?

Regards

Ghost

Sofot plugin does use payment method display override. See /plugins/vmpayment/sofort/sofort/tmpl/display_payment.php.

GJC Web Design

beat me to it..  ;)

plugins\vmpayment\sofort\sofort\tmpl\display_payment.php
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

vittoriobruno

Hi,
I have just added data-dynamic-update="1" after "name" attribute of the radio type <input> tag in that file: it works.

Thanks