Bom dia!
Estou utilizando shopsystem sistema Gesior
Estou precisando que em uma compra o sistema entrega várias storage para o player.
Alguem pode me ajudar?
elseif ($data['offer_type'] == 'storagefull')
{
$offer['id'] = $data['id'];
$offer['type'] = $data['offer_type'];
$offer['storagefull'] = $data['itemid1'];
$offer['points'] = $data['points'];
$offer['description'] = $data['offer_description'];
$offer['name'] = $data['offer_name'];
}
elseif ($data['offer_type'] == 'storagefull')
{
$offer_array['storagefull'][$i_storage]['id'] = $data['id'];
$offer_array['storagefull'][$i_storage]['storage'] = $data['itemid1'];
$offer_array['storagefull'][$i_storage]['points'] = $data['points'];
$offer_array['storagefull'][$i_storage]['description'] = $data['offer_description'];
$offer_array['storagefull'][$i_storage]['name'] = $data['offer_name'];
$i_storage++;
}
else