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?
Orders exceeding stock
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Orders exceeding stock
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
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
If you find Phoca extensions useful, please support the project
- voymacao
- Phoca Member
- Posts: 29
- Joined: 17 Sep 2019, 09:06
Re: Orders exceeding stock
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.
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.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Orders exceeding stock
Hi, what exactly do you mean with Labels, can you paste screenshots of what do you exactly mean?
Jan
All items or only the newly saved?When i installed it, all my products without a Label automatically received the first available Label.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Orders exceeding stock
Ok, I found it:
FROM
TO:
administrator/components/com_phocacart/models/forms/phocacartitem.xml
Please test this:
https://github.com/PhocaCz/PhocaCart/re ... 6Beta4.zip
and let me know.
Jan
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"/>
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
If you find Phoca extensions useful, please support the project
- voymacao
- Phoca Member
- Posts: 29
- Joined: 17 Sep 2019, 09:06
Re: Orders exceeding stock
Hi Jan,
There is a phocacartitems.xml file in the path you advise, but i can't see the field name="tags" in it.
There is a phocacartitems.xml file in the path you advise, but i can't see the field name="tags" in it.
- voymacao
- Phoca Member
- Posts: 29
- Joined: 17 Sep 2019, 09:06
Re: Orders exceeding stock
Installed the Beta4 and i think its fixed now, thank you.
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Orders exceeding stock
Ok, great to hear it.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: Orders exceeding stock
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
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
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Orders exceeding stock
Hi, beta needs to be installed manually only.
If you find Phoca extensions useful, please support the project