Mageplaza One Step Checkout Compatibility

mageb2b/sublogin-mageplaza-osc is a small compatibility package for shops that run the Sublogin extension together with Mageplaza One Step Checkout. It requires the Sublogin base extension (mageb2b/sublogin).

Sublogin lets additional buyers pick from shared and sublogin-owned addresses during checkout. On the standard Magento checkout this is handled by Sublogin's own UI components. Mageplaza One Step Checkout replaces the checkout templates, so the address selection on the billing-address step needs dedicated markup and scripts — that is what this package adds.

What the package contains

File area Purpose
onestepcheckout_index_index.xml layout Registers the compatibility assets on the Mageplaza checkout page only.
Billing-address JS mixin Connects Sublogin's address logic to the Mageplaza checkout UI.
Billing-address templates Render the shared/sublogin-owned address selection inside the one-step layout.

Installation

composer require mageb2b/sublogin-mageplaza-osc
php bin/magento module:enable MageB2B_SubloginMageplazaOsc
php bin/magento setup:upgrade

After deployment, place a test order as a sublogin through the one-step checkout and verify that the billing-address selector lists the expected shared and sublogin-owned addresses.