View Issue Details

IDProjectCategoryView StatusLast Update
0003964OXID eShop (all versions)1.03. Basket, checkout processpublic2024-11-14 11:11
Reporterb.hasis Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.5.9 revision 43186 
Summary0003964: not possible to set up that new customer has no preselected paymenttype
DescriptionIf you unckeck all "oxpayments__oxchecked" in admin/payments you got in checkout/payments anyway a selected paymenttype(the lastone).
So, it is not possible that new customer dont have any preselected payment methodes.
Additional Informationin my case to fix this, i have just deleted this code:
            // 0000646
            $oPaymentList = $this->getPaymentList();
            if ( isset( $oPaymentList ) && $oPaymentList && !isset( $oPaymentList[$sCheckedId] ) ) {
                end($oPaymentList);
                $sCheckedId = key( $oPaymentList );
            }
in oxview/payment.php fnc:getCheckedPaymentId()
TagsPayment
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

SvenBrunk

2022-02-02 16:20

administrator   ~0013742

Also a valid usecase. Although I guess most customers would want one radio button to be selected. Since they can still do that, this behaviour change would be fine in the next major release.
Also you can't be sure that the browsers really don't preselect one option.

SvenBrunk

2024-11-14 11:11

administrator   ~0017708

We checked and discussed the usecase internally and came to the conclusion, that we will keep the current behaviour.
The reason is, that you usually want the customer to have something selected already (usually either the most popular, the newest or even the one with the least transaction costs) so he can directly check out. That saves the customer one click if the preselection is already fine for him. If not, it does not cost him more than it would cost with no selection made in advance.