Skip to content

Cannot increase qty if stock count unlimited #324

@tom-rice

Description

@tom-rice

When viewing a product page, if the product is set to "Unlimited" stock, I am seeing a value of 0 the max="" box on the quantity input box. This prevents clicking the "Up" arrow to increase the stock count.

The quantity input on the product modal popup or on the cart page do not have this issue. It's only a problem in blocks/vivid_product/view.php

I think it just needs this added to the if condition on line 143 of blocks/vivid_product/view.php, as I see you've done on elements/cart_modal.php:
|| $product->isUnlimited()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions