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

#   Category Appears when certian product is selected

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 1 week ago [\#128557](#128557) by [dustind](/forum/user/28523-dustind "View dustind's Profile")  *[Category Appears when certian product is selected](/forum/26-product-category-display/862927-category-appears-when-certian-product-is-selected#128557 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  I am trying to figure out a way, that when a certain item from a (one of many) category is selected, that a fee is automatically added to the cart. There were two ways I was trying to accomplish this. But don't know it is possible.  1. Add a category to my shop, add the fee as a product and it adds itself as an item to the cart, but then I need it to a second or sub-category appears with the options associated with that one product. (Is there a way to have a category of items appear when another product is selected, and if it is not selected it does not appear?  Or, my second thought.. 2. Have the shop check to see when a product from that category is selected that the fee is added to the cart. But this fee is only added to a certain category of products and not the rest.  I don't know if this can be accomplished or not? Could it be?")* was created by *[dustind](/forum/user/28523-dustind "View dustind's Profile")*

-- HikaShop version -- : 2.2.1
-- Joomla version -- : 2.5.14

I am trying to figure out a way, that when a certain item from a (one of many) category is selected, that a fee is automatically added to the cart. There were two ways I was trying to accomplish this. But don't know it is possible.

1. Add a category to my shop, add the fee as a product and it adds itself as an item to the cart, but then I need it to a second or sub-category appears with the options associated with that one product. (Is there a way to have a category of items appear when another product is selected, and if it is not selected it does not appear?

Or, my second thought..
2. Have the shop check to see when a product from that category is selected that the fee is added to the cart. But this fee is only added to a certain category of products and not the rest.

I don't know if this can be accomplished or not? Could it be?

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

13 years 1 week ago [\#128634](#128634) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Category Appears when certian product is selected](/forum/26-product-category-display/862927-category-appears-when-certian-product-is-selected#128634 "-- HikaShop version -- : 2.2.1 -- Joomla version -- : 2.5.14  I am trying to figure out a way, that when a certain item from a (one of many) category is selected, that a fee is automatically added to the cart. There were two ways I was trying to accomplish this. But don't know it is possible.  1. Add a category to my shop, add the fee as a product and it adds itself as an item to the cart, but then I need it to a second or sub-category appears with the options associated with that one product. (Is there a way to have a category of items appear when another product is selected, and if it is not selected it does not appear?  Or, my second thought.. 2. Have the shop check to see when a product from that category is selected that the fee is added to the cart. But this fee is only added to a certain category of products and not the rest.  I don't know if this can be accomplished or not? Could it be?")*

Hi,

I am not really sure of what you what to do exactly but for I understood, the best will be to use a custom plugin.
Using the "order additional" you can add fees to an order, in the same way that the plugin "alpha user points" (and "user points") can create discounts (but using a negative value).

I think that is the best way to create a unique fee depending on several items in the cart.
Otherwise, the most of configuration you will be able to do will be product specific. So you can "duplicate" the fee.

Regards,

---

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

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

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

[](#top)
