• Resolved inspired888

    (@inspired888)


    Hi there,

    I have been unable to get the Out of stock (woocommerce-variation-availability) to display in the bar. I can see the HTML is present in the output, but I’ve been unable to get it to display, and see no reason for it to not be displaying.

    Is there anything specific required to get the availability HTML to display?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Janilyn T

    (@janilyn409)

    Hi @inspired888 ,

    For your information, our developers responded that our sticky add to cart doesn’t support stock display since the stock must be updated in the real time to show properly to customers. They said the availability is made to be hidden on the sticky add to cart bar.

    Best regards.

    Thread Starter inspired888

    (@inspired888)

    Okay. Thanks for the reply.

    That seems a bit odd to me. I don’t see why the In Stock / Out of Stock data would need to be any more “Real time” than it is on the underlying product page. Which obviously isn’t strictly real time. If the product is out of stock when the page loads, then it outputs the out of stock message on the product page. The sticky bar could just as easily do the same, without any additional issues.

    I suggest you ask your developers to rethink their logic on this particular point.

    To me it would make sense for your ATC plugin to simply output the default WooCommerce stock data that’s passed to the product page. There’s really no rational reason not to do so. Rather than intentionally blocking that data, since it’s being generated anyway for every product page when rendered.

    Thread Starter inspired888

    (@inspired888)

    Thread Starter inspired888

    (@inspired888)

    As I did into the HTML output, I am wondering if you misunderstood my question. The necessary HTML for display stock status is there in your plugin’s output. The associated containers are all set to display (and not be hidden). Yet they don’t show up in the front-end.

    My question is simply, why does it not display when it exists in the page source?

    Plugin Support Janilyn T

    (@janilyn409)

    Hi @inspired888 ,

    Our plugin will need to check the stock status, but won’t display that data in the sticky bar. Our plugin has a different design scheme from other similar plugins.

    The standard display would the same as in our live demo here: https://demo.wpclever.net/wpcsb/product/logo-collection/.

    With this plugin, we integrated many features from other WPC plugins such as smart wishlist/compare and quick view, etc. So there are different logics of what should be dislayed on the bar.

    There are some caching plugins or Inventory/Warehouse management plugins that hold stock for a certain amount of time. So our plugin will need to check the real-time of product stock in the background. But we do not have space on the bar for displaying stock.

    There is also an otion to disable the sticky add to cart on products that are unpurchasable/out of stock: https://prnt.sc/DMEDILBx6KkM.

    Best regards.

    Thread Starter inspired888

    (@inspired888)

    Okay. Thanks.

    I found a different sticky add to cart bar plugins that does what I require. So I will run with that one.

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