View Issue Details

IDProjectCategoryView StatusLast Update
0002894Composr website (compo.sr)[All Projects] General / Uncategorisedpublic2016-10-21 21:01
ReporterMachiavelis ConstantineAssigned ToChris Graham 
SeverityMajor-bug 
Status resolvedResolutionfixed 
Summary0002894: Buy button is not checking the stock before adding to cart
DescriptionWith Catalogue category embedding (main_cc_embed)

The "buy" button do not check the stock number before adding to cart, so if we are out of stock, still send the item to the cart, then the user can "buy" it with paypal with no check.

If you "view" the item, then press Buy (using the product page instead) then it do check if the stock is bigger than 0 if not, we got an error message saying that the item is out of stock.

I would expect the same behavior from the buy button of the Catalogue category embedding (main_cc_embed)

It might be a "big" flaw.
Steps To Reproduce1- Add the Main_cc_embded in a comcode page
2- add a product to sell in the catalogue
3- Using the main_cc_embded, press the "buy" button
4- Even if the stock is at "0" still add the item to the cart
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-10-20 18:22 Machiavelis Constantine New Issue
2016-10-21 21:01 Chris Graham Status non-assigned => resolved
2016-10-21 21:01 Chris Graham Resolution open => fixed
2016-10-21 21:01 Chris Graham Assigned To => Chris Graham
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised