VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: dr.spot86 on March 02, 2021, 11:45:52 am

Title: Parent Custom Field disappears!
Post by: dr.spot86 on March 02, 2021, 11:45:52 am
Hi Dear,

I have a problem with one product (say, product A).

Product A has children, and is orderable.

When I go to custom fields in product A, and select option "Disable inheriting" (so that children don't have the same config for custom fields), the same custom field disappear.

This happen (at this moment) only with that product A. I've created other product in the very same manner, and doesn't have this problem. The only difference is number of children (max 9 in other product for which options work well; 13 for product A).

Any suggestion about that?
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on March 02, 2021, 12:54:39 pm
Disable the custom field in the children if it is only this product.

Jörgen
Title: Re: Parent Custom Field disappears!
Post by: dr.spot86 on March 02, 2021, 13:44:53 pm
Disable the custom field in the children if it is only this product.

Jörgen

Thanks Jörgen

The problem is that in children I have also custom field (the same) but with different option. In particular, I'm talking about Shipment for Virtual Product plugin form iStraxx for selling digital products. In the parent I have some download, in the child others.

In another product this works well. Dunno why it happen only for this product.
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on March 02, 2021, 13:57:30 pm
Ok, but You can override this in the child if You want.

Jörgen @ Kreativ Fotografi
Title: Re: Parent Custom Field disappears!
Post by: dr.spot86 on March 02, 2021, 14:42:22 pm
Maybe I was not clear in previous post: custom field disappears from the parent. As they was never be set.

I asked this to know if it was a problem with my installation or was an issues encountered by someone else.
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on March 02, 2021, 15:45:21 pm
You Said that you changed this in parent product a. Yes you were unclear.
Jörgen
Title: Re: Parent Custom Field disappears!
Post by: dr.spot86 on March 02, 2021, 16:32:39 pm
I don't understand if you're ironic.

Anyway...

The question is: did anyone have the same? Is it a bug in VirtueMart or is it a problem with my installation?

A video showing the problem is here: https://drive.google.com/file/d/1kSsC59NkATSfJLRqifQiePGEqF8wiJ3m/view?usp=sharing (https://drive.google.com/file/d/1kSsC59NkATSfJLRqifQiePGEqF8wiJ3m/view?usp=sharing)

A. A product with child products is saved without problems.

B. Another product with child products, on the other hand, deletes the newly created custom field when saved.

VirtueMart version is 3.8.8
Joomla! version is 3.9.24
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on March 02, 2021, 21:23:57 pm
Please reread your first post. You are only talking about changing settings in the parent product. No ironi, you are unclear. That is why I told you to change settings in Child product, since you told me you only did it for parent.

Jörgen
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on March 02, 2021, 21:25:28 pm
Have you checkers your browser console for jscript errors.
Jörgen
Title: Re: Parent Custom Field disappears!
Post by: dr.spot86 on April 27, 2021, 10:41:37 am
Sorry if I doesn't reply anymore. Anyway, I understand what you said and fixed the "problem" ;)

Very thanks
Title: Re: Parent Custom Field disappears!
Post by: Jörgen on April 27, 2021, 12:21:00 pm
Then please tell us what you did.

Jörgen
Title: Re: Parent Custom Field disappears!
Post by: dr.spot86 on April 27, 2021, 15:22:21 pm
The problem I report was a cache problem.  :-\

Anyway, in regards to parent / child products, I create a structure like this:

- Parent product: Generic child variant in custom fields (not an option, and not orderable)
- Child products: orderable

Title: Re: Parent Custom Field disappears!
Post by: Jörgen on April 27, 2021, 16:05:04 pm
Ok