VirtueMart Forum

VirtueMart General => Commercial Jobs => Topic started by: maxispin on March 21, 2016, 22:27:25 PM

Title: Product kits - a developer for new VM feature
Post by: maxispin on March 21, 2016, 22:27:25 PM
I need a developer for a new feature for VM. Product Kits. Result will be shared with the community.

Requirements
- Kit is composed of existing VM Products ('parts')
- Kit is similar to a current VM product
- Kit's price is a sum of its parts/content but it can be overrided
- Kit content is presented as a table in fhe Kit's FE page (Part name | Pieces in the set | VM product's description text | 'free area for text' )

E.g. 

KIT1  28 €
Description concerning KIT....

VM Product A | 1pcs (x 5 €) | .text from VM product's description .. | Some extra info text related to the kit parts|
VM Product B | 2pcs (x 10 €) | ..
VM Product C | 3pcs (X 1 €) | ...

Please PM me for negotiations.

Please see my posts about the topic http://forum.virtuemart.net/index.php?action=profile;area=showposts;u=139222  (http://forum.virtuemart.net/index.php?action=profile;area=showposts;u=139222).



ps. I :o you if you suggest Product Bundle. 
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on March 21, 2016, 23:27:33 PM
Hi,
Why not using https://breakdesigns.net/extensions/vm-product-builder for eg.
What is the problem with this plugin(i have understand that you don't want a bundle), so i can define better, what you need to develop ?
Title: Re: Product kits - a developer for new VM feature
Post by: maxispin on March 23, 2016, 15:08:57 PM
Quote from: Studio 42 on March 21, 2016, 23:27:33 PM
Hi,
Why not using https://breakdesigns.net/extensions/vm-product-builder for eg.
What is the problem with this plugin(i have understand that you don't want a bundle), so i can define better, what you need to develop ?

Or suggest Product Builder.. :o I have it. It is NOT native and it is badly designed what comes to backend and administration. It's kits are called "Custom Products". I can't link Kits under any group. (E.g., Custom motor cycles, Custom cars,,). Then products inside kits are called Groups (wth..?)

Anyway. If the store is full of kits, you lose ALL superb core functionalities VM offers. For instance, reporting. I don't need report of sub prodcuts, I need report of kits' sales.

I repeat my earlier messages, that this functionality is something that is missing the Core. Magento has it, many other webstore have it. This functionality offers VM to take a big leap to be used in areas you can't use it at the moment. Thus I am even willing to pay (reasonable amount of money to get it for all).
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on March 23, 2016, 15:32:17 PM
The problem is that if i develop it as a VM feature you have 80% chance, Max dont want add the feature.
So or you pay Max to do it on pay a member subscription to the project, or this need a plugin(and i can do it).
Title: Re: Product kits - a developer for new VM feature
Post by: maxispin on March 23, 2016, 15:42:19 PM
Max if you see this, do you have an opinion? we can speak privately also
Title: Re: Product kits - a developer for new VM feature
Post by: ciamparix on August 19, 2016, 22:19:13 PM
hello, have you solved? I too have this problem ....
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on August 19, 2016, 23:26:46 PM
HI ciamparix
I don't know if maxispin have found a solution with max. But i developped an extended product child variant.
See http://shop.st42.fr/en/products/product-child-variants.htm.
This is flexible, can display cart and why not customfields, so with some smart change, you can adapt it for your needs, most time.
Title: Re: Product kits - a developer for new VM feature
Post by: maxispin on August 23, 2016, 17:25:52 PM
No, I haven't got any solution. I am Frustrated.

I am more and more convinced that the mother product needs to be linked with sub products. Today a customer asked an add-in-product (let's say t-shirt + bag for those. I have used VM1 with product features. After the order I realized that there I have no clue if I have those add-in-products ("bags") in the inventory.

I will check Studio42's extension. Thanks.

Actually Studio42, if you have interest, please try to create in your own web shop these kits. Then you get idea what I mean. Of course, your products have no inventory but, if you use for instance 99 as an inventory amount of each electronic product then you can play with the idea.
Title: Re: Product kits - a developer for new VM feature
Post by: maxispin on August 31, 2016, 21:57:22 PM
Thanks to Studio42 that he took the project to be taken cared professionally!  :D Folks, be aware, Amazing plugin is forthcoming! :) 

I already can highly recommend Studio42 if you have any need related to VM. Clean code and really fast work.  8)
Title: Re: Product kits - a developer for new VM feature
Post by: tanolalano on September 19, 2016, 16:34:20 PM
Usefull for me too.
Studio42 we are waiting...
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on September 19, 2016, 17:10:50 PM
Quote from: tanolalano on September 19, 2016, 16:34:20 PM
Usefull for me too.
Studio42 we are waiting...
It's already finished, but we do some adjustements ;)
Included : auto price calculation(price rules have to be same for main product and products in kit), stock update and control for products in kit ...
Title: Re: Product kits - a developer for new VM feature
Post by: gap on November 06, 2016, 13:43:04 PM
Are there any news about this project? When do you plan to release it?
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on November 06, 2016, 21:13:49 PM
Hi gap, Vm3.0.18 break some code, it's why i don't published the plugin for now.
I don't want loose time each new VM release, so  i only publish it when Vm dev stop to change behavior on each release.
I have to choose, remove the auto price calculator or add all new code for prices in case you use VM3.0.17+.
If i remove price calculation from selected products, my plugin is working.
Note: this problem is not only in my plugin, and some other plugin using same method have the same problem, due to internal vm price calculation, when you try to change it after
Title: Re: Product kits - a developer for new VM feature
Post by: Milbo on November 07, 2016, 16:14:36 PM
Quote from: maxispin on March 23, 2016, 15:42:19 PM
Max if you see this, do you have an opinion? we can speak privately also
I did not see this post, yet. What is the problem with the bundle? http://extensions.virtuemart.net/product/product-bundles-detail , The other thing is the review problem. I want to write a new feature, which would combine reviews of the children and show them for the parent.
Title: Re: Product kits - a developer for new VM feature
Post by: K&K media production on November 07, 2016, 16:20:09 PM
Quote from: Studio 42 on November 06, 2016, 21:13:49 PM
I don't want loose time each new VM release, so  i only publish it when Vm dev stop to change behavior on each release.

Which changed behavior on each release? I've no adjustments for all of my extensions for vm 3.0.18.
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on November 07, 2016, 19:10:23 PM
Quote from: K&K media production on November 07, 2016, 16:20:09 PM
Quote from: Studio 42 on November 06, 2016, 21:13:49 PM
I don't want loose time each new VM release, so  i only publish it when Vm dev stop to change behavior on each release.

Which changed behavior on each release? I've no adjustments for all of my extensions for vm 3.0.18.
old selected Price array is not used anymore, so now you need to check if product->prices exist or not.
But in new way the prices names change too. So you cannot use one or other but have to update the right price names too.
I have other plugin in customers site using same method as me when you need to change main product price, but in the cart calculation, i mean that this method changed too.
So you have to modify the function plgVmPrepareCartProduct too, to set right prices.
Title: Re: Product kits - a developer for new VM feature
Post by: bortolani on November 07, 2016, 22:49:33 PM
Quote from: Milbo on November 07, 2016, 16:14:36 PM
I want to write a new feature, which would combine reviews of the children and show them for the parent.

Hi Milbo,
I wrote it already. You can see it here if you are interested: www.puffosport.it/puffo2
I also created a module to show reviews with several options.

Feel free to write a review for a product if you like.

Bruno
Title: Re: Product kits - a developer for new VM feature
Post by: K&K media production on November 08, 2016, 13:50:23 PM
Quote from: Studio 42 on November 07, 2016, 19:10:23 PM
old selected Price array is not used anymore, so now you need to check if product->prices exist or not.
But in new way the prices names change too. So you cannot use one or other but have to update the right price names too.

I've looked trough the calculationh.php log and can't find new names for the prices or other big changes.
Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on November 08, 2016, 14:14:49 PM
Quote from: K&K media production on November 08, 2016, 13:50:23 PM
I've looked trough the calculationh.php log and can't find new names for the prices or other big changes.

CHeck in a vmcustom product plugin, before in vm 3.0.16 product->prices was not existing and you had to use selected price to update right price for eg. and i don't speak about vm 2.x
dump your $product in a plugin plgVmOnDisplayProductFEVM3 and plgVmPrepareCartProduct
Title: Re: Product kits - a developer for new VM feature
Post by: Milbo on November 10, 2016, 08:51:47 AM
Patrick you misunderstood a lot.

We had always $product->prices and we could only hold ONE price. Now we have $product->allPrices, which is an array, which keeps all prices of the product. To know which price is active, we have now the $product->selectedPrice. But to keep it backward compatible, the $product->prices is set to $product->allPrices[$product->selectedPrice]

$child->prices = $child->allPrices[$child->selectedPrice];

But this price is set in getProduct, not in getProductSingle.

The trigger plgVmPrepareCartProduct is very important. In VM2, the cart takes just the form, thats it. For example a product had 3 length variants, you could buy a non existing variant, by manipulating the form. The trigger plgVmPrepareCartProduct checks the values of the form. So plugins can now verify the information/selection given by the user.

And all this was changed from vm2 to vm3.
Title: Re: Product kits - a developer for new VM feature
Post by: Milbo on November 10, 2016, 10:01:39 AM
Quote from: bortolani on November 07, 2016, 22:49:33 PM
Quote from: Milbo on November 07, 2016, 16:14:36 PM
I want to write a new feature, which would combine reviews of the children and show them for the parent.

Hi Milbo,
I wrote it already. You can see it here if you are interested: www.puffosport.it/puffo2
I also created a module to show reviews with several options.

Feel free to write a review for a product if you like.

Bruno


Yeh, then send me the code please, that I can integrate it
Title: Re: Product kits - a developer for new VM feature
Post by: baroen on December 09, 2018, 12:03:12 PM






I am aware this topic is over 2 years old, but there still seem to be no solution for this request.
Quote from: Milbo on November 07, 2016, 16:14:36 PM
Quote from: maxispin on March 23, 2016, 15:42:19 PM
Max if you see this, do you have an opinion? we can speak privately also
What is the problem with the bundle? http://extensions.virtuemart.net/product/product-bundles-detail

The problem with the Breakdesigns Product Bundle plugin is that for each product bundle one needs to create a Customfield - and not a product. That way Custom fields fill up with numerous products, imagine sets of sportshirts and shorts. For each size and color there will be a Custom field created.
The way I think this should function is like Breakdesigns Child Product plugin: create a product, add the Custom field, and then add the products which make up the product bundle from within the main products custom field.
Once the 'mail product' is bought, stock is taken from the sub-products.


Title: Re: Product kits - a developer for new VM feature
Post by: Studio 42 on December 10, 2018, 00:06:28 AM
Curiously i'm on working on a "child kit" plugin for a customer.
Demo is here http://pro.st42.fr/fr/demo/child-kit/lot-short-shirt.html
I dont implemented stock update for now, because it's a complex and had not the request from my customer.
The child prices are not used in this release, so you can define own price or discount.
It work only for parent having child (from any product in the shop) and the list is get from database so adding child in a product add this in the child Kit list too.