QTpro
Addon is Allowing to add qty more than stock defined - QTpro
Addon is Allowing to add qty more than stock defined
Hi dear;
Using 1.0.8.15;
I added track options on a attribute drop down.
Example-
I define 3 attributes-
A - stock 3
B- stock 2
C- stock 4
But the customer is still able to add more than the qty. defined for the selected attribute on the product page.
Example-
I am still able to add 10 pcs of C although stock is of 4.
It does not show any alert or message stating the customer to not add more than the available qty.
Please can you help me with the above issue;
Thanking you in advance;
Very Warm Regds/
radhavallabh
Using 1.0.8.15;
I added track options on a attribute drop down.
Example-
I define 3 attributes-
A - stock 3
B- stock 2
C- stock 4
But the customer is still able to add more than the qty. defined for the selected attribute on the product page.
Example-
I am still able to add 10 pcs of C although stock is of 4.
It does not show any alert or message stating the customer to not add more than the available qty.
Please can you help me with the above issue;
Thanking you in advance;
Very Warm Regds/
radhavallabh
-
- VIP Member
- Posts: 369
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Addon is Allowing to add qty more than stock defined
Do you have track stock enabled for these attributes? Please post screenshots and which exact drop down module you are using.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1212
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Addon is Allowing to add qty more than stock defined
Yes dear track stock enabled;raiwa wrote:Do you have track stock enabled for these attributes? Please post screenshots and which exact drop down module you are using.
It is using the pad_multiple_dropdowns to fetch the attributes.
Attaching screenshot of a dropdown with tracked options dear. Attaching admin screenshot as well dear-
-
- VIP Member
- Posts: 369
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Addon is Allowing to add qty more than stock defined
It works like expected. QtPro does not look on what has been already added to the cart. It only prevents adding an option (combination) if there is no stock.
See screenshot: Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
See screenshot: Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1212
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Addon is Allowing to add qty more than stock defined
Hi dear ;raiwa wrote:It works like expected. QtPro does not look on what has been already added to the cart. It only prevents adding an option (combination) if there is no stock.
See screenshot: Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
Sorry for delay in reply;
I tried again the above too,
On the product page-
The message appears only when stock is 0 from the beginning on the attribute.
If tracked-stock of the attribute is 2 and the quantity to add is 4 it does not show the above out of stock message dear.
That is the main issue I am facing....
Please can you help me fix it dear;
Thank you in advance;
Regds./
radhavallabh
-
- VIP Member
- Posts: 369
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Addon is Allowing to add qty more than stock defined
radhavallabh wrote:Hi dear ;raiwa wrote:It works like expected. QtPro does not look on what has been already added to the cart. It only prevents adding an option (combination) if there is no stock.
See screenshot: Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
Sorry for delay in reply;
I tried again the above too,
On the product page-
The message appears only when stock is 0 from the beginning on the attribute.
If tracked-stock of the attribute is 2 and the quantity to add is 4 it does not show the above out of stock message dear.
That is the main issue I am facing....
Please can you help me fix it dear;
Thank you in advance;
Regds./
radhavallabh
It's how it works. What you request is not implemented.
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1212
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Addon is Allowing to add qty more than stock defined
Hi dear;raiwa wrote:radhavallabh wrote:Hi dear ;raiwa wrote:It works like expected. QtPro does not look on what has been already added to the cart. It only prevents adding an option (combination) if there is no stock.
See screenshot:
Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
Sorry for delay in reply;
I tried again the above too,
On the product page-
The message appears only when stock is 0 from the beginning on the attribute.
If tracked-stock of the attribute is 2 and the quantity to add is 4 it does not show the above out of stock message dear.
That is the main issue I am facing....
Please can you help me fix it dear;
Thank you in advance;
Regds./
radhavallabh
It's how it works. What you request is not implemented.
One more issue I get below error if I add out of stock tracked stock products to the cart. Please can you help with the issue;
Very Warm Regds./
radhavallabh
-
- VIP Member
- Posts: 369
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Addon is Allowing to add qty more than stock defined
In templates\override\includes\hooks\shop\siteWide\qtPro.php,
change line 157 to:
change line 157 to:
Code: Select all
$stock = $attributes_stock_array[$attr_list]?? 0;
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1212
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact:
Re: Addon is Allowing to add qty more than stock defined
Thank you dear!!raiwa wrote:In templates\override\includes\hooks\shop\siteWide\qtPro.php,
change line 157 to:Code: Select all
$stock = $attributes_stock_array[$attr_list]?? 0;
Very Warm Regds./
radhavallabh
-
- VIP Member
- Posts: 369
- Joined: Tue Oct 27, 2020 4:09 am
- Contact:
Re: Addon is Allowing to add qty more than stock defined
I thought about and will try to add it in the next update.raiwa wrote:radhavallabh wrote:Hi dear ;raiwa wrote:It works like expected. QtPro does not look on what has been already added to the cart. It only prevents adding an option (combination) if there is no stock.
See screenshot: Your case must be managed by the Configuration: Stock: "Allow Checkout"-> false option when trying to checkout.
Sorry for delay in reply;
I tried again the above too,
On the product page-
The message appears only when stock is 0 from the beginning on the attribute.
If tracked-stock of the attribute is 2 and the quantity to add is 4 it does not show the above out of stock message dear.
That is the main issue I am facing....
Please can you help me fix it dear;
Thank you in advance;
Regds./
radhavallabh
It's how it works. What you request is not implemented.
Best wishes
Rainer
Public Phoenix Change Log Cheat Set on Google Sheets
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
https://docs.google.com/spreadsheets/d/ ... sp=sharing
Need Help?viewtopic.php?f=10&t=27
-
- PhoenixCart Developer
- Posts: 1212
- Joined: Sat Dec 21, 2019 8:08 am
- : Buy Me A Beverage
- Contact: