• Resolved fuzioneer

    (@fuzioneer)


    I have had to deactivate the plugin as with it enabled the wccvf-loading-spinner spinner shows underneath any variable product on the front end and it will not allow you to select the product dropdown to choose a variation

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Sark

    (@sarkware)

    Hi, sorry the trouble, pls share the affected product page url here, so that I can fix it and update you shortly.

    Thread Starter fuzioneer

    (@fuzioneer)

    Plugin Contributor Sark

    (@sarkware)

    Its a JS error, as a temp fix, pls edit the following file.

    /wp-content/plugins/wc-fields-factory/assets/js/wcff-client-src.js
    LN : 1247
    replace the if condition with the following.

    if (_target && mask) {
    	mask.doMask(_target);
    }

    Now delete the file named : wcff-client.js
    Finally rename the file wcff-client-src.js as wcff-client.js

    this should solve the issue now, I will include a proper fix with the upcoming release.

    • This reply was modified 3 years, 11 months ago by Sark.
    Thread Starter fuzioneer

    (@fuzioneer)

    tried the fix and cleared cache aftrerwards but still the same ?

    Plugin Contributor Sark

    (@sarkware)

    HI, I just checked the page again, but it still has old wcff-client.js file (which is minified).

    1. Delete wcff-client.js file
    2. Edit the wcff-client-src.js as mentioned above,
    3. Rename the the file from wcff-client-src.js to wcff-client.js

    This should resolve the issue for now.

    Thread Starter fuzioneer

    (@fuzioneer)

    I have done as you said, I have also deactivated the cacheing plugin but I still get the same issue ?

    Plugin Contributor Sark

    (@sarkware)

    Ok, by looking at the browser’s console, there seems to be 500 Error on server caused by Fields Factory Injector module.

    Pls edit the following file /wp-content/plugins/wc-fields-factory/includes/wcff_injector.php

    LN : 171

    Replace with the following snippet

    $variation = wc_get_product($_variation_id);
    if ($variation) {
    	$this->product = wc_get_product($variation->get_parent_id());
    }

    Let me know if it solves the issue

    Thread Starter fuzioneer

    (@fuzioneer)

    Line 171 is as follows with the terminating } being line 171 :-
    if ($this->has_any_fields_to_render($wccvf_posts)) {

    $html .= $this->fields_render_loop($wccvf_posts, “any”, $cloning_title, false);

    }

    is this correct as obviously your code would cause a syntax error as the } closing brace would be missing ?

    Thread Starter fuzioneer

    (@fuzioneer)

    any comment Sark as I am getting lots of issues with customers not being able to purchase variable products atm ?

    Plugin Contributor Sark

    (@sarkware)

    Hi, the fix is coming with the next update, which is tomorrow, so pls hold on.

    Plugin Contributor Sark

    (@sarkware)

    @fuzioneer pls update the plugin to latest and let m eknow if it solved the issue.

    Thread Starter fuzioneer

    (@fuzioneer)

    no still the same

    Plugin Contributor Sark

    (@sarkware)

    @fuzioneer pls update one last time, if it still not solved the issue, then this plugin has no use for you.

    Thread Starter fuzioneer

    (@fuzioneer)

    yes that has fixed it now. Thank you

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Plugin stopping variable products from displaying dropdowns’ is closed to new replies.