Decimal Compatibility with ShipStation

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #104002
    Daryl
    Guest

    Hello Tom,
    I will be purchasing your plugin to allow decimal quantities in my WooCommerce shop. The free version is working great so far. However, once the WooCommerce order is sent to ShipStation (which I use to manage all of my shipments) the quantity is rounded up (example: a qty of 4.75 gets rounded up to 5).

    I have investigated and this appears to be a limitation by Shipstation as they do not support decimal quantities (bummer on them). I believe that I would be able to work around their limitation by adding WooCommerce “Order Item Meta” (for example: “Item quantity: x.xx”) which gets pulled into Shipstation’s XML import under the “[Item Options]” data field. Then I could display it on my packing lists in Shipstation and not need to worry about ShipStation’s lack of decimal quantity support.

    Is this something you could possibly add to the next version of the plugin? I do not have much experience writing custom code for WooCommerce and feel that even if I was able to customize your plugin successfully, my changes would be lost upon the next plugin update. Thank you so much for your time and for your excellent plugin.

    • This topic was modified 1 year, 6 months ago by Omar Dabbas.
    #104003
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Daryl,

    Sorry for such a late reply. We’ve just released new plugin version 1.7.0, where I’ve added new “Save quantity in order item meta” option to “WooCommerce > Settings > Product Quantity > Advanced”. You can also set your own custom meta key there. I believe this is what you need, however, while adding this code to the plugin I’ve noticed that quantity should be already saved in order items meta by default, with _qty meta key.

    Hope that helps.

    #104004
    Daryl Auclair
    Participant

    Hi Tom, thank you so much for including my request in the update. I am happy to report that my decimal quantities are now working in ShipStation! I had to set the meta key to: “Length (yd)” and it started working right away. You are a lifesaver, thank you so much, I am checking out your other plugins now too!

    #104005
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Daryl,

    Happy to hear it helped. Let me know if you need anything else.

    And if you like the plugin, please consider leaving me a rating.

    #104006
    Daryl Auclair
    Participant

    I have a Woocommerce Product with only .75qty left in stock. The minimum order quantity is set to .75 and the customer can add .75 to cart successfully. However, on the Cart page the Quantity column is blank. There is no Input button and I can see using developer tools that there is only a hidden Input field: . Can this be changed so that the cart will display .75 qty to the user as text instead of just a blank space? I can share a screenshot if you need it, thanks!

    #104007
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Daryl,

    Yes, a screenshot would definitely help (you can send it to me to [email protected]). Not sure if I understood it correctly though – is cart not showing *all* decimal quantities properly, or is it only with 0.75, and for example, 1.5 shows normally?

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