TC Extra Product Options not working with 4.9.3

Issue #653 resolved
Valentina R created an issue

BUG 1

This is a response from TC team. They found the bug and wrote the fix:

The appointment plugin has included compatibility code on their own side but there is a little bug which has this unfortunate effect.

On the file appointment-form.js and in the function tm_epo_integration the use use the following to parse the booking price:

var tm_epo_pp = parseFloat( result_html.match( /[\d.]+/ ) );

This unfortunately isn’t correct as when the currency is printed decoded and when it has numbers (like in this case) it catches that number incorrectly.

This would need to be replaced with the following:

var tm_epo_pp = parseFloat($.epoAPI.util.unformat($(“<div>” + result_html + “</div>”).find(“.amount”).text()));

Please contact the developer of the appointment plugin so that they can fix this.

BUG 2

On the cart and checkout, when multiple EPO selections have been made, blank “variation” items are added causing the formatting to break.

Reported here.

Comments (2)

  1. Log in to comment