VirtueMart Forum

VirtueMart 2 + 3 => General Questions => Topic started by: Mister Paul on September 26, 2018, 22:20:48 pm

Title: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on September 26, 2018, 22:20:48 pm
Hi,

I had a VirtueMart 1.1.4 eshop that I’m upgrading to the last versions of Virtuemart and Joomla.

At that time there were downaloadable products. For each book I created a parent product, and 2 children products:
- 1 printed version of book
- 1 dowloadable, ebook, versoin of the book

Now it seems that’s it’s no more possible to sell virtual products from a standard VM Install.
What would be your advise to let me sell easily these 2 variants of a product (deliverable / downloadable)?

Thanks for your help
Paul
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Studio 42 on September 26, 2018, 22:35:40 pm
You have to buy this plugin https://extensions.virtuemart.net/checkout/shipments/shipment-for-virtual-products-detail
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Milbo on September 27, 2018, 21:22:02 pm
Thank you Patrick.

I am going to add a light version of the download plugin to the core. Mister Paul, the plugin is written by me and provides a lot more features than the vm1 builtin feature.
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on September 27, 2018, 21:46:20 pm
Thank you both

I bought today your plugin.
 ;)
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on October 19, 2018, 14:34:30 pm
I’d need your advice.
As this plugin allow to download products, I'd need to know how I could manage virtual stock.

As I said before with the Virtuemart version 1.14 when I was selling books, I created a parent product with 2 childs:
- printable version with its own stock
- downloadable version with only 1 in stock. And the stock was not decreased after each purchase as it was virtual: Virtuemart managed that perfectly. It was fine.

But now it’s decreased and could run out of stock.

How could I manage that?
(without setting 1000 in stock)
 ;D
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: GJC Web Design on October 19, 2018, 14:41:20 pm
why not just set 10000000 stock?
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on October 19, 2018, 14:44:16 pm
 8)
Just because the stock is shown. And clients see it.
So that would be only an ugly trick…
 ;)
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: GJC Web Design on October 19, 2018, 17:10:23 pm
hide the stock with css
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on October 19, 2018, 17:25:56 pm
or remove all downloadable products should do the trick too...
 ;)

I can't believe that there's no way to manage virtual products stock in Virtuemart...
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Studio 42 on October 19, 2018, 18:21:44 pm
you have to check if the downloadable customfield plugin is set in the product object and not render the stock level if it's the case.
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Milbo on October 24, 2018, 09:41:24 am
I wonder that you show the stock in general. As far as I know the stocking feature and display of the stock are different things.

I suggested you to disable stocking and to set the stock for the virtual product to 0, so you will get negative stocking. You answered that is not Pro, but from my point of view it is more pro than the vm1 method. You can so see how often you sold the virtual product, in vm1 you had to use the revenue report only (which creates a bit different results).

Important to mention, you can configure the stock handling PER product. But you must enable that in the vm config "Stockhandling on product level". This way you can use all the stocking features for prints (waiting list for example) and just configure the virtual product without stock handling.
Title: Re: 1 Product with 2 childs : Downloadable / Deliverable
Post by: Mister Paul on November 10, 2018, 15:51:59 pm
Important to mention, you can configure the stock handling PER product. But you must enable that in the vm config "Stockhandling on product level". This way you can use all the stocking features for prints (waiting list for example) and just configure the virtual product without stock handling.

Thanks Milbo
And sorry for late reply...

I tried your suggestion but couldn't make it work yet. Could you help me please?

• I checked "Stockhandling on product level" in general Configuration:
https://bit.ly/2SbsaHI

• In the downloadable Product, in "Product Status" I selected these parameters:
https://bit.ly/2TEvlt0
But it doesn't work: I still get the global config "Notify me" and no "Add to cart" button


I missed something?
(I use VirtueMart 3.4.0 for now and I'll update it soon but later)

Thanks for your help
Paul