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

#   how to: 1 option with different prices

##

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 8 months ago [\#191993](#191993) by [hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")  *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#191993 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")* was created by *[hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")*

-- Joomla version -- : 2.5.28
-- Browser(s) name and version -- : safari

hi,
is there any way to have 1 option dropdown but with e.g. 3 points with each different price.

explanation:
e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery
standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.

to have this with "normal" option we made large battery yes/no and xtra large battery yes/no.

but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout

how to solve this ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMDUtaG93LXRvLTEtb3B0aW9uLXdpdGgtZGlmZmVyZW50LXByaWNlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

11 years 8 months ago [\#192007](#192007) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#192007 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")*

Hi,

Yes, you can have options with several values, each one with a different price.
The process is explained here:
[ www.hikashop.com/support/support/documen...ct-form.html#options](https://www.hikashop.com/support/support/documentation/integrated-documentation/19-hikashop-product-form.html#options)
And you can check an example on our demo website:
[ demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options](http://demo.hikashop.com/index.php/en/hikashop/product-page/with-options)

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 8 months ago -  11 years 8 months ago [\#192050](#192050) by [hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")  Replied by *[hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")* on topic *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#192050 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")*

ok thanks for this
actually we made some changes to the views therefor the "right" part has a different view-form. now if we change the value from this option field the complete view is empty. can u tell me where to make the changes that it takes the right view instead of blank ?
picture attached
[ ![Bildschirmfoto&#95;2015-02-25&#95;um&#95;10&#95;15&#95;41.png](/forum/attachment/22634) ](/forum/attachment/22634 "...m&#95;10&#95;15&#95;41.png")

edit:// all fields in this view are custom fields

- [ ![Bildschirmfoto&#95;2015-02-25&#95;um&#95;10&#95;15&#95;41.png](/forum/attachment/22634) ](/forum/attachment/22634 "...m&#95;10&#95;15&#95;41.png") [ ](/forum/attachment/22634?download=1 "...m&#95;10&#95;15&#95;41.png")

Last edit: 11 years 8 months ago by [hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMDUtaG93LXRvLTEtb3B0aW9uLXdpdGgtZGlmZmVyZW50LXByaWNlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

11 years 8 months ago [\#192207](#192207) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#192207 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")*

Hi,

I'm not following you. Can you give a link to a product page with the issue so that we can see the problem ?

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

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

Less More

- Posts: 9
- Thank you received: 0
-
-

11 years 8 months ago -  11 years 8 months ago [\#192209](#192209) by [hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")  Replied by *[hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile")* on topic *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#192209 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")*

please see picture, if u choose an option e.g. Akku "L" all custom view/fields are gone
[ ![Bildschirmfoto&#95;2015-02-26&#95;um&#95;10&#95;50&#95;23.png](/forum/attachment/22660) ](/forum/attachment/22660 "...m&#95;10&#95;50&#95;23.png")

so there must be a setting e.g. "if option change, change innerhtml" and the innerhtml seams be the "standard" view which is actually empty cause all fields are custom fields and the view file is separate made, actually it's called "show_block_custom_main2" instead of show_block_custom_main, so where can i find this to change to show_block_custom_main2

- [ ![Bildschirmfoto&#95;2015-02-26&#95;um&#95;10&#95;50&#95;23.png](/forum/attachment/22660) ](/forum/attachment/22660 "...m&#95;10&#95;50&#95;23.png") [ ](/forum/attachment/22660?download=1 "...m&#95;10&#95;50&#95;23.png")

Last edit: 11 years 8 months ago by [hanibaltrs](/forum/user/31958-hanibaltrs "View hanibaltrs's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzUyMDUtaG93LXRvLTEtb3B0aW9uLXdpdGgtZGlmZmVyZW50LXByaWNlcz90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14270
-
-

11 years 8 months ago [\#192216](#192216) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to: 1 option with different prices](/forum/26-product-category-display/875205-how-to-1-option-with-different-prices#192216 "-- Joomla version -- : 2.5.28 -- Browser(s) name and version -- : safari  hi, is there any way to have 1 option dropdown but with e.g. 3 points with each different price.  explanation: e-bikes, option 1 standard battery, option 2 large battery, option 3 xtra large battery standard battery has 0 price, large has 199 extra large has 399 which should be added to the price when option is used.  to have this with &quot;normal&quot; option we made large battery yes/no and xtra large battery yes/no.  but then we have 2 option fields and also the user can gamble and switch both fields to yes and has 199+399 on checkout  how to solve this ?")*

When you change the characteristic selection, the system will replace the content of the div hikashop_product_custom_info_main with the content of the hikashop_product_custom_info_XXX where XXX is the id of the variant and which is a div hidden on the page and added at the bottom of the product page by the "show" file of the "product" view.

So an easy solution is to delete the code adding the div hikashop_product_custom_info_XXX in that show file so that the system doesn't find it and doesn't replace the hikashop_product_custom_info_main at all.

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

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

[](#top)
