News:

Support the VirtueMart project and become a member

Main Menu

Warning: No entry found in shipment for order id#

Started by vis18neu, September 04, 2019, 16:43:25 PM

Previous topic - Next topic

vis18neu

Hi,
We have Joomla 3.9.11 and VM 3.6.0 websites. Since upgrade to VM 3.6.0 when we open any of the latest (post-upgrade) orders on any of two websites we checked, we can see the order but with the following message:

Warning:
No entry found in shipment for order id # (some number)

In addition, all of the sudden mails with the order are not being sent to the vendor. Is there something we have to change in VM configuration?

Thanks

EDIT: We just noticed that mails are not sent when order is made, but if administrator changes order status in backend, mails about that change are sent to both vendor and customer. Error message still shows on details of individual orders.

vis18neu

Does anyone have any idea what the error message that appears in our VM orders (No entry found in shipment for order id #) mean and what should be done so that orders function again without the problem? Thanks.

GJC Web Design

it comes from the weight_countries shipping plugin when it can't find an entry to display on the VM admin order page

function getOrderShipmentHtml ($virtuemart_order_id) {

$db = JFactory::getDBO ();
$q = 'SELECT * FROM `' . $this->_tablename . '` '
. 'WHERE `virtuemart_order_id` = ' . $virtuemart_order_id;
$db->setQuery ($q);
if (!($shipinfo = $db->loadObject ())) {
$msg=vmText::sprintf('VMSHIPMENT_WEIGHT_COUNTRIES_NO_ENTRY_FOUND', $virtuemart_order_id);
vmWarn ($msg);
vmDebug($msg, $q . " " . $db->getErrorMsg ());
return '';
}


so u need to do a bit of investigation why it can't find an entry in the #__virtuemart_shipment_plg_weight_countries table for a particular virtuemart_order_id
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

vis18neu

Thank you for your response.

We realized that shipping is the problem, but we did not have this problem prior the upgrade to VM 3.6.0, the same as we did not have a problem sending e-mails to the vendor (and we have no idea whether the two are somehow connected).

Web shop has delivery option 'Collection at the store' and payment option 'Payment on collection in the store'. They don't cost anything so we wonder whether this problem is caused by value 0 for cost in both options? If that is so, can we somehow resolve this issue while keeping these delivery and payment options?

Hope we can find the solution. Thanks.