Skip to content

Fix classic cart shipping UI and COD payout - #251

Merged
sofyan48 merged 1 commit into
mainfrom
fix/request-pickup-effective-cod-payout
Jul 16, 2026
Merged

Fix classic cart shipping UI and COD payout#251
sofyan48 merged 1 commit into
mainfrom
fix/request-pickup-effective-cod-payout

Conversation

@yan-ad

@yan-ad yan-ad commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fix request pickup COD payout display when COD deficit values are positive.
  • Refactor classic cart shipping totals into compact Ship To and Shipment rows.
  • Render classic cart shipment options through the same SelectWoo dropdown behavior used by checkout while preserving native WooCommerce shipping radios in DOM.
  • Hide shipment choices and shipping discount rows until a destination is selected.
  • Align the classic checkout insurance checkbox markup with WooCommerce checkbox structure for theme compatibility.

Business logic safety

  • Preserves WooCommerce shipping method names, rate IDs, hidden radio inputs, AJAX event flow, destination persistence, COD, insurance, coupon, and fee recalculation contracts.
  • Keeps source/package parity by rebuilding the distributable zip.

Tests

  • vendor/bin/paratest --configuration paratest.xml --filter ShopVerseBlockCheckoutCompatibilityTest
  • make zip
  • make test

@sofyan48
sofyan48 merged commit d564e75 into main Jul 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants