• Resolved modedmarketing

    (@modedmarketing)


    There appears to be a bug on line 76 of the following file: plugins\zettle-pos-integration\modules\zettle-product-debug\src\ProductDebugModule.php.

    This creates a conflict with various other plugins as you are not checking if $columnName is int or not. The parameter is sometimes an integer and thus a critical error is caused when viewing Product > All Products in certain use cases.

    As such, I’ve edited your code as below. It’s a simple change and we would be grateful if you could include this change in your next release:

    From:  

    $content = $customColumn->renderContent($columnName, (int) get_the_ID());

    To:

     $content = $customColumn->renderContent((string)$columnName, (int) get_the_ID());

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @modedmarketing

    Thank you for bringing this to our attention. Your feedback has been immensely helpful in identifying a potential area for improvement.

    Upon reviewing your feedback and the proposed solution, we concur that this adjustment could enhance the plugin’s compatibility and mitigate potential conflicts. Consequently, we have created an issue in our development backlog to investigate this matter further.

    Our development team will review the issue and your proposed solution, and if all checks out, we will aim to incorporate the change in an upcoming release. We strive to ensure our plugins work smoothly for all applications, and feedback such as yours is instrumental in achieving this.

    Once again, thank you for your contribution. We will keep you posted on any updates regarding this issue. Should you have any other feedback or suggestions, please don’t hesitate to share them with us.

    Thank you!

    Kind regards,
    Niklas

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @modedmarketing

    Our developers team has added a fix for this situation to the next version (1.5.7) and are currently testing this for release. We are currently testing this, and expect this to be ready for release soon. We will let you know once it is available for you to test.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @modedmarketing

    The change you request has been implemented in our latest release, 1.5.7.

    Please update the plugin and let us know if you are still seeing this issue. I will mark this thread as resolved, but will still receive a notification if you add a comment below here.

    Thanks again for making us aware of this situation, that allowed us to fix it.

    Kind regards,
    Joost

    Thread Starter modedmarketing

    (@modedmarketing)

    Thanks for this, but today we have identified a much more serious bug. We have found that ALL sales via the Zettle app are not updating the inventory on either side. We are using this as a our master inventory and so all our shop based sales are not being deducted from stock. This is causing us a huge issue as we just completed a comprehensive stocktake. The risk is that we’ll end up selling stock we don’t have! Please sort this urgently or have someone email me back.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @modedmarketing

    The issue you mentioned in your last comment is most likely caused by a security or caching issue. In order to resolve this, you should probably set up a staging site and do conflict testing. Just be sure that when/if you do this, you need to disconnect your account first (so no changes will affect your Zettle library), then remove all existing products (so they can’t affect the Zettle library), create some new products and sync those to your Zettle library, so you can test with these additional products without affect the products from your live site.

    The sync activities are performed via JSON webhooks, so you might need to look for anything that can prevent JavaScript from performing its function.

    If you want us to look into your system report, logs or other details from your site, you might want to open a private thread with us, so we can easier share these details, and they won’t be available via this public forum.

    This thread was opened for another issues, so will remain closed.

    Kind regards,
    Joost

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

The topic ‘WooCommerce Product Column Bug’ is closed to new replies.