• Resolved janadams76

    (@janadams76)


    Hi Taisho,

    first of all i want to thank you for this nice little helpful plugin.

    I tried my best to override the template like written inside the php file: This template can be overridden by copying it to yourtheme/woocommerce/global/quantity-input.php.

    I placed it right there, but it didn’t work (So i did the needed change inside the core file which is ofcourse not ideal). Any ideas?

    Jan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author taisho

    (@taisho)

    Hello,

    many thanks for reporting the issue, unfortunately for now editing the plugin file is the only solution. The description that you mentioned comes from the original WooCommerce template and doesn’t apply to the plugin. In the next release, I will address this problem with the following changes:

    * Added a filter to enqueue a custom quantity-input.php template instead of the one used by Qty Increment Buttons.
    * Removed a misleading description from quantity-input.php template (it was copied from the original template) and replaced it with a relevant description.

    The description among a few things will mention how the filter should be used.

    Best regards,

    Ryszard

    • This reply was modified 5 years, 6 months ago by taisho.
    Plugin Author taisho

    (@taisho)

    The new version is out, it includes a filter to handle using a custom quantity template file.

    Thread Starter janadams76

    (@janadams76)

    Brilliant, thank you Ryszard!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Override (im)possible?’ is closed to new replies.