# iHunt

> I improved iHunt, a WooCommerce store for rugged smartphones. I connected PrivatBank and monobank installments with a buy-on-credit button on the product page, built my own labels over the photos, and found out why the site went down with just ten visitors.

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

- Author: [Vitalii Hura](https://vitaliihura.com/), Full-Stack Developer
- Role: WordPress developer
- Stack: PHP, JavaScript, WordPress, WooCommerce, WPML, PrivatBank, monobank
- Timeline: 2 months
- Year: 2023
- Client: iHunt Ukraine
- Website: https://www.ihunt.com.ua/

## The task

iHunt sells rugged smartphones and home electronics. The store wanted shoppers to buy in installments through two banks right from the product page, with a button styled like the site. They also needed labels such as free delivery. Those can't be baked into the photos: the image goes to Google Merchant with them, and from there to Google Shopping.

## What was built

- **PrivatBank installments.** I set up installments and instant installments through the ready-made Saphali module, so the store's budget didn't go into building it from scratch. Until the bank issued the last key, I kept the button switched off, so shoppers wouldn't land on a payment that doesn't work.
- **monobank installments.** I connected the second bank together with a monobank specialist. Both buttons are styled the same way, to match the site.
- **Buy-on-credit button.** It sits on the product page next to Buy now and opens a choice of bank. A loading indicator spins on the button while the bank prepares the payment.
- **Custom labels on products.** Ready-made plugins placed labels differently on phones and computers, so I built my own. In the admin you pick the label's image or text and its position, and the product photos stay clean for Google Merchant.
- **The site stopped going down.** The store went down with just ten visitors. The server logs showed a search bot causing the extra load, so I blocked its access and the load went back to normal.
- **A copy first, then the store.** The manager approved every change on a copy of the site. It reached the live store only after that, and after a backup.

## Result

The buy-on-credit button with a choice of PrivatBank and monobank is still on the product pages. The store no longer goes down under extra load. Two years later the manager came back to me with new tasks, among them broken product categories, which I fixed in a day.

## What the site looks like

- Buy on credit: Paying in installments straight from the product page, next to Buy now. ![iHunt rugged smartphone page with the price and a blue buy-on-credit button](https://vitaliihura.com/storage/cases/ihunt-credit.jpg?v=1793903762)
- Choosing a bank: The button opens the installment options. I connected PrivatBank and monobank. ![Expanded list of installment options: PrivatBank and monobank](https://vitaliihura.com/storage/cases/ihunt-banks.jpg?v=1793903762)
- Labels: A free delivery label sits over the photo, and the photos themselves stay unchanged. A Web Archive snapshot. ![Smartphone catalog, some cards carry a red Free delivery label](https://vitaliihura.com/storage/cases/ihunt-labels.jpg?v=1793903762)

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