Hi Eliel,
it seems that VM doesn't refresh product price onready anymore, so it's needed to be done manually. Really strange why VM stopped doing this, but ok.
Just add this code inside your plugins/vmcustom/easycheckbox/easycheckbox.php
find function setCheckboxJavascript () {
and after
function hideCheckboxImage (checkbox) {
var form = jQuery(checkbox).closest("form");
jQuery(form).find("#checkbox-pop-up").hide();
}
add
jQuery(document).ready(function() {
jQuery("form.product").each(function() {
var form = jQuery(this);
var id = jQuery(form).find("input[name=\'virtuemart_product_i[]\']").val();
Virtuemart.setproducttype(form, id);});
});
This should do the job.
I'll add this in new release.
Best Regards,
Maja
it seems that VM doesn't refresh product price onready anymore, so it's needed to be done manually. Really strange why VM stopped doing this, but ok.
Just add this code inside your plugins/vmcustom/easycheckbox/easycheckbox.php
find function setCheckboxJavascript () {
and after
function hideCheckboxImage (checkbox) {
var form = jQuery(checkbox).closest("form");
jQuery(form).find("#checkbox-pop-up").hide();
}
add
jQuery(document).ready(function() {
jQuery("form.product").each(function() {
var form = jQuery(this);
var id = jQuery(form).find("input[name=\'virtuemart_product_i[]\']").val();
Virtuemart.setproducttype(form, id);});
});
This should do the job.
I'll add this in new release.
Best Regards,
Maja
I have a base price, and other 2 incremental prices.
Deluxe
Premium
I marked Deluxe as checked, but it is showing the Standard price as you can see here
Should I set something different?
Thanks