Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1195527

    Hello everyone, I use Enfold for my webshop (smartkram.de). I wanted to offer product bundles there. I use the SomewhereWarm plugin (https://woocommerce.com/products/product-bundles/). With the standard theme (storefront), the price of the products is dynamically calculated. As soon as the theme Enfold is active, the price is no longer calculated dynamically. The developer SomewhereWarm said that there was a problem with the theme. Can you help me here

    Thanks a lot!

    greeting
    Sebastian

    #1196079

    Hello?

    @ Kriesi, can you please give me an answer? Yesterday I extended the support for 6 months.

    #1198025

    Hi SGehmlich,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1198045
    This reply has been marked as private.
    #1198118

    Hi Sebastian,

    Credentials did not work for me. Could you please update the credentials?

    Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.

    Best regards,
    Victoria

    #1200780

    Hi Victoria,

    we can give an exact discription of our problem:

    For the plugin product-bunldes from somewherewarm we don’t need the following code:

    The file we located that code is the following: Enfold: woocommerce-mod.js (config-woocommerce/woocommerce-mod.js

    function avia_apply_quant_btn()
    {
    /*
    jQuery(“.quantity input[type=number]”).each(function() {
    var number = $(this),
    max = parseFloat( number.attr( ‘max’ ) ),
    min = parseFloat( number.attr( ‘min’ ) ),
    step = parseInt( number.attr( ‘step’ ), 10 ),
    newNum = jQuery(jQuery(‘<div />’).append(number.clone(true)).html().replace(‘number’,’text’)).insertAfter(number);
    number.remove();

    setTimeout(function(){
    if(newNum.next(‘.plus’).length === 0) {
    var minus = jQuery(‘<input type=”button” value=”-” class=”minus”>’).insertBefore(newNum),
    plus = jQuery(‘<input type=”button” value=”+” class=”plus”>’).insertAfter(newNum);

    minus.on(‘click’, function(){
    var the_val = parseInt( newNum.val(), 10 ) – step;
    the_val = the_val < 0 ? 0 : the_val;
    the_val = the_val < min ? min : the_val;
    newNum.val(the_val).trigger(“change”);
    });
    plus.on(‘click’, function(){
    var the_val = parseInt( newNum.val(), 10 ) + step;
    the_val = the_val > max ? max : the_val;
    newNum.val(the_val).trigger(“change”);

    });
    }
    },10);

    });
    */
    }

    Can you give us an advise how to remove those additional buttons? We tried to remove that part but those buttons are still there an our plugin does not refresh the price.

    We have also the option to send you the code which is generated with another theme where the plugin is working. But we found a lot of communication where our problem is solved by one of your support team.

    Please help us to solve that problem.

    Reguards

    Sebastian Gehmlich

    #1201355

    Hi Sebastian,

    Try commenting out this line:
    Image 2020-04-06 at 21.23.18.png

    in this file /config-woocommerce/woocommerce-mod.js

    and see if the issue persists.

    And also the line right above where the function is called and of course clear the cache.

    Best regards,
    Victoria

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.