New Phoca Cart POS Discount plugin

Phoca Cart - complex e-commerce extension
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 240
Joined: 18 Sep 2019, 12:49

New Phoca Cart POS Discount plugin

Post by dmlwebal »

Hello all,

I've built a small plugin that adds a manual discount to the Phoca Cart POS, and I've published it free on GitHub in case it's useful to others.

What it does: on the POS Apply Benefits screen, authorised staff get a Discount box. They choose % or £, type a figure and press Apply Discount. The discount is spread across the basket and shows on the cart, receipt and order, like any other coupon.

How it works: it goes through Phoca Cart's own coupon engine. There are no core file changes, no template overrides and no database changes.

Owner controls:

Choose who can discount by Joomla user group and/or individual user. Nobody can until you choose.
Optional limits (default and per group), optional required reason, and an audit record of who gave each discount.
Permissions and limits are checked on the server, and the coupon is POS-only.
Tested on: Phoca Cart 6.1.8, Phoca POS template 6.0.0, Joomla 6.1. Written for Joomla 5 and 6.

Known limit: Phoca Cart allows one coupon per cart, so a manual discount can't be combined with a coupon code on the same ticket.

Repo and README: https://github.com/dmlwebal/plg_system_ ... osdiscount
Installable zip and 7-page illustrated PDF guide: https://github.com/dmlwebal/plg_system_ ... tag/v1.0.0

It's licensed GPL-2.0-or-later. I'd welcome feedback, bug reports (GitHub Issues is fine) and suggestions. It's an independent community plugin, not an official Phoca product.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49616
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New Phoca Cart POS Discount plugin

Post by Jan »

Hi, great, thank you very much.
https://www.phoca.cz/news/1524-new-phoc ... n-released
Jan
If you find Phoca extensions useful, please support the project
Post Reply