New Zenner
- Join Date:
- Nov 2007
- Posts:
- 17
- Plugin Contributions:
- 0
Gift Certificate only orders failing on order confirmation
I recently added gift certificates and have configured the products as virtual=yes and always free shipping=yes.
If only virtual products are in the cart, I get the followig message:
1264 Out of range value adjusted for column 'delivery_address_format_id' at row 1
in:
[INSERT INTO zen_orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, payment_module_code, shipping_method, shipping_module_code, coupon_code, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, order_total, order_tax, currency, currency_value, ip_address) VALUES ('15', 'Test Customer', '', '1313 Mockinbird Lane', '', 'Los Angeles', '90021', 'California', 'United States', '3137718151', '[email protected]', '2', ' ', '', '', '', '', '', '', '', '', 'Test Customer', '', '1313 Mockinbird Lane', '', 'Los Angeles', '90021', 'California', 'United States', '2', 'Check/Money Order', 'moneyorder', 'Free Shipping', 'free', '', '', '', '', '', now(), '1', '1', '0', 'USD', '1.00000000', '71.10.39.136 - 71.10.39.136')]
However, if I add an item that needs shipping ... everything works just fine.
It appears to me that the values being applied in the SQL insert statement are not really aligning to their corresponding columns. It looks as if the phone number is in the place where the delivery_address_format_id is supposed to be.
Anyone have any ideas on how I can fix this?
Thanks in advance,
Ficous