• Hello, I am using your plugin with Elementor PRO and Elementor custom skin. I can’t render the countdown.
    I have created the product archive with elementor templates system and added the Add to cart button: https://snipboard.io/GQZKkn.jpg
    I waited, in case the product is in someone’s else cart, there will be a countdown, instead of Add to cart button, but there is not. How can I do it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Ok, change – my client doesn’t require for countdown. Just do something like this –
    If product is reserved by a user, could display “RESERVED” instead of add_to_cart button? Is this possible?

    I can try to code custom snippet, however, I suppose – there should be some hook or function, or variable, or something, which I can hang on. Something like

    if($product->is_reserved) {
    //display RESERVED string
    } else {
    //display add_to_cart button
    }

    Is something like that possible?, Now my add_to_cart button simply disappear…

    Plugin Author James Golovich

    (@jamesgol)

    Here is a PHP snippet that shows how you can get the actual and virtual stock quantities. This should help you do what you need.

    It sounds like you’ve got 3 states you care about: ‘In Stock’, ‘Out of Stock, due to items in carts’, and ‘Out of Stock’

    https://gist.github.com/jamesgol/3d00dea11b1a0ea9e67f178739a64b51

    Yeah, sure mate. I will have only one stock from each product.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Compatibility with Elementor?’ is closed to new replies.