Page 1 of 2
Orders exceeding stock
Posted: 09 Feb 2021, 21:45
by voymacao
Hello, may i please ask your help about an issue i have with stock.
I have a cart setup based on product attributes, and for stock method i use product variations.
I have Stock checking and Stock checkout enabled, and also have Remove select option (Attribute) enabled.
When i have only 1 item in stock but i order 2 items, they are added to the cart normally.
Then, in checkout view the warning "product not available or not in stock etc" is displayed, but this doesn't restrict the order of being processed. If for example the customer doesn't see the warning, he can order normally. How can i block that order?
Re: Orders exceeding stock
Posted: 10 Feb 2021, 01:25
by Jan
Hi, please install this version:
https://github.com/PhocaCz/PhocaCart/re ... 6Beta3.zip
and let me know if you get the same problems (just install it in your Joomla administration, don't uninstall the previous version)
Jan
Re: Orders exceeding stock
Posted: 10 Feb 2021, 14:24
by voymacao
Hi Jan,
Indeed that worked thank you, cart doesn't process above stock orders now.
Please have a look at the Tags and Labels at this version.
When i installed it, all my products without a Label automatically received the first available Label.
Re: Orders exceeding stock
Posted: 10 Feb 2021, 14:45
by Jan
Hi, what exactly do you mean with Labels, can you paste screenshots of what do you exactly mean?
When i installed it, all my products without a Label automatically received the first available Label.
All items or only the newly saved?
Jan
Re: Orders exceeding stock
Posted: 10 Feb 2021, 14:56
by Jan
Ok, I found it:
FROM
Code: Select all
<field name="tags" type="phocatags" multiple="1" label="COM_PHOCACART_FIELD_TAGS_LABEL" description="COM_PHOCACART_FIELD_TAGS_DESC" class="inputbox" size="1"/>
<field name="taglabels" type="phocataglabels" multiple="1" label="COM_PHOCACART_FIELD_LABELS_LABEL" description="COM_PHOCACART_FIELD_LABELS_DESC" class="inputbox" size="1"/>
TO:
Code: Select all
<field name="tags" type="phocatags" multiple="true" label="COM_PHOCACART_FIELD_TAGS_LABEL" description="COM_PHOCACART_FIELD_TAGS_DESC" class="inputbox" size="1"/>
<field name="taglabels" type="phocataglabels" multiple="true" label="COM_PHOCACART_FIELD_LABELS_LABEL" description="COM_PHOCACART_FIELD_LABELS_DESC" class="inputbox" size="1"/>
administrator/components/com_phocacart/models/forms/phocacartitem.xml
Please test this:
https://github.com/PhocaCz/PhocaCart/re ... 6Beta4.zip
and let me know.
Jan
Re: Orders exceeding stock
Posted: 10 Feb 2021, 15:17
by voymacao
Hi Jan,
There is a phocacartitems.xml file in the path you advise, but i can't see the field name="tags" in it.
Re: Orders exceeding stock
Posted: 10 Feb 2021, 15:25
by voymacao
Installed the Beta4 and i think its fixed now, thank you.
Re: Orders exceeding stock
Posted: 10 Feb 2021, 15:47
by Jan
Ok, great to hear it.
Jan
Re: Orders exceeding stock
Posted: 10 Feb 2021, 16:12
by jpeters
hello Jan,
i am getting notified about the new beta. but joomla install can not download it (installer/update).
wrong url:
https://github.com/PhocaCz/PhocaCart/re ... 6Beta4.zip
right url:
https://github.com/PhocaCz/PhocaCart/re ... 6Beta4.zip
Re: Orders exceeding stock
Posted: 11 Feb 2021, 13:10
by Jan
Hi, beta needs to be installed manually only.