- Create several orders with different payment types: with CC and without
- Update element grid_billinglink_td and add some usage of tag UsingCreditCard
- Check any orders list for SQL queries - it should have only one select from payment types table
Details
Details
- Reviewers
alex - Commits
- rMINC16248: Fixes MINC-127 - Optimize "ord:UsingCreditCard" tag
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Branch
- /w/in-portal.full/branches/5.2.x
- Lint
Lint OK - Unit
No Unit Test Coverage
Event Timeline
modules/in-commerce/units/orders/orders_tag_processor.php | ||
---|---|---|
555–558 | We can actually extract this to separate getPrimaryPaymentType that will have $primary_payment_type variable in it. |