Feature Request: Shipping method depending on categories

Phoca Cart - complex e-commerce extension
uwes2025
Phoca Member
Phoca Member
Posts: 11
Joined: 10 Apr 2025, 12:05

Feature Request: Shipping method depending on categories

Post by uwes2025 »

Hi,

I am working on a B2B-shop beased on PhocaCart. It would be great to have a shipping plugin with which I could create shipping rules that are depending on product categories. Is that possible?

Best regards Uwe
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49279
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Feature Request: Shipping method depending on categories

Post by Jan »

Hi, see similar discussions in this form, unfortunately this goes against the logic rules. What happen, when two products from two different categories will be selected into one cart - and both shipping methods will be in conflict - both should be selected but even also not selected at once.

Jan
If you find Phoca extensions useful, please support the project
mino182
Phoca Professional
Phoca Professional
Posts: 231
Joined: 12 Feb 2015, 13:30

Re: Feature Request: Shipping method depending on categories

Post by mino182 »

Jan wrote: 28 Feb 2026, 22:04 Hi, see similar discussions in this form, unfortunately this goes against the logic rules. What happen, when two products from two different categories will be selected into one cart - and both shipping methods will be in conflict - both should be selected but even also not selected at once.

Jan
Ono to naozaj vie fungovat - ja som si upravil standardny shipping, aby filtroval podla manufacturer (ak to ma vyznam, mozem poslat). Ked kosik obsahuje tovar s inym manufacturerom, shipping method sa nezobrazi (mam hlasku o nevhodnej kombinacii tovarov). To iste sa da spravit aj s kategoriami. Ked bude kosik obsahovat ine kategorie ako tie co su nastavene v doprave, tak sa dana doprava nezobrazi. Tzn. Ak by boli tovary roznych kategorii s roznymi dopravami, nezobrazi sa ziadna - vypise sa hlaska "pre kombinaciu tovarov neposkytujeme dopravu", alebo si predajca vytvori globalny shipping, ktory mu pokryje naklady pre kombinaciu...

Ma to vyznam, ked napr. predavas tovar, ktory dropshippujes od roznych dropshipperov... Rozny merch, alebo dnes uz kadeco mozne...
uwes2025
Phoca Member
Phoca Member
Posts: 11
Joined: 10 Apr 2025, 12:05

Re: Feature Request: Shipping method depending on categories

Post by uwes2025 »

mino182 wrote: 01 Mar 2026, 08:34
Ono to naozaj vie fungovat - ja som si upravil standardny shipping, aby filtroval podla manufacturer (ak to ma vyznam, mozem poslat). Ked kosik obsahuje tovar s inym manufacturerom, shipping method sa nezobrazi (mam hlasku o nevhodnej kombinacii tovarov). To iste sa da spravit aj s kategoriami. Ked bude kosik obsahovat ine kategorie ako tie co su nastavene v doprave, tak sa dana doprava nezobrazi. Tzn. Ak by boli tovary roznych kategorii s roznymi dopravami, nezobrazi sa ziadna - vypise sa hlaska "pre kombinaciu tovarov neposkytujeme dopravu", alebo si predajca vytvori globalny shipping, ktory mu pokryje naklady pre kombinaciu...

Ma to vyznam, ked napr. predavas tovar, ktory dropshippujes od roznych dropshipperov... Rozny merch, alebo dnes uz kadeco mozne...
Hi MIno, it would be a great help if you could send me ypur solution.

Best regards Uwe
mino182
Phoca Professional
Phoca Professional
Posts: 231
Joined: 12 Feb 2015, 13:30

Re: Feature Request: Shipping method depending on categories

Post by mino182 »

uwes2025 wrote: 03 Mar 2026, 14:48
Hi MIno, it would be a great help if you could send me ypur solution.

Best regards Uwe
Hi, there: https://github.com/mino182/PCS-shipping ... cturer.zip

But I used it on PhocaCart v4, so maybe you need to customize it. Or make copy of actual standard shipping plugin and add fuction from my plugin... But I don't know if this Phoca classes are still used... You need to try... :D
uwes2025
Phoca Member
Phoca Member
Posts: 11
Joined: 10 Apr 2025, 12:05

Re: Feature Request: Shipping method depending on categories

Post by uwes2025 »

Hey Mino,

great, thank you! I'll try it!

Best regards Uwe
Post Reply