News:

Support the VirtueMart project and become a member

Main Menu

No limit for products in stock

Started by seweryn, September 16, 2013, 15:31:23 PM

Previous topic - Next topic

seweryn

Hi,

it is possible to give in product edit in tab 'Product status' no limit in stock?

I would to sell some unfailing products. (for example prints on paper)
Adding still some new numbers in this field is uncomfortable.

I can't use option "Products Out of Stock are orderable, no special action" because some of my products has real number in stock.
Please help, have anyone some solution for this?
I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

#1
Did you try to use 99999999999 for a stock amount? As far two types of product could be on one category page this probably is the easiest trick.

Of course unlimited products could be marked as unlimited in other ways. But I don't know is it necessary in your case. URL?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

seweryn

I think it should make system easier.

We have own application integrated with VM, so give URL is not good idea - there is polish language :)
9999999 is not good for us.

Could you give me some other way to do this?
Thanks in advance :)
I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

Quote from: seweryn on September 16, 2013, 16:51:23 PM
We have own application integrated with VM, so give URL is not good idea - there is polish language :)
It's ok. Could you just tell me names of limited and unlimited test products.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

seweryn

So problem is that unlimited number products are not displayed in Joomla. There are hidden, there are visible in our app - and I think that with only polish language it is difficult to view our idea.

You can trust me it is a necessary :)
I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

Quote from: seweryn on September 16, 2013, 17:11:51 PM
So problem is that unlimited number products are not displayed in Joomla. There are hidden, there are visible in our app - and I think that with only polish language it is difficult to view our idea.

You can trust me it is a necessary :)
I didn't know that test products are hidden. Could you help me understand your issue? Can't fight blind without seeing frontend.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

seweryn

I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

Quote from: seweryn on September 16, 2013, 16:51:23 PM
9999999 is not good for us.
But it's still necessary to mark unlimited somehow. Either as 999999, or with the help of custom fields.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

seweryn

I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

#9
I used this for showing or not showing youtube video in product details
if (!empty($this->product->customfieldsSorted['youtube'])) {
Custom field with youtube url was published in 'youtube' position.

Custom field could be used as a mark. Then you could check this mark in your condition if.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

seweryn

Hmm.. ok, for now I will be use '99999999999'. Thanks for help.
I use VirtueMart 2.0.22c & Joomla 2.5.14

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart