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

#   Create category programatically

##

- **[twscott](/forum/user/43011-twscott "View twscott's Profile")**
- [![twscott's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43011-twscott "View twscott's Profile") Topic Author
- [ Offline](/forum/user/43011-twscott)

Less More

- Posts: 252
- Thank you received: 1
-
-
-
-

10 years 2 months ago [\#248221](#248221) by [twscott](/forum/user/43011-twscott "View twscott's Profile")  *[Create category programatically](/forum/31-development/886107-create-category-programatically#248221 "-- HikaShop version -- : HikaShop Business 2.6.3 -- Joomla version -- : 3.5 -- PHP version -- : 5.5.12  Hi, We have a requirement when creating a product, a category of the vendor's name will be created under manufacture and set the category to the product. Is there an existing function for this? or we need to develop our own plugin? and is there a API for creating new category? Thanks in advance  Best Regards")* was created by *[twscott](/forum/user/43011-twscott "View twscott's Profile")*

-- HikaShop version -- : HikaShop Business 2.6.3
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12

Hi,
We have a requirement when creating a product, a category of the vendor's name will be created under manufacture and set the category to the product. Is there an existing function for this? or we need to develop our own plugin? and is there a API for creating new category?
Thanks in advance

Best Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NjEwNy1jcmVhdGUtY2F0ZWdvcnktcHJvZ3JhbWF0aWNhbGx5P3RtcGw9bWFya2Rvd24=) 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: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#248234](#248234) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Create category programatically](/forum/31-development/886107-create-category-programatically#248234 "-- HikaShop version -- : HikaShop Business 2.6.3 -- Joomla version -- : 3.5 -- PHP version -- : 5.5.12  Hi, We have a requirement when creating a product, a category of the vendor's name will be created under manufacture and set the category to the product. Is there an existing function for this? or we need to develop our own plugin? and is there a API for creating new category? Thanks in advance  Best Regards")*

Hi,

For your HikaMarket questions ; the best is to use the HikaMarket section of the forum.

HikaMarket have features like "vendor categories" and also have plugins to automatically set the "vendor category" on products.
It is not related to the manufacturer (brand), only the product categories. So it will require a custom plugin if you want to affect the product manufacturer. But the vendor cartegory can be already created.
[ www.hikashop.com/support/documentation/1...nfig\_market\_category](https://www.hikashop.com/support/documentation/143-hikamarket-configuration.html#config_market_category)

Regards,

---

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

The following user(s) said Thank You: [twscott](/forum/user/43011-twscott "View twscott's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4NjEwNy1jcmVhdGUtY2F0ZWdvcnktcHJvZ3JhbWF0aWNhbGx5P3RtcGw9bWFya2Rvd24=) 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)
