• Hi,

    Thanks again for your awesome plugin and your very quick replies.

    I am using WooCommerce Smart Coupons and I’ve discovered a conflict between your plug-in and that one.

    On the check-out page Smart Coupons has a client-side area with two radio buttons. Clicking on “Gift Coupons to Someone Else” is supposed to open a second window that allows the customer to enter email addresses and a message to intended recipients.

    When your plugin is active, that field does not display. When your plugin is deactivated, it works as intended.

    I wrote through the WooCommerce support area for help with the SC extension and so far have been less then impressed. I did just discover the conflict between your plugins and will report this to them as well and see if they can be of more help.

    Would you be able to look into this? Both plugins are very popular and I would hope to be able to use both.

    Thanks again for your awesome work. I am happy to provide a link privately or a temporary admin, please just let me know which email to respond to.

    https://www.ads-software.com/plugins/wc-fields-factory/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Saravana Kumar K

    (@mycholan)

    Hi nyckl,

    Can you check your browser’s dev console for any Javascript conflict, while you are in checkout page.
    ( Ctrl + Shift + i and go to console tab )

    It should be a JS conflict, because wc fields factory has nothing much to do in checkout page.

    and It’s not advisable asking admin access or email on this forum.
    please refer this for do’s and don’ts.

    Thread Starter nyckl

    (@nyckl)

    Hello,

    Thanks for your quick reply. I’m not very handy with Javascript, so I am trying to do my best explaining what I see in the console. I’m happy to email you, privately, site access if that would help, I would just need a private email – not this forum.

    When both plugins (WC Fields and WooCommerce Smart Coupons) are active, the browser Javascript console shows this error:

    Uncaught ReferenceError: wccpf_opt is not defined wccpf-front-end.js?ver=6605832…:141

    The line marked as an issue is the second one here:

    $(document).ready(function(){
    if( typeof( wccpf_opt.cloning ) != “undefined” && wccpf_opt.cloning == “yes” ) {
    var wcff_cloner_obj = new wcffCloner();
    wcff_cloner_obj.initialize();

    Any thoughts on a solution? I don’t understand Javascript, however I am comfortable cutting and pasting code into my child theme’s functions.php if you have a suggestion.

    Thank you very much.

    I changed this line, and it is fine now.

    /classes/wcff-product-form.php

    line 944:
    if( is_shop() || is_product() || is_cart() || is_checkout() || is_singular() ) {

    Remove is_singular()

    so it is:
    if( is_shop() || is_product() || is_cart() || is_checkout()) {

    And it is fine. Somehow the wccpf_opt is not defined somewhere, not sure why.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plug-in Conflict with WC Smart Coupons Extension’ is closed to new replies.