Hi,
I use Drupal Commerce 1.7. Will this module also work for just commerce with product entities?
greetings, Martijn

Comments

Daemon_Byte’s picture

Hei,

I believe it will work as it uses standard modules to provide the functionality but I do not have a normal commerce setup yet to test it. If you can I would be grateful if you could try it out and let me know

tr33m4n’s picture

Seems to be working perfectly for me :) Thanks

Daemon_Byte’s picture

Status: Active » Closed (works as designed)

awesome I will update the description

eme’s picture

Version: » 7.x-1.x-dev
Category: Support request » Feature request
Issue summary: View changes
Status: Closed (works as designed) » Active

Well, to make it work without commerce backoffice and the bunch of modules that come with it, what is needed is to :

> Remove dependency in the .info file.
> Take this into account into the code with just :

  if (module_exists('commerce_backoffice_product')) {
    commerce_backoffice_product_variation_type_form_submit($form, $form_state);
  }
  else {
    commerce_product_ui_product_type_form_submit($form, $form_state);   
  }
eme’s picture

Note that it will therefore duplicate only the product variation and will not create a product display (node type).

summit’s picture

Hi, place code #4 in function commerce_clone_product_variation_clone_form_submit($form, &$form_state) {

- commerce_backoffice_product_variation_type_form_submit($form, $form_state);
+ if (module_exists('commerce_backoffice_product')) {
+   commerce_backoffice_product_variation_type_form_submit($form, $form_state);
+  }
+ else {
+    commerce_product_ui_product_type_form_submit($form, $form_state);
+ }

Greetings, Martijn

Daemon_Byte’s picture

Would love to but I still have no access to my git repo because the version control tab is not working. So far my ticket has been bounced and forgotten about :(

summit’s picture

Hi,
I noticed following notice:

Notice: Undefined index: multilingual in commerce_product_ui_product_type_form_submit() (regel 166 van /sites/all/modules/commerce/modules/product/includes/commerce_product_ui.forms.inc

greetings, Martijn

frank hh-germany’s picture

Module is not working on CK 2.39

I cloned a Product Type and then i see the new one withot "edit" and "delete" funktion.

Then i look in fields. An there are no fileds implementing.

By the way.

This module is over 3 yaehrs in the dev-status. Schade!

Daemon_Byte’s picture

I hadn't realized this was still set to active. I thought I had killed off all the commerce projects I was involved in. After there were big changes in commerce code making the module not work as intended I didn't have the time to update it as I no longer use drupal commerce (having swapped to magento). I also believe there is another module already doing something similar so maybe you can look at using that? I'm afraid I can't remember its name.

frank hh-germany’s picture

Thanks for the info and that you are overflowed to eBay!!!

https://en.wikipedia.org/wiki/Magento