• Resolved Agent 3W

    (@agent3w)


    Hello TigriWeb,

    I am currently evaluating your “Packaging Fit” plugin for a project involving maritime shipping containers. While the plugin seems to be a good fit for our needs, I noticed that it imposes limitations on package dimensions and weights.

    Given that we are working with various sizes of maritime containers, I would like to understand the reasoning behind these limitations. Specifically, we need the flexibility to manage dimensions that exceed those currently supported by the plugin.

    Could you please provide more information on the limitations and if there are any plans to extend the plugin’s capabilities to accommodate larger dimensions? Additionally, if there are any workarounds or customization options available, I would greatly appreciate your guidance on implementing them.

    Also, if I understand well your code, your are sending data on your own server to make calculation. Why have you designed the plugin like this ?

    Thank you for your time and assistance. I look forward to your response.

    Best regards,
    Joffrey

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vania

    (@twvania)

    Hello Agent 3W,

    Regarding the sizes, they are simply numeric values. The unit for weight and dimensions is derived from the WooCommerce settings (it’s just a label).

    For example, you can enter Length/Width/Height as 200 and choose either cm or m in WooCommerce -> Settings -> Products -> Measurements. The values will then be interpreted as cm or m accordingly.

    The default limit is 2000m or 5000kg, but if you need to modify this, we provide a twpf_global_options filter. You can find more details here.

    As for the API logic, we use PHP 8.2. However, there are sites using older versions of WordPress and WooCommerce with lower PHP versions. To ensure the plugin works for everyone, we implemented compatibility through our API.

    Best regards,
    Vania from TigriWeb

    Thread Starter Agent 3W

    (@agent3w)

    Thank you, Vania! It worked =D

    However, I think there might be an issue with the calculation.

    Settings:

    • Allow rotation: Keep Flat (also tested with Best Fit)
    • Free package space (cm): 0
    • Free product space (cm): 0

    My packages are:

    Package 1:

    • Price (€): 1000
    • Package Weight (kg): 1000
    • Package Max Weight (kg): 22000
    • Length (cm): 5898
    • Width (cm): 2352
    • Height (cm): 2393
    • Free space (cm): 0

    Package 2:

    • Price (€): 500
    • Package Weight (kg): 500
    • Package Max Weight (kg): 11000
    • Length (cm): 2991
    • Width (cm): 2352
    • Height (cm): 2393
    • Free space (cm): 0

    Order contains the following items:

    Item 1:

    • Weight (kg): 150
    • Length (cm): 300
    • Width (cm): 160
    • Height (cm): 120
    • Quantity: 100

    Item 2:

    • Weight (kg): 50
    • Length (cm): 150
    • Width (cm): 90
    • Height (cm): 70
    • Quantity: 100

    Packaging Fit calculation result:

    • Box 1/2: Package 1
    • Box 2/2: Package 2

    Expected result: Only Package 1

    Perhaps I’m missing something. Could you please check on your end?

    Thank you.
    Best regards.

    Plugin Author Vania

    (@twvania)

    This is very interesting! I applied the same settings, and now I see Box (1/1): Package 1.

    1. https://prnt.sc/5yKzcbtIUKfC
    2. https://prnt.sc/SMLVISX990Ip
    3. https://prnt.sc/ZZyvb10cEAz7

    Could you please check if your settings match mine? I want to make sure everything is configured the same way.

    Best regards,
    Vania from TigriWeb

    Thread Starter Agent 3W

    (@agent3w)

    The settings are identical on my side. It didn’t work correctly with the first order I placed; I must have made some changes in the meantime. When I placed a new order with exactly the same products, it worked correctly just like it did for you.

    Anyway, sorry for the trouble and thank you for taking the time to look into it ??

    In any case, it’s an interesting plugin—well done and thank you for your contribution.
    I look forward to seeing future updates ??

    Best regards.
    Joffrey

    • This reply was modified 1 month, 3 weeks ago by Agent 3W.
    Plugin Author Vania

    (@twvania)

    Hi Joffrey,

    Thank you for the kind words and for the feedback!

    I’m glad to hear that the issue was resolved.

    We truly appreciate your support, and we’re excited to continue improving the plugin with future updates.

    Best regards,
    Vania from TigriWeb

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.