trying to add something like this in my shipping module
To be read in this sectionCode:foreach ($products as $product) { $data = $db->Execute( "SELECT products_freightquote_length, products_freightquote_width, products_freightquote_height " . "FROM " . TABLE_PRODUCTS . " " . "WHERE products_id = " . (int)$product['id'] . " " . "LIMIT 1" );
what is the proper wayCode:<Dimensions> <Length>ceil($data->fields['products_freightquote_length']),</Length> <Width>ceil($data->fields['products_freightquote_width']),</Width> <Height>ceil($data->fields['products_freightquote_height']),</Height> <Units>IN</Units> </Dimensions> </RequestedPackageLineItems> </RequestedShipment> </RateRequest>";


Reply With Quote
