Passing zero quantity when out of stock

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #105910
    George Kantze
    Participant

    Hello there.

    Can I pass zero quantity for products out of stock?

    Now in xml I have this for out of stock products.

    I want this 0.

    Is it possible?

    • This topic was modified 1 year, 1 month ago by Omar Dabbas.
    #105911
    WPWhale
    Moderator

    Hi George,

    What shortcode you’re using to get stock? Because alg_product_stock_quantity should show 0 when out of stock.

    Omar

    #105912
    George Kantze
    Participant

    Dear Mr Omar,

    problem solved!

    I was using your plugin’s version 2.2.6. Then, I have updated to the latest version (2.5).

    Now it is produced corectly.
    <quantity>0</quantity>

    Thanks!

    #105913
    WPWhale
    Moderator

    Awesome, always available to help, George.

    Omar

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