• Resolved Richard Bakos

    (@resonancedesigns)


    I have a client who uses Square as their POS in their brick-n-mortar store and they also use the WooCommerce Square plug-in for their site. This is a record store that has been in business for over 4 years. In their Square inventory, they have over 10k of items. Most of which are no longer ins stock and are just in their Sqaure inventory for archival/historical reasons.

    The issue is that on every import from Square, it pulls in all of that out-of-stock archival/historical inventory. We don’t want that synced into the site. It’s too much. The fact that it creates image files for every product in several resolutions eats the space up. And then there is the DB size.

    Is there a way to tell WooCommerce Square to ignore out-of-stock products when importing from Square? It would also be nice to be able to specificy a specific date range for the import. For example, tell it to only import items that were added to square within the last 30 days, or whatever.

    If these aren’t options, they should be. Having all this out-of-stock items from an inventory this large makes managing it in the site an absolute nightmare and causes the site to slow and crash. We are at 90% usage of 50GB storage. We have upgraded the VPS twice to try and accomodate the load. Be it’s unnessary load. We don’t need 75% of the inventory it’s importing. There is probably somewhere around 2200+ items that are current/in-stock out of 10k+ items in his Square inventory.

    Is there a way to possibly hack the plugin to get it to do something like this? I am good with php so any suggestions are welcome. I understand the hack would be overwritten on the next update the plugin, but I can just reimplement that hack after every upgrade until it’s implemented natively within the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @resonancedesigns

    Currently, the WooCommerce Square plugin doesn’t have a built-in feature to filter out-of-stock items or specify a date range for the import. However, being comfortable with PHP, you can customize the plugin to suit your needs.

    To achieve this, you may need to modify the function that handles the import in the plugin’s code. You could add a condition to check the stock status of each item before it’s imported. Similarly, you could add a condition to check the date the item was added to the Square inventory.

    Please note that writing or providing custom code is not within the scope of our support policy. If you are still having problems, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    Additionally, It would be great to have you add your ideas as a feature request, which is where developers go to look for future plugin features and improvements.

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter Richard Bakos

    (@resonancedesigns)

    Thank you for the reply, @shameemreza

    I will look into modifying the import function myself and check out codeable.io and wooexperts. I just need to be pointed in the right direction.

    I’m sorry to say, I have little faith in the feature request page you linked to though. I checked it out and the highest rated feature request, with 184 upvotes, is from August of 2016. The latest feature request listed is from October of 2023. I submitted my feature request and I don’t see it listed. That leads me to believe that they go through an approval process before they are submitted which I don’t remember being communicated in any way after I submitted my feature request. That or the form broke some time in October of 2023. This makes me wonder how many feature requests have been submitted since October of 2023, or at all, that have been waiting for approval or just didn’t make it through.

    Do you know anything about this?

    • This reply was modified 5 months, 2 weeks ago by Richard Bakos.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @resonancedesigns

    I understand your worries. However, rest assured that we do take all feature requests seriously. They undergo a review process to ensure they align with our development plans and user needs. The delay you’re experiencing may be due to a high volume of requests or technical issues. I apologize for any inconvenience this may have caused.

    In the meantime, I would recommend seeking help from a local web developer, Codeable.io, or WooExperts for immediate assistance.

    Thank you for your understanding and patience.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @resonancedesigns

    I’m marking this topic as “resolved” due to recent inactivity. If more assistance is needed, feel free to post back here or open a new topic.

    Thanks!

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