-
AuthorPosts
-
March 23, 2020 at 5:04 pm #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
SebastianMarch 24, 2020 at 11:14 am #1196079Hello?
@ Kriesi, can you please give me an answer? Yesterday I extended the support for 6 months.
March 26, 2020 at 2:05 pm #1198025Hi 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,
VictoriaMarch 26, 2020 at 2:35 pm #1198045This reply has been marked as private.March 26, 2020 at 5:17 pm #1198118Hi 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,
VictoriaApril 4, 2020 at 11:38 am #1200780Hi 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
April 6, 2020 at 8:24 pm #1201355Hi Sebastian,
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 -
AuthorPosts
- You must be logged in to reply to this topic.