Support » Plugin: Woocommerce Extra Price Fields » Version 1.2 not updated for variable products

  • Resolved bullseyedesigns

    (@bullseyedesigns)


    Just to let any users, and the plugin creator, that if you want this to work with Variable Products, there is a missing
    ?>
    at the end of the php file.
    Hopefully the creator will update this in the next update.
    And a note to the creator, wouldn’t it be better if you removed the
    style='font-size:80%'
    from the div/span code. It already has a class of ‘pro_price_extra_info’ which can be styled as the user sees fit. Just an idea.
    Great plugin though, does the job easily.
    Thanks

    https://wordpress.org/plugins/woocommerce-extra-price-fields/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Aman Saini

    (@aman086)

    Hi

    If you talking about missing ?> at the end of the file, it is left out intentionally. It is not compulsory to have php closing tag ?> at end of file.

    Good to know that you liked the plugin.

    Thanks for that. Although you say may not be compulsory to have the closing ?> at the end of the file, but without it the plugin does not work as intended.
    The previous version of the plugin did have the closing ?> and it was working fine. The latest version didn’t have the closing ?> and was not working. After i added the ?> the plugin now works. Please explain why?
    Thanks

    Plugin Author Aman Saini

    (@aman086)

    It may be your host issue.Also check which php version you have on server.

    Here is the discussion why omitting php end tag is a good practice.
    http://stackoverflow.com/questions/4410704/why-would-one-omit-the-close-tag

    Regards
    Aman

    I still can’t get the plug-in to work with variable products. When saving a variable product, it throws errors.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Version 1.2 not updated for variable products’ is closed to new replies.