# Rubi

> For about a year I supported and developed Rubi, a Ukrainian online store for women's lingerie on WooCommerce. I fixed order transfer to the CRM and Nova Poshta delivery, wrote three custom plugins for cashback, phone sign-in and bestseller badges, sped up the site and prepared it for advertising.

Case study · Online store: https://vitaliihura.com/work/rubi

- Author: [Vitalii Hura](https://vitaliihura.com/), Full-Stack Developer
- Role: WordPress developer
- Stack: WordPress, WooCommerce, PHP, JavaScript, SalesDrive, WayForPay, Nova Poshta, Google Tag Manager, Yoast SEO, WP-Optimize, Redis, Git
- Timeline: 1 year
- Year: 2025
- Client: Rubi, through Freelancehunt
- Website: https://rubi.in.ua/

## The task

Rubi sells lingerie through its own WooCommerce store, orders go to the SalesDrive CRM, and delivery is by Nova Poshta. The previous developer left some work unfinished, and orders sometimes did not reach the CRM. The owner needed a permanent developer: first to put things in order, then to add what the store was missing. Tasks came through a shared spreadsheet, and I checked each one on a test copy before moving it to the live site.

## What was built

- **Orders reach the CRM.** If a shopper came back from the WayForPay payment page or made a mistake in the form, the order went missing from SalesDrive. I found the cause and fixed it, and filled-in fields are now kept when the shopper comes back. The CRM now receives the product's main category, not just the first one that comes up.
- **Delivery without glitches.** Choosing a Nova Poshta branch sometimes broke because of outdated data. I added a button to the admin that refreshes the branch list, and a manual-entry fallback for when the Nova Poshta service does not respond.
- **A custom cashback plugin.** The percentage is set for the whole store, a category or a single product, and the amount is shown in the catalog, on the product page and in the cart. Bonuses are credited once the order is completed and pay for part of the next purchase.
- **Sign-in by phone number.** A separate sign-in and registration plugin: shoppers sign in with a phone number in any format or with an email. A guest can create an account right at checkout.
- **Badges and catalog order.** Another plugin sets new-arrival and bestseller badges automatically. Bestsellers are calculated once a day from 30 days of CRM sales, and models with few sizes left move lower in the catalog.
- **A cart that follows the store's rules.** The minimum order amount and a gift from a set amount are configured in the admin. Wholesale customers see their own prices on every page, and discounted products land in the Sale section on their own.
- **Speed, SEO and advertising.** The site cache is rebuilt every night, and images load at the right size. Following an SEO specialist's audit I added question blocks with markup for Google, and for advertising I set up cart and purchase events in Google Tag Manager.

## Result

The owner kept coming back with new tasks for about a year, and dozens of improvements went through me, from checkout to the catalog. The cashback, phone sign-in and badge plugins are still running on the site.

## What the site looks like

- Cashback on the product page: The shopper sees right away how much will come back as bonuses for this purchase. ![Product page showing the cashback amount for the purchase](https://vitaliihura.com/storage/cases/rubi-cashback.jpg?v=1793984743)
- Badges in the catalog: The bestseller badge is set automatically from CRM sales, and popular models come first. ![Catalog with Best seller badges on the best-selling models](https://vitaliihura.com/storage/cases/rubi-badges.jpg?v=1793984743)
- Phone sign-in: Shoppers can sign in with a phone number or email, without a separate username. ![Sign-in form with a phone number or email field](https://vitaliihura.com/storage/cases/rubi-login.jpg?v=1793984743)

Build something similar: https://vitaliihura.com/quote
