Hi,
I want to create a product with a price of 0 that can be ordered from the normal website.
after I complete the order, the order is not created in the admin, and the customer does not receive a notification that the order has been completed.
I noticed that I can't in the "payment methods" module -> Free delivery is not saved when I want to change "Order Status"
Everything else is set correctly, I checked.
I am using Opencart 3.0.3.2.
Thank you
Any help is welcome
I want to create a product with a price of 0 that can be ordered from the normal website.
after I complete the order, the order is not created in the admin, and the customer does not receive a notification that the order has been completed.
I noticed that I can't in the "payment methods" module -> Free delivery is not saved when I want to change "Order Status"
Everything else is set correctly, I checked.
I am using Opencart 3.0.3.2.
Thank you
Any help is welcome
Do you mean Free Checkout? If so there was a fix for the issues of it not saving.
https://github.com/opencart/opencart/pu ... c48d7cf6b3
https://github.com/opencart/opencart/pu ... c48d7cf6b3
Hello!
To allow zero-priced products to be ordered and processed correctly in OpenCart 3.0.3.2, ensure the "Free Checkout" payment method is enabled and its "Order Status" set to "Complete." Check permissions under System -> Users -> User Groups to ensure changes can be saved. Verify email settings under System -> Settings -> Mail. If issues persist, enable debugging and review logs. You may need to adjust catalog/controller/checkout/confirm.php to handle orders with a total of 0 correctly. Here's a snippet for that:
php
Copy code
if ($this->cart->getTotal() == 0) {
$order_data['payment_method'] = 'Free Checkout';
$order_data['payment_code'] = 'free_checkout';
}
Test again to confirm the order creation and email notification work properly.
Best Regards,
mary kay in touch
To allow zero-priced products to be ordered and processed correctly in OpenCart 3.0.3.2, ensure the "Free Checkout" payment method is enabled and its "Order Status" set to "Complete." Check permissions under System -> Users -> User Groups to ensure changes can be saved. Verify email settings under System -> Settings -> Mail. If issues persist, enable debugging and review logs. You may need to adjust catalog/controller/checkout/confirm.php to handle orders with a total of 0 correctly. Here's a snippet for that:
php
Copy code
if ($this->cart->getTotal() == 0) {
$order_data['payment_method'] = 'Free Checkout';
$order_data['payment_code'] = 'free_checkout';
}
Test again to confirm the order creation and email notification work properly.
Best Regards,
mary kay in touch
Last edited by Gail207Martinez on Tue Jul 09, 2024 1:05 pm, edited 1 time in total.
And it definitely works if the product price is not 0?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
yes, after I complete the order. It is not displayed in the admin for orders, but the customer does not receive a notification, nor is it displayed in the customer account. it's as if he didn't order the place.ADD Creative wrote: ↑Mon Jul 08, 2024 6:24 pmDo you mean Free Checkout? If so there was a fix for the issues of it not saving.
https://github.com/opencart/opencart/pu ... c48d7cf6b3
I checked and everything seems to be fine.Gail207Martinez wrote: ↑Mon Jul 08, 2024 8:01 pmHello!
To allow zero-priced products to be ordered and processed correctly in OpenCart 3.0.3.2, ensure the "Free Checkout" payment method is enabled and its "Order Status" set to "Complete." Check permissions under System -> Users -> User Groups to ensure changes can be saved. Verify email settings under System -> Settings -> Mail. If issues persist, enable debugging and review logs. You may need to adjust catalog/controller/checkout/confirm.php to handle orders with a total of 0 correctly. Here's a snippet for that:
php
Copy code
if ($this->cart->getTotal() == 0) {
$order_data['payment_method'] = 'Free Checkout';
$order_data['payment_code'] = 'free_checkout';
}
Test again to confirm the order creation and email notification work properly.
Best Regards,
mary kay in touch
Only one problem I found Order Status is Canceled. after I change the status and set it to complete and save, it does not save
hi,ADD Creative wrote: ↑Mon Jul 08, 2024 6:24 pmDo you mean Free Checkout? If so there was a fix for the issues of it not saving.
https://github.com/opencart/opencart/pu ... c48d7cf6b3
I tried to make these changes but it still doesn't work.

Have you tried Cash On Delivery?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Legendary Member
Who is online
Users browsing this forum: No registered users and 10 guests