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

Can't create a child product

Started by kevin.par3, March 05, 2018, 15:08:24 PM

Previous topic - Next topic

kevin.par3

Hi,

Before, I can add a child product just by clicking the the "add child product" button from the custom field tab. But now, it suddenly stops me from creating a child product, when I tried clicking the button, I am receiving this error "Error Child product not created successfully."

I tried checking the error log and I can see these errors:

PHP Deprecated:  Non-static method VmConfig::isJ15() should not be called statically, assuming $this from incompatible context in /home/xxxxx/public_html/yyyyy/components/com_onepage/overrides/vmplugin.php on line 1414

PHP Strict Standards:  Declaration of OPCLang::sprintf() should be compatible with vmText::sprintf($string) in /home/xxxxx/public_html/yyyyy/components/com_onepage/helpers/language.php on line 29

Are these errors the one stopping me from creating the child products? If yes, how can I remove/fix those issues?

Sorry I am very new to joomla development so I am not very familiar on how it works.

Hope someone could help me here solve this issue. Thank you in advance!


Currently using VM3.2.12 on Joomla 3.8.5 PHP 5.6.32

Jörgen

Looks like You have to talk with Your One page checkout supplier.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

Or try to disable error reporting in Joomla config the time you update the code

kevin.par3

Hi Jörgen,

I was able to solve the errors I found in the error logs. I do not see any error now but I still can't create child product. When I tried to hit the add child product button, I am still receiving the same error which is "Error Child product not created successfully" and then it redirects to the product list page. Any more idea how to solve this?

I attached here the screenshot of my custom field tab, hope it might help.

Thanks in advance!

kevin.par3

Quote from: Studio 42 on March 05, 2018, 17:33:44 PM
Or try to disable error reporting in Joomla config the time you update the code


I already disabled the error reporting but I am still having the same issue

Studio 42

Milbo reported that it's solved in the new release, see http://dev.virtuemart.net/projects/virtuemart/files and get last beta
I know it's not the best solution, but you can use Vm Be pro to add child to product, you have only to modify the parent ID after product creation in Vm Be pro, see https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

kevin.par3

Quote from: Studio 42 on March 18, 2018, 12:56:13 PM
Milbo reported that it's solved in the new release, see http://dev.virtuemart.net/projects/virtuemart/files and get last beta
I know it's not the best solution, but you can use Vm Be pro to add child to product, you have only to modify the parent ID after product creation in Vm Be pro, see https://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm

I installed the virtuemart 3.2.13 r9797 but I am still having the issue regarding the adding of child product.