• Resolved wochnik

    (@few-1)


    Aloha!

    I recently installed the plugin on a client’s website because it’s one of the only free plugins to handle custom pricing and so far it’s been doing wonders.

    There are two issues I’d like to point out tho. First one is the fact that activating the plugin breaks the head tag, because there’s a wp_nonce_field inside the head, which is invalid markup. If you search for “elex_cpp_ajax_nonce” you should be able to find it and as soon as you move it out of the wp_enqueue_scripts hook everything works again.

    Second problem I’d like to point out is the fact that a bunch of dynamic strings in the plugin aren’t translateable. e.g. in /includes/elex-wfp-product-flexible-price.php line 195:
    wc_add_notice( __( 'Custom Price Cannot be less than ' . $product_min_price, 'elex_wfp_flexible_price_domain' ), 'error' );

    Those strings should probably be wrapped in a sprintf and work with %s instead of being concatenated.

    Thank you so much!
    Felix

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author ELEXtensions

    (@elextensions)

    Hello Felix,
    Thanks for contacting us.
    1. We are working on the above issue and will update you once it is fixed.
    2. Could you please let me know which language translation you are looking for with our plugin so that we can add the language file to the plugin?

    Looking forward to hearing from you.

    Plugin Author ELEXtensions

    (@elextensions)

    Hello Felix,
    We have released a new version(1.1.5) of the plugin. Please update the same and let us know if the issue persists.

    Thanks

    What wochnik pointed out six months ago about the head tag being broken bye the input with id “elex_cpp_ajax_nonce” is what I wrote about some days ago. This should be fixed, as it is causing great trouble. Thanks!

    Plugin Author ELEXtensions

    (@elextensions)

    Hello @marnau,

    This issue was fixed in the version (1.1.5). Could you please confirm the plugin version you are facing this error.

    Thanks

    I’m using 1.2.3, and the issue persists. Wochnik was pointing out two problems, maybe what was fixed was the other one?

    I’m encountering the problem in a fresh install of wordpress. As soon as I install the plugin and activate it, the head tag breaks.

    The issue is solved with the new 1.2.4 release, thanks a lot!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin breaks head and no translation possible’ is closed to new replies.