Ofimarket is a Peruvian online store for office and school supplies, cleaning products and technology consumables, with delivery in Lima and Callao. Mgroup moved its checkout to Shopify Checkout Extensibility and built checkout and cart customizations for the main store and the Ofimarket Escolar school store. The work covered the main store and the Ofimarket Escolar school store on the Basic plan, from May 2024 to January 2025.
Project at a glance
New project in our case studies: checkout and conversion results will be added once they are measured. Read more about upgrading to Checkout Extensibility.
Moving a Peruvian checkout to Checkout Extensibility
Shopify’s native address autocomplete does not support Peru. Tracking pixels and a shipping script had to move to the new checkout, and the client’s APIs relied on specific order fields. The school store runs on the Basic plan, where checkout fields cannot be customized.





How we approached the Ofimarket checkout migration
The migration ran in steps, so the live store kept taking orders the whole time.
- Plan, May 2024 Scope of the checkout migration and a draft checkout built next to the live one.
- Migration, May–July 2024 Pixels, shipping rules, the address step and the order fields moved to the new checkout.
- Map improvements, August 2024 Draggable map marker, saved values and a clean switch to manual address entry.
- School store, August–September 2024 A cart step for invoice and address data on the Basic plan, plus a free delivery rate.
- Fix, January 2025 Data from the cart step sometimes missed the checkout; the cause was traced to cart permalinks on a first visit.
What we built: Checkout Extensibility, Shopify Functions and a Peru address step
A new checkout built as a draft
The old checkout customizations had to move to Checkout Extensibility without stopping sales.
Mgroup built and tested the new checkout as a draft next to the live one; the client switched it on when it was ready.
The store kept selling during the migration, with no downtime.
Shipping rules as Shopify Functions
A shipping script showed some delivery methods only to certain customers.
The logic was rebuilt as Shopify Functions: delivery methods appear only for customers with a specific tag.
Business customers keep their own delivery options in the new checkout.
Address autocomplete for Peru
Shopify’s native address autocomplete does not support Peru.
A Google Maps popup lets shoppers find their address, the formatted address is saved to the order, and red zones on the map show where delivery is not available. A draggable marker and saved values were added later.
Orders arrive with an address the delivery team can use.
Order data and tracking kept
The client’s APIs and webhooks relied on specific order fields, and tracking pixels lived in the old checkout.
The order fields were kept for the integrations, and the pixels moved to Shopify Web Pixels.
Integrations with external systems and analytics kept working after the switch.
Invoice and address step for the school store
The Ofimarket Escolar store runs on the Basic plan, where checkout fields cannot be customized.
A cart modal asks for the document type, Boleta with a DNI or Factura with an 11-digit RUC, and for the department, province, district and address, then passes them into checkout. Error messages are editable in the theme.
Invoices in Peru need the right tax ID, collected before payment.
Apps and integrations on the Ofimarket store
What the Ofimarket checkout is built on.
-
Checkout Extensibility: checkout UI extensions
Checkout UI extensions for the new checkout, built and tested as a draft before going live. More on Checkout Extensibility.
-
Shopify Functions: delivery rules
Delivery methods shown only to customers with a specific tag.
-
Web Pixels: checkout analytics
Analytics tracking pixels, moved to the new checkout.
-
Google Maps Places API: address search
Address search and the delivery map, with red zones where delivery is not available.
-
Mercado Pago: payments
Payments, already on the store before the checkout move.
About Ofimarket

Ofimarket is an online store in Peru that sells office and school supplies, cleaning, technology and other everyday products for businesses and families.



