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

#   Characteristics, Bulk Discount and Totals is it possible

##

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

Less More

- Posts: 104
- Thank you received: 2
-
-

9 years 9 months ago [\#261173](#261173) by [SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")  *[Characteristics, Bulk Discount and Totals is it possible](/forum/32-content-creation/888636-characteristics-bulk-discount-and-totals-is-it-possible#261173 "-- HikaShop version -- : 2.6.2  Hi  I have been trying to figure this out but I cant seem to find a solution.  My problem is this: The site offers a range of different course that we sell. I am trying to add an event registration &quot;Product&quot; The main purpose of this is to allow a corporate to book a workshop for X number of people. The info I am wanting to get from them is the following.  &#42; numebr of peole attending  &#42; Do they have their own venue or should we rent one  &#42; Do they want us to supply food  Till this point, I am fine cause I can use custom fields, characteristics or options to do this. What I can't manage to get right is I want to give bulk discount on entry fee based on number of people at the same time venue cost must increase per 10 extra people and food must remain a flat rate per person.  This is still reasonably fine but where the problem comes in is displaying the cost, what I want is the following. Eg1. 10 People attending, they want us to rent a venue and they want food. I want to then display on screen without clicking add to cart Total Cost is 15 000 Basically what I want is to display total cost Live on the product page so as they change the quantity or any characteristics the price must instantly update.  I know you can use java script for this but I have no idea how to get the Price, Quantity and other Hikashop values to do this.  any solution you can come up with would be great  Hope I explained myself well enough  Thanks")* was created by *[SnoozeULooze.co.za](/forum/user/28906-snoozeulooze-co-za "View SnoozeULooze.co.za's Profile")*

-- HikaShop version -- : 2.6.2

Hi

I have been trying to figure this out but I cant seem to find a solution.

My problem is this:
The site offers a range of different course that we sell.
I am trying to add an event registration "Product"
The main purpose of this is to allow a corporate to book a workshop for X number of people.
The info I am wanting to get from them is the following.

- numebr of peole attending
- Do they have their own venue or should we rent one
- Do they want us to supply food

Till this point, I am fine cause I can use custom fields, characteristics or options to do this.
What I can't manage to get right is I want to give bulk discount on entry fee based on number of people at the same time venue cost must increase per 10 extra people and food must remain a flat rate per person.

This is still reasonably fine but where the problem comes in is displaying the cost, what I want is the following.
Eg1.
10 People attending, they want us to rent a venue and they want food.
I want to then display on screen **without clicking add to cart**
Total Cost is 15 000
Basically what I want is to display total cost **Live** on the product page so as they change the quantity or any characteristics the price must instantly update.

I know you can use java script for this but I have no idea how to get the Price, Quantity and other Hikashop values to do this.

any solution you can come up with would be great

Hope I explained myself well enough

Thanks

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 9 months ago [\#261184](#261184) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Characteristics, Bulk Discount and Totals is it possible](/forum/32-content-creation/888636-characteristics-bulk-discount-and-totals-is-it-possible#261184 "-- HikaShop version -- : 2.6.2  Hi  I have been trying to figure this out but I cant seem to find a solution.  My problem is this: The site offers a range of different course that we sell. I am trying to add an event registration &quot;Product&quot; The main purpose of this is to allow a corporate to book a workshop for X number of people. The info I am wanting to get from them is the following.  &#42; numebr of peole attending  &#42; Do they have their own venue or should we rent one  &#42; Do they want us to supply food  Till this point, I am fine cause I can use custom fields, characteristics or options to do this. What I can't manage to get right is I want to give bulk discount on entry fee based on number of people at the same time venue cost must increase per 10 extra people and food must remain a flat rate per person.  This is still reasonably fine but where the problem comes in is displaying the cost, what I want is the following. Eg1. 10 People attending, they want us to rent a venue and they want food. I want to then display on screen without clicking add to cart Total Cost is 15 000 Basically what I want is to display total cost Live on the product page so as they change the quantity or any characteristics the price must instantly update.  I know you can use java script for this but I have no idea how to get the Price, Quantity and other Hikashop values to do this.  any solution you can come up with would be great  Hope I explained myself well enough  Thanks")*

Hi,

I indeed do think it would be better to do that with javascript.
Getting the quantity, price, etc should only require basic javascript.

For example, to get the quantity entered by the customer in the quantity field, you should be able to use such js:
var qty = document.getElementById('hikashop_product_quantity_field_1').value;
The variants prices are stored in a hidden input hikashop_price_product_XX where XX is the id of the variant.
The id of the current variant can be retrieved by looking at the value of the input in the span with the id hikashop_product_id_XX_YY where XX and YY are the values of each characteristic dropdown.
etc.
A seasoned javascript developer should be able to come up with a solution fairly easily.

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

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