News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Childs products list dissapear when apply custom field to child.

Started by eag, January 02, 2014, 23:45:22 PM

Previous topic - Next topic

eag

The situation is as follows:
I created two custom fields:

  • Custom Field Type: 'Generic child variant'

  • Title: 'child'

  • Show Title: 'Yes'

  • Published: 'Yes'

  • Parent: 'None'

  • Cart Attribute: 'No'

  • Description: ''

  • Default:''

  • Tooltip:''

  • Layout position: 'ontop'

  • Admin only: 'No'

  • Is a list?   'No'

  • Hidden: 'No'

  • Custom Field Type: 'String'

  • Title: 'test string'

  • Show Title: 'Yes'

  • Published: 'Yes'

  • Parent: 'None'

  • Cart Attribute: 'No'

  • Description: ''

  • Default:''

  • Tooltip:''

  • Layout position: 'onbot'

  • Admin only: 'No'

  • Is a list?   'No'

  • Hidden: 'No'


I create a new product, 'Product 1', and I assign the custom field 'child', I create products 2 children 'Product child 1' and 'Product child 2'.
The 'Product 1' is marked as unpublished and children products are marked as published.

By accessing the product page 'Product child 1' or 'Product child 2', appears the list of childs products, in this case two.

But when I assign the custom field 'test string' a child product, when accessing their product page, the list of childs products no appears, has disappeared.

How I can fix it? Each child product should have its own custom fields product information, at the same time should be displayed the list of other childs products

I find that debugging information in the object of the custom fields used to build the list of products childs is missing. specifically: $ this-> product-> customfieldsSorted ['ontop'] does not exist on the object.

thanks in advance

VM 2.0.26a
Joomla 2.5.17

Modify:
I continued searching the forum, I found another thread, I think is the same problem that I expose in mine. I do not know how to proceed, if I ask you to move, delete or link it.

this is the link:
http://forum.virtuemart.net/index.php?topic=99299.msg378861#msg378861

eag

is this a bug or a normal behaviour?

I need configure "no cart attribute" custom fields for each child product

Milbo

It is not a bug, but not desired. We have enhanced this drastically for vm2.1. There will be a beta release for testing soon.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

eag

Thanks for the reply.

Is there somewhere where you can see the planned dates for new releases as 2.1?

I only found this information: http://dev.virtuemart.net/projects/virtuemart/wiki/Roadmap but does not indicate dates.

alexxsav

Hello all. Have same problem with child and with  sm-planet.net we  do it. I use this solution to show brother child in chald page
http://sm-planet.net/index.php?option=com_content&view=category&layout=blog&id=8&Itemid=110
Use this option
@Added option to prevent overriding whole Catproduct settings if you use VM "Overwrite plugin values of the parent" for child product. This made "brothers" not visible, so check this setting if you overriding plugin values and you want to show whole group of products on child product details page.@
Thanks this team for fast work.

csho

Hello I have a similar problem,
After choosing one of the child products from child variant option when i view the parent, the selected product is the only option in the child variant option.
I have to page back in order to reselect my child products.

I have checked Parent Orderable (which i want) and Display parent as option (which i also want).

In my child products I have check overwrite plugin something box in order to have different related products for each variant.

Also Showing Product Sku,Weight etc doesn't work, it always shows product name as an option.

I hope this helps to find out what is wrong.
Thanks in advance.

Milbo

Quote from: alexxsav on January 30, 2014, 14:28:29 PM
Hello all. Have same problem with child and with  sm-planet.net we  do it. I use this solution to show brother child in chald page

This layout is part of this http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail . You can buy the layout from another developer, but if you want to support the virtuemart project,.... at least you should buy it here then http://extensions.virtuemart.net/products/catproduct-detail

csho, which custom do you use? the dynamic child variant?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

csho

Quote from: Milbo on June 23, 2014, 09:53:31 AM
Quote from: alexxsav on January 30, 2014, 14:28:29 PM
Hello all. Have same problem with child and with  sm-planet.net we  do it. I use this solution to show brother child in chald page

This layout is part of this http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail . You can buy the layout from another developer, but if you want to support the virtuemart project,.... at least you should buy it here then http://extensions.virtuemart.net/products/catproduct-detail

csho, which custom do you use? the dynamic child variant?

Generic Child varaiant.

Generally the option is quite bugged,  i managed to make it work if i remove all custom fields from child, apply a single related product and click the option "overwrite parent plugin values".

Only then it worked propertly having all information of parent and different related products. This is not a real solution but it worked for me.

As for "Also Showing Product Sku,Weight etc doesn't work, it always shows product name as an option." that wasn't fixed, i did a work around by modifing some VM core files and using "note" field for naming the product. The solution of this is posted by someone in the forum.

Milbo

Is all perfectly done in vm3, it is the main milestone of vm3
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/