Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #726961

    Hi Enfold dev,
    I bought yesterday Measurement Price Calculator Plugin of Woocommerce.com

    Since I have installed this plugin the field of “number item add to cart +/-” in product page makes an error. And couldn’t add product to cart.
    I alerte with a ticket on woocommerce.com and their developpers answer me to activate Twenty Sixteen to see if it’s due to Enfold Theme.

    The website is at few days of opening to public so it’s very urgent

    My problem is exactly this: https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/
    But i’m not on a child enfold theme I use the parent.

    Waiting for your well known professionnalism to fixe the issue on my parent theme
    (need a solution that will not be overwrite in your next update and will not disable some ajax effect)
    Regards

    #727398

    Hey jb84,

    Did you try Josues suggestion in your parent theme? I would recommend that you use a child theme though since you will lose all edits your make to the parent theme on updates: http://kriesi.at/documentation/enfold/portfolio-item/create-a-child-theme/

    Best regards,
    Rikard

    #727501

    Hi,
    so I clone to a child theme.
    And follow exactly this reffer:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/

    Everything work find now but the buttons + and – in between the quantity field has desaepeared.

    I found an old topic for this problem but josua said to reffer to the post above (but i reffered on it!)

    Can you please have an urgent look of it?
    Thanks in advance for your very professionnal support!

    #728367

    Hi,

    I do not have much experience with measurement price calculator plugin unfortunately however when i checked the examples here – https://woocommerce.com/products/measurement-price-calculator/ it seems like by default quantity buttons do not show up. I also tried temporarily activating Twenty Sixteen theme and quantity buttons still did not show up.

    Can you please check with Woo support theme once again and make sure that all settings are correct and that quantity buttons should display?

    Sorry for the late reply, thanks for your kind words.
    Enjoy your holidays! :)

    Best regards,
    Yigit

    #728922

    Hi
    yes quantity buttons should display.

    I found why buttons are hidden, it’s because of an issue given by one of your moderator to add this snippet:
    add_action(‘init’, function() {
    wp_dequeue_script( ‘avia-woocommerce-js’ );
    wp_enqueue_script( ‘avia-woocommerce-child-js’, get_stylesheet_directory_uri().’/js/woocommerce-mod.js’, array(‘jquery’), 2, true );
    }, 11, 1);

    Effectively it solv the problem of compatibility between ENFOLD and Measurement Price Calculator but make diseapered the buttons.
    An idea to fix this ?

    #729297

    Hi,

    What are the modifications added in the child theme’s “js/woocommerce-mod.js” file? Please post it on pastebin.com.

    Best regards,
    Ismael

    #729447

    hi,
    info in private
    thanks with your help

    #730142

    Hi,

    Please remove this part completely.

        function avia_apply_quant_btn()
        {
    
        }
    
        avia_apply_quant_btn();
    
        //if the cart gets updated via ajax (woocommerce 2.6 and higher) we need to re apply the +/- buttons
        $( document ).on( 'updated_cart_totals', avia_apply_quant_btn );

    Let us know if it makes any difference.

    Best regards,
    Ismael

    #730261

    Hi Ismael and very thanks for your help.

    I removed the code above completely from enfold-child / js / woocommerce-mod.js
    It doesn’t change anything, +/- buttons not display. Please see link in private.

    Maybe my comment of January 3, 2017 at 11:46 am maybe help you.

    I thank you in advance for the time you spend on it, it’s very important website on production!

    #730991

    Hi,

    Why is the “avia_apply_quant_btn” function empty? Did you place it somewhere else? Please post the FTP details here so that we can check this further.

    Best regards,
    Ismael

    #731197

    Hi,
    I think I did not change the “avia_apply_quant_btn” function…
    I give you in private ftp details ONLY IF your work on it BEFORE sunday 15th of january.
    Website have to be perfect on sunday night
    If you have time only after this date please do not access/change anything on the website.

    #732438

    Hi,

    Are you sure that this is the correct file server? I modified the style.css file to test it but it’s not taking effect in the frontend. This css codes in the style.css file should hide the cart dropdown and the logo but it’s not working.

    .logo { display: none !important; }
    
    #menu-item-shop {
        display: none !important;
    }

    Best regards,
    Ismael

    #732546

    Your css is working!
    logo and cart are hidden here :

    But why did you do that?!
    I just erase this css code in style css

    So what about the problem of +/- buttons on product page and on cart page?

    #732547

    attention

    #732623

    Hope Ismael your are working on the website because of an actually problem to add to cart button on products list!!!…
    Can you confirm please, we are scare?

    I think it is due to your modification of few hours ago on the file named (see in private) in js folder.

    Please can you undo as soon as possible and make your test on the test folder. Or in the root but please don’t let website with errors (can’t add to cart, number under cart icon dessepearded…)

    ————- New answer —————-
    Ok I find, you rename the woo.js with back
    I undo it. Can you undo if you made others modifications?
    So can you fixe the “+/- button not desplay problem on all the website” before sunday?

    • This reply was modified 7 years, 11 months ago by jb84.
    #732739

    Hey!

    It seems like Ismael made only CSS changes he mentioned in his last post. We have asked him to check this thread again.

    Best regards,
    Yigit

    #733415

    Hey!

    But why did you do that?!
    I just erase this css code in style css

    I did it because I wanted to test if it’s the correct file server. The changes I created are not affecting the site “https://paumedeterre.fr”.

    So can you fixe the “+/- button not desplay problem on all the website” before sunday?

    The quantity buttons are not displaying even before I placed the css modifications. I can’t fix it because the changes that I put into the files are not taking effect in the frontend. Is there a server cache or did you subscribe to a cdn provider?

    And follow exactly this reffer:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/
    Everything work find now but the buttons + and – in between the quantity field has desaepeared.

    Did you put the following code somewhere? I can’t find it in the child theme’s functions.php file.

    add_action('init', function() {
    	wp_dequeue_script( 'avia-woocommerce-js' );
    	wp_enqueue_script( 'avia-woocommerce-child-js', get_stylesheet_directory_uri().'/js/woocommerce-mod.js', array('jquery'), 2, true );
    }, 11, 1);

    Please get a fresh copy of the theme then override your installation just to make sure that none of the files are modified.

    Cheers!
    Ismael

    #733519

    Hey!
    hey ISMAEL!!!

    But why did you do that?!
    I just erase this css code in style css
    I did it because I wanted to test if it’s the correct file server. The changes I created are not affecting the site “https://paumedeterre.fr”.

    You are wrong it affect the production website (actually and until this afternoon website is in work (hide for public).
    And you have rename for a second time the enfold file js who make disapered number under cat!!!! I redo it for second time.
    Please see in private for clear detail

    So can you fixe the “+/- button not desplay problem on all the website” before sunday?

    The quantity buttons are not displaying even before I placed the css modifications. I can’t fix it because the changes that I put into the files are not taking effect in the frontend. Is there a server cache or did you subscribe to a cdn provider?

    here you are write. It’s not because of you css modifications. This problem is THE problem because of why a opened this post.
    Another time: yes it take effet on frontend. Please see in private for clear detail

    And follow exactly this reffer:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/
    Everything work find now but the buttons + and – in between the quantity field has desaepeared.
    Did you put the following code somewhere? I can’t find it in the child theme’s functions.php file.
    add_action(‘init’, function() {
    wp_dequeue_script( ‘avia-woocommerce-js’ );
    wp_enqueue_script( ‘avia-woocommerce-child-js’, get_stylesheet_directory_uri().’/js/woocommerce-mod.js’, array(‘jquery’), 2, true );
    }, 11, 1);

    Yes I did. The snippet is activated on front and backend.
    Sorry but we are a little stress because of +/- button not display

    #733906

    Hi!

    Again, we would like to ask you to get a fresh copy of the theme then override your installation just to make sure that none of the files are modified or missing.

    So can I ask you to NOT work on enfold root AND NOT on enfold child root.
    Can you work ONLY on this folder TEST in www
    You can see you effects here : EDITED

    I’m sorry but you didn’t mention this right away. I’m actually working on the wrong directory before I posted that the css modifications are NOT affecting the site.

    Yes I did. The snippet is activated on front and backend.

    Where did you put it? I checked both the parent and the child theme’s function.php file but I can’t find that code. Please check it yourself. That snippet is used to load the woocommerce-mod.js file from the child theme instead of the parent theme so without it the js file in the child theme is useless. And without that snippet, the js file is not going to affect the site even if I rename it or delete it completely.

    Regards,
    Ismael

    #733998

    Hi,
    I just rewrite the TEST enfold theme folder with last version.
    On the TEST folder you can do what you want but please don’t touch the root folder

    You will see the snippet in admin dashboard (carefull to be on the admin test folder URL) / black menu on the left / SNIPPET
    The name of the snippet is : “measurment pour marcher avec enfold”

    #734112

    Hey!

    Alright. The add to cart button is working now. We replaced the following line in the child theme’s woocommerce-mod.js file:

    newNum = jQuery(jQuery('<div />').append(number.clone(true)).html().replace('number','text')).insertAfter(number);
    

    .. with:

    newNum = jQuery(jQuery('<div />').append(number.clone(true)).html()).insertAfter(number);
    

    .

    Please remove browser cache or hard refresh before checking one of the products.

    Cheers!
    Ismael

    #734142

    Very thanks Ismael for the time spend on our problem!
    Now it’s perfect working!

    #734515

    Hey!

    Thank you for your patience. Let us know if you encounter any issues in the future. Have a nice day.

    Cheers!
    Ismael

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Conflict between ENFOLD and Measurement Price Calculator [URGENT]’ is closed to new replies.