Client: European Digital Agency (for a Brussels Tourism Platform)

Platform: Joomla 3.x & Hikashop

Services Provided: Custom Plugin Development.

The Challenge: A Generic Shopping Experience

While Hikashop is a powerful e-commerce extension for Joomla, setting up highly specific, global pricing rules can sometimes push the limits of its default configuration.

A European digital agency approached me to solve a complex pricing requirement for a Brussels-based tourism platform they were building. They needed a global, quantity-based pricing model where the unit price of all products in the cart dynamically dropped based on the total number of items purchased.

cart system

The required pricing tiers were strictly defined as follows:

  • 1 item: 11€ (Default product price)
  • 2 items: 10€ per item
  • 3 items: 9€ per item
  • 4 items: 7€ per item
  • 5 items: 6€ per item
  • 6 to 9 items: 5€ per item
  • 10 to 19 items: 4.5€ per item
  • 20+ items: 4€ per item

Setting this up manually for every single product would be a nightmare for the agency's client to maintain, and standard cart discounts didn't fit the exact "fixed unit price" override the agency requested.

 

The Solution: A "Smart Shop" Engine

To solve this, I developed a lightweight, custom Hikashop plugin specifically designed to intercept the cart calculation process.

Instead of relying on complex coupon codes or standard discount rules, the plugin hooks directly into Hikashop's pricing triggers. When a user adds items to their cart or updates quantities, the plugin calculates the total number of items and automatically overrides the unit price for every product in the cart according to the exact tier structure.

plugin settings discount full

This approach ensures:

  1. Frictionless Checkout: The customer instantly sees the price drop as they add more items, encouraging bulk purchases.
  2. Easy Management: The end-client does not have to configure complex discount rules on a per-product basis; the plugin handles the logic globally.
  3. High Performance: Built as a native Joomla 3.x plugin, the code is optimized and does not slow down the cart processing times.

 

The Result: A Frictionless, Personalized Store

The custom plugin was successfully deployed, functioning exactly to the agency's specifications without modifying or hacking core Hikashop files. The agency was thrilled with the seamless integration and the communication throughout the project.

olivier hikashop feedback

Client Feedback: "The knowledge of Mohamed in Hikashop is excellent and he was very professional.
We will continue to work with him for more project we have.
It's an excellent freelance and has a very great communication."
> — Olivier FRASCONE, Butterfly Pixel Sàrl-Sr

 

Looking for a reliable technical partner for your agency? If your clients require unique pricing logic, custom checkout flows, or third-party API integrations, contact me to discuss how we can build native, scalable Joomla solutions for your projects.