Jump to content

Get Products from Nexus


johnkras

Recommended Posts

Hi, i am making a plugin and i need to get latest purchases for each member.
I tried to add the following as Setting
 

$form->add( new \IPS\Helpers\Form\Node( 'custom_prod', ( \IPS\Settings::i()->custom_prod ) ? explode( ',', \IPS\Settings::i()->custom_prod ) : 0, FALSE, array( 'class' => 'IPS\nexus\Package\Group', 'zeroVal' => 'all', 'multiple' => TRUE ), NULL, NULL, NULL, 'custom_prod' ) );
		

However  each time i choose and saves it doesnt save the ones i selected.

Edited by johnkras
Link to comment
Share on other sites

20 minutes ago, johnkras said:

Well, i don't own knowledge into plugin creation right now. Maybe the official documentation will help you : https://invisioncommunity.com/developers/docs/development/plugins/overview-of-plugins-in-ips4-r41/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...