Hello,
So I don't know much, but I was able to figure a couple of things out with the subproducts module. I updated many of the links to the new admin menu structure. I attempted to modify my tangible products module to allow subproducts, but it is not working yet. I need help.

CommentFileSizeAuthor
subproducts.module.txt75.32 KBpyrello

Comments

gordon’s picture

Thanks for this, but can you upload patches, so we can vet them easier.

Also if you need help, and want to get this working, please drop by #drupal-ecommerce

pyrello’s picture

Thanks for this, but can you upload patches, so we can vet them easier.

I don't know how to make a patch. How is that different than the module itself?

...please drop by #drupal-ecommerce

I guess I don't know what you mean. I really do want to help. I have wanted to move to 5.0 ever since it was released. However, I am fairly novice.

Let me know how I can help and I definitely will.

Sean

pyrello’s picture

warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'subproducts_add_to_cart' was given in /home/pyrelloc/public_html/includes/form.inc on line 218.

I don't know if this is helpful, but I'm getting this message above my previously variated products.

pyrello’s picture

Version: 5.x-3.x-dev » 5.x-3.0-beta2

[an error occurred while processing this directive]

I get this message when I click on the subproducts button for a product.

neclimdul’s picture

Status: Active » Needs work

I would be happy to review any patches for this. I've made a lot of updates to subproducts in 4.7-3 and ported them to 5 but this doesn't fix all the problems.

For someone looking to work on this, one of the largest issues is the node subpages for generating variations and operating on variations. They where using a crude multistep process in 4.7 and this needs to be updated to use #multistep in 5.

pyrello’s picture

Version: 5.x-3.0-beta2 » 5.x-3.x-dev

Well, I would like to help, but I'm not sure what exactly I can do. I don't know how to create a patch (or implement one, for that matter).

I have noticed that the most recent release of the e-commerce package has fixed several of the issues for the subproducts module. Specifically, I am now able to create new variations and attributes as well as being able to generate subproducts when creating a product.

The code that puts the add to cart section is still not working.

I get this message:
warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'subproducts_add_to_cart' was given in /home/pyrelloc/public_html/includes/form.inc on line 218.

It seems that this submodule is getting really close to working.

Sean

gordon’s picture

Status: Needs work » Fixed

We have done a lot of work on this, We think it has been fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)