I’m sure Im just missing something simple. I created a custom post type called “packages” for each package I used piklist to create a checkbox group and a addmore group for pricing. The problem Im having is when I check a box for one package it checks the box in all packages. the same goes for the addmore field. For the add more I have two fields a price group name and a price group price. When I add a name and price in a package it adds it to all packages. I listed my add more field code below:
<?php
/*
Title: Pricing
Post Type: packages
*/
piklist(‘field’, array(
‘type’ => ‘group’
,’field’ => ‘pricing’
,’label’ => __(‘Pricing Groups’)
,’list’ => false
,’description’ => __(”)
,’add_more’ => true
,’fields’ => array(
array(
‘type’ => ‘text’
,’field’ => ‘group_name’
,’label’ => __(‘Group Name’)
,’required’ => true
,’columns’ => 8
)
,array(
‘type’ => ‘text’
,’field’ => ‘group_price’
,’label’ => __(‘Price’)
,’columns’ => 4
)
)
));
Thanks in advance,
Michael
Dominant Domains LLC