Thanks for the report, I'll give that a look ... eventually.
Note that the majority of my testing with OPC is with the Bootstrap template, so some of these visual wonky bits with responsive_classic have been overlooked.
Thanks for the report, I'll give that a look ... eventually.
Note that the majority of my testing with OPC is with the Bootstrap template, so some of these visual wonky bits with responsive_classic have been overlooked.
hello all,
How can make the "Confirm Order" button bigger?
I look into the css stylesheet but for ZC2.0.1 , everything is completely different from what I am used too.
I also find this in /templates/tpl_modules_opc_submit_block
but I have not idea how to inline css to it.Code:<span id="opc-order-confirm"><?php echo zen_image_button(BUTTON_IMAGE_CHECKOUT_ONE_CONFIRM, BUTTON_CHECKOUT_ONE_CONFIRM_ALT); ?></span>
Any help would be appreciated
Thank you
While the actual CSS used will depend on the active template for the site, but there should be a checkout_one.css file present in includes/templates/royal_fleur/css.
To the bottom of that stylesheet, you can add:
That, essentially, emulates Bootstrap's btn-lg class. See the w3schools docs for additional information: https://www.w3schools.com/bootstrap4...ap_buttons.aspCode:#opc-order-confirm btn { padding: .5rem 1rem; font-size: 1.25rem; line-height: 1.5; border-radius: .3rem; }
Hi, is possible to stop the account being created for 'Guest' with the two entries in the address book, here's what's up. I have an existing store with One Page Checkout installed and the Guest entry is already in the customers table. To upgrade I have a test site with the latest 2.1.0 on the responsive_classic template with One Page Checkout installed. When I empty the customers table, customers info table and address_book table from the test site, then import the tables from the existing active store with the Guest account info in all three tables it creates a new Guest account leaving two Guest accounts, 4 entries in the address book and 2 in the customer info tables having all the same data, except the user id of course. Should I delete the old entry in all three tables so I don't have a conflict later in life, not worry? Thanks
You're taking a non-standard approach to your upgrade that led to this issue. See these docs for the suggested method: https://docs.zen-cart.com/user/upgra...ing-approaches
One-page checkout's admin initialization script checks to make sure that the customer- and address-id values that it has stored to point to the guest-checkout records are still intact and re-creates them if not ... that's what's happened on your test site.
You can safely remove the older guest-customer record and the address-book records associated with that now-defunct customer record.
zen 210 and php8.0 with many mods and im getting this error every time i click a payment or shipping method, and page does not refresh with either selection,
shipping
paymentCode:[22-Dec-2024 20:10:55 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShippingSelection, IP address: 35.139.236.145 --> PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /includes/classes/order_total.php:140 Stack trace: #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(428): order_total->output() #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(92): zcAjaxOnePageCheckout->createOrderTotalHtml() #2 /ajax.php(77): zcAjaxOnePageCheckout->updateShippingSelection() #3 {main} thrown in /includes/classes/order_total.php on line 140. [22-Dec-2024 20:10:55 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updateShippingSelection, IP address: 35.139.236.145 --> PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /includes/classes/order_total.php:140 Stack trace: #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(428): order_total->output() #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(92): zcAjaxOnePageCheckout->createOrderTotalHtml() #2 /ajax.php(77): zcAjaxOnePageCheckout->updateShippingSelection() #3 {main} thrown in /includes/classes/order_total.php on line 140.
Code:[22-Dec-2024 20:13:18 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod, IP address: 35.139.236.145 --> PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /includes/classes/order_total.php:140 Stack trace: #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(428): order_total->output() #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(369): zcAjaxOnePageCheckout->createOrderTotalHtml() #2 /ajax.php(77): zcAjaxOnePageCheckout->updatePaymentMethod() #3 {main} thrown in /includes/classes/order_total.php on line 140. [22-Dec-2024 20:13:18 America/New_York] Request URI: /ajax.php?act=ajaxOnePageCheckout&method=updatePaymentMethod, IP address: 35.139.236.145 --> PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /includes/classes/order_total.php:140 Stack trace: #0 /includes/classes/ajax/zcAjaxOnePageCheckout.php(428): order_total->output() #1 /includes/classes/ajax/zcAjaxOnePageCheckout.php(369): zcAjaxOnePageCheckout->createOrderTotalHtml() #2 /ajax.php(77): zcAjaxOnePageCheckout->updatePaymentMethod() #3 {main} thrown in /includes/classes/order_total.php on line 140.