No problems ... I'm working through another issue but hope to have v2.0.4 ready for release by the weekend.
Printable View
Just ran through the check on this.
Works fine whether OPC is on or off.
Works fine if OPC is on and Guest is off.
Fails as 0kb when using Guest Checkout.
Not a bug, but possibly something to consider in future. Do we really need to collect data on a free download? In the case of haredo.com, we're happy to let anyone have the file without gathering their info. Might be different for a brick and mortar. Just an item for thought.
As always, thanx for your work. Can we someday do a Vulcan mind-meld. Even if partially successful, I would be SO much wiser. :hug:
The results of the debug with OPC Guest enabledAND the larger will not fit. Available by email if needed.Code:2018-07-12 18:00:54 OnePageCheckout: updateOrderAddresses, on entry:order::__set_state(array('info' =>
array (
'order_status' => '1',
'currency' => 'USD',
'currency_value' => '1.00000000',
'payment_method' => NULL,
'payment_module_code' => NULL,
'coupon_code' => NULL,
'shipping_method' => '',
'shipping_module_code' => NULL,
'shipping_cost' => 0,
'subtotal' => 0,
'shipping_tax' => 0,
'tax' => 0,
'total' => 0,
'tax_groups' =>
array (
),
'comments' => '',
'ip_address' => '**.***.***.***',
),
'totals' =>
array (
),
'products' =>
array (
),
'customer' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'format_id' => 0,
'telephone' => NULL,
'email_address' => NULL,
),
'delivery' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
),
'content_type' => 'virtual',
'email_low_stock' => NULL,
'products_ordered_attributes' => NULL,
'products_ordered' => NULL,
'products_ordered_email' => NULL,
'attachArray' => NULL,
'billing' =>
array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
),
))OnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => false,
'isEnabled' => true,
'tempAddressValues' => NULL,
'guestCustomerInfo' => NULL,
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => true,
'billtoTempAddrOk' => true,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))
2018-07-12 18:00:54 OnePageCheckout: updateOrderAddresses, , , 0, 0array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'format_id' => 0,
'telephone' => NULL,
'email_address' => NULL,
)array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
)array (
'firstname' => NULL,
'lastname' => NULL,
'company' => NULL,
'street_address' => NULL,
'suburb' => NULL,
'city' => NULL,
'postcode' => NULL,
'state' => NULL,
'zone_id' => NULL,
'country' =>
array (
'id' => NULL,
'title' => NULL,
'iso_code_2' => NULL,
'iso_code_3' => NULL,
),
'country_id' => NULL,
'format_id' => 0,
)
2018-07-12 18:00:58 checkout_one_observer: checkout_one redirect: array (
'main_page' => 'checkout_shipping',
)
2018-07-12 18:00:58 checkout_one: CHECKOUT_ONE_ENTRY, version (2.0.4-beta5 (2018-07-12)), Zen Cart version (1.5.5a), template (******)
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not setOnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => false,
'isEnabled' => true,
'tempAddressValues' =>
array (
'ship' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
'bill' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
),
'guestCustomerInfo' => NULL,
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => true,
'billtoTempAddrOk' => true,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:00:58 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:01:00 checkout_one: CHECKOUT_ONE_ENTRY, version (2.0.4-beta5 (2018-07-12)), Zen Cart version (1.5.5a), template (haredo)
2018-07-12 18:01:00 OnePageCheckout: Using 'string' database types instead of 'stringIgnoreNull' for Zen Cart 1.5.5a.
2018-07-12 18:01:00 OnePageCheckout: startGuestOnePageCheckout, exit: sendto: not set, billto: not setOnePageCheckout::__set_state(array(
'isGuestCheckoutEnabled' => true,
'registeredAccounts' => false,
'guestIsActive' => true,
'isEnabled' => true,
'tempAddressValues' =>
array (
'ship' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
'bill' =>
array (
'gender' => '',
'company' => '',
'firstname' => '',
'lastname' => '',
'street_address' => '',
'suburb' => '',
'city' => '',
'postcode' => '',
'state' => '',
'country' => 223,
'zone_id' => 47,
'zone_name' => 'Ohio',
'address_book_id' => 0,
'selected_country' => 223,
'country_has_zones' => true,
'state_field_label' => '',
'show_pulldown_states' => true,
'error' => false,
'error_state_input' => false,
'validated' => false,
),
),
'guestCustomerInfo' =>
array (
'firstname' => '',
'lastname' => '',
'email_address' => '',
'telephone' => '',
'dob' => '',
),
'guestCustomerId' => 645,
'tempBilltoAddressBookId' => 742,
'tempSendtoAddressBookId' => 743,
'dbStringType' => 'string',
'customerInfoOk' => false,
'billtoTempAddrOk' => false,
'sendtoTempAddrOk' => false,
'isVirtualOrder' => true,
'billtoAddressChangeable' => true,
'shiptoAddressChangeable' => NULL,
'sendtoAddressChangeable' => true,
))
@dbltoe, did you enable the site's download page as valid for use during guest-checkout (Configuration->One-Page Checkout Settings->Guest Checkout: Pages Allowed Post-Checkout)?
On my test setup, I was receiving a login timeout when attempting to download a download from the post-checkout "success" page until I changed the above setting. I'll need to add that to the OPC's start-up configuration documentation.
:blush:
No I did not, and yes it works with the download page added.
Excellent, thanks for posting back. I'll get the OPC's readme instructions updated to reflect that requirement.
Update: After rethinking, I'll update the OPC's admin-level initialization to set the download page as the default for that setting.
Sounds like a plan. I was tempted to be completely facetious and ask, "what readme?":D
Thanks for your work this busy day.
That change to the OPC's installation script is now posted on the GitHub repository.
... and I realize that most people don't RTFM (and never will).
I am currently working on a new website using zen cart 1.5.5f with responsive Sheffield blue template.
I installed OPC 2.0.3 and everything works however I need it to work with order delivery date.
I did all the changes as requested but I can t get the calendar to display ( see Screenshot)
I can input any date in it but it is not being reflected on the order. I am getting delivery date of 11/30/1999 00:00:00 in admin
Please any help would be appreciated. I need both of these to work together for a flower shop business
Thank you
here is the screenshot
Attachment 17971