[Skip to main content](#vessel-content)

#   Shipping restriction using Warehouse

##

- **[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")**
- [![cbadmin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15476-cbadmin "View cbadmin's Profile") Topic Author
- [ Offline](/forum/user/15476-cbadmin)

Less More

- Posts: 68
- Thank you received: 6
-
-

12 years 2 months ago [\#167207](#167207) by [cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")  *[Shipping restriction using Warehouse](/forum/28-shipping-methods/870323-shipping-restriction-using-warehouse#167207 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4  I managed to use a warehouse A to restrict a particular shipping method A to the product associated to that warehouse A. Now I would need to restrict another shipping method B to any warehouse (or no warehouse) except warehouse A. Basically to have an excluding function in the restriction rather than an including function.  How could I reach such functionality? Thanks.  Max")* was created by *[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4

I managed to use a warehouse A to restrict a particular shipping method A to the product associated to that warehouse A.
Now I would need to restrict another shipping method B to any warehouse (or no warehouse) except warehouse A.
Basically to have an excluding function in the restriction rather than an including function.

How could I reach such functionality?
Thanks.

Max

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcwMzIzLXNoaXBwaW5nLXJlc3RyaWN0aW9uLXVzaW5nLXdhcmVob3VzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 2 months ago [\#167226](#167226) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Shipping restriction using Warehouse](/forum/28-shipping-methods/870323-shipping-restriction-using-warehouse#167226 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4  I managed to use a warehouse A to restrict a particular shipping method A to the product associated to that warehouse A. Now I would need to restrict another shipping method B to any warehouse (or no warehouse) except warehouse A. Basically to have an excluding function in the restriction rather than an including function.  How could I reach such functionality? Thanks.  Max")*

Hello Max,
You'll be able to do that by developing it which will require some development skills, or by including a different warehouse.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcwMzIzLXNoaXBwaW5nLXJlc3RyaWN0aW9uLXVzaW5nLXdhcmVob3VzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")**
- [![cbadmin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/15476-cbadmin "View cbadmin's Profile") Topic Author
- [ Offline](/forum/user/15476-cbadmin)

Less More

- Posts: 68
- Thank you received: 6
-
-

12 years 2 months ago [\#167472](#167472) by [cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")  Replied by *[cbadmin](/forum/user/15476-cbadmin "View cbadmin's Profile")* on topic *[Shipping restriction using Warehouse](/forum/28-shipping-methods/870323-shipping-restriction-using-warehouse#167472 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4  I managed to use a warehouse A to restrict a particular shipping method A to the product associated to that warehouse A. Now I would need to restrict another shipping method B to any warehouse (or no warehouse) except warehouse A. Basically to have an excluding function in the restriction rather than an including function.  How could I reach such functionality? Thanks.  Max")*

I cannot include a different warehouse as I need a rule to exclude 1 specific warehouse and allow all the others or no warehouse at all.

So I guess, I can try to develop my first plugin based on Hikaship Manual Shipping plugin.
But when I look in the folder /plugins/hikashopshipping/manual the file manual.php just mentions
class plgHikaShopshippingManual extends hikashopShippingPlugin {
var $multiple = true;
var $name = 'manual';
}

Do you know where I can find the code of manual shipping plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcwMzIzLXNoaXBwaW5nLXJlc3RyaWN0aW9uLXVzaW5nLXdhcmVob3VzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#167473](#167473) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Shipping restriction using Warehouse](/forum/28-shipping-methods/870323-shipping-restriction-using-warehouse#167473 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4  I managed to use a warehouse A to restrict a particular shipping method A to the product associated to that warehouse A. Now I would need to restrict another shipping method B to any warehouse (or no warehouse) except warehouse A. Basically to have an excluding function in the restriction rather than an including function.  How could I reach such functionality? Thanks.  Max")*

Hi,

The definition of the hikashopShippingPlugin class is in the HikaShop helper.
It provides all basic features for the shipping plugins (that's why the manual shipping plugin is empty ; all features are already provided by the hikashopShippingPlugin class).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODcwMzIzLXNoaXBwaW5nLXJlc3RyaWN0aW9uLXVzaW5nLXdhcmVob3VzZT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
