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

#   How to select multiple selection options for a product

##

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 10 months ago -  5 years 10 months ago [\#328015](#328015) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328015 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")* was created by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")*

-- HikaShop version -- : 4.4.0
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.3.25
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : N/A

I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?

Last edit: 5 years 10 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 10 months ago [\#328019](#328019) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328019 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

I can see that you've already created a characteristic and added the variants to the product.
So all that's left is to edit the product, and go in the "variants" tab and edit the variants with a different price from the price you set in the main product. There, add a new price with the value you want for that variant and save the variant.
You'll then see the price automatically change on the product page when the variant is selected, like on this page of our demo website:
[ demo.hikashop.com/index.php/en/hikashop/...with-characteristics](https://demo.hikashop.com/index.php/en/hikashop/product-page/with-characteristics)

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 10 months ago -  5 years 10 months ago [\#328076](#328076) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328076 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

That only allows customers to choose between apple, carrot, celery or lemon grass juice with their different pricing. However, what I need is clients to be able to choose multiple ingredients for each juice they order. Depending on the selected ingredients, for example mango, turmeric or ginger, the price needs to increase, while ingredients like oranges, celery and carrot don't change the price.

Last edit: 5 years 10 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 10 months ago [\#328079](#328079) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328079 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

Then, you should:
- remove the variants from that product
- remove the characteristic from that product
- create an unpublished category
- create several options one for each ingredient you want to allow (so if you want to allow the customer to select 5 ingredients among the 10 ingredient choices you offer, you should create 5 products) in that unpublished category.
- in each of these "ingredient products", add the characteristic and the variants, with the price increase you want for each variant
- in your main product, add these ingredient products in the "options" setting of the product.
That way, on the product page, you'll have several dropdowns and in each dropdown you'll have the list of ingredients that can be selected. And when you select an ingredient the price of the variant will be added to the base price of the main product.
You can see an example of the use of option products here:
[ demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options](https://demo.hikashop.com/index.php/en/hikashop/product-page/with-options)

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago -  5 years 9 months ago [\#328449](#328449) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328449 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Thanks for your guidance. Your suggestion doesn't seem like a very elegant solution to me, though. There must be a better way than having to manage five basic juices with their optional add-ons, some price-sensitive, some price-neutral.

Can't I just have one basic fruit juice and one basic vegetable juice, costing x amount and then have two groups of multiple choice tick boxes for each of them, one group of basic ingredients that are price-neutral and another group of premium ingredients that increase the price if chosen? Or, again, one group of price-neutral basic ingredients, selectable from a group of multiple choice tick boxes, and then a list of yes/no buttons with price-sensitive premium ingredients?

I can imagine that this is not such an unusual request; any pizza shop would have that kind of requirement.

Last edit: 5 years 9 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 9 months ago [\#328455](#328455) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328455 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

In the HikaShop configuration, you have the "Product selection method" setting. By default it's set to "dropdown".
If you set it to "checkbox", then you'll have one checkbox for each variant of the product when used as an option of another product.
So you'll be able to select no, on or several variants of a product used as an option of another product.
That's usually what is used for selling pizza.

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago -  5 years 9 months ago [\#328504](#328504) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328504 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

I've changed the product selection method to checkbox and added the various ingredients as options, some price sensitive, some price neutral. However, I still have a couple of problems. The page now has the desired functionality, but the layout still needs some work.
[ ![Optionspage.jpg](/forum/attachment/51704) ](/forum/attachment/51704 "Optionspage.jpg")

Here's the link to the page: [ foreignpantry.com/shop/juices/product/48-superjuice](https://foreignpantry.com/shop/juices/product/48-superjuice)

- [ ![juiceingredients.jpg](/forum/attachment/51703) ](/forum/attachment/51703 "...ngredients.jpg") [ ](/forum/attachment/51703?download=1 "...ngredients.jpg")
- [ ![Optionspage.jpg](/forum/attachment/51704) ](/forum/attachment/51704 "Optionspage.jpg") [ ](/forum/attachment/51704?download=1 "Optionspage.jpg")

Last edit: 5 years 9 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 9 months ago [\#328517](#328517) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328517 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

The spacing issue on your options comes from the CSS of your template.
So it's not really a problem with HikaShop.
Here is some CSS you can add to counter the CSS from the template: Code:

\#hikashop_product_options input { height: auto !important; display: inline !important; width: auto !important; } #hikashop_product_options label { display: inline !important; }

Regarding the info icon, it's added there because you've entered something in the description of the variant. Empty the description and it will remove the icon with the tooltip on hover with the text of the description in the tooltip.

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago [\#328553](#328553) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328553 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Almost perfect. The only thing I still would like to change is to move the product description below the product image, instead of below all the options.
[ ![howtomovedescription.jpg](/forum/attachment/51723) ](/forum/attachment/51723 "...escription.jpg")

- [ ![howtomovedescription.jpg](/forum/attachment/51723) ](/forum/attachment/51723 "...escription.jpg") [ ](/forum/attachment/51723?download=1 "...escription.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 9 months ago [\#328560](#328560) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328560 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

You need to edit the file show_default.php via the menu Display&gt;Views.
There, you need to move the block of code displaying the description: Code:

&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description"&gt;&lt;?php // DISPLAY the product description echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt;&lt;/div&gt;

after the display of the image: Code:

&lt;?php $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('show_block_img'); echo $this-&gt;loadTemplate(); ?&gt;

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago -  5 years 9 months ago [\#328604](#328604) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328604 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

I've copied and pasted the code from the mentioned file into Dreamweaver and searched for the two strings mentioned by you. However, I couldn't find any references to the product image after the product description. Here is the code I found. Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 4.4.0 * @author hikashop.com * @copyright (C) 2010-2020 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;div id="hikashop_product_top_part" class="hikashop_product_top_part"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;topBegin); } ?&gt; &lt;h1&gt; &lt;span id="hikashop_product_name_main" class="hikashop_product_name_main" itemprop="name"&gt;&lt;?php if(hikashop_getCID('product_id') != $this-&gt;element-&gt;product_id &amp;&amp; isset($this-&gt;element-&gt;main-&gt;product_name)) echo $this-&gt;element-&gt;main-&gt;product_name; else echo $this-&gt;element-&gt;product_name; ?&gt;&lt;/span&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main" itemprop="sku"&gt;&lt;?php echo $this-&gt;element-&gt;product_code; ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;/h1&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;topEnd)) { echo implode("\r\n", $this-&gt;element-&gt;extraData-&gt;topEnd); } ?&gt; &lt;?php $this-&gt;setLayout('show_block_social'); echo $this-&gt;loadTemplate(); ?&gt; &lt;/div&gt; &lt;div class="hk-row-fluid"&gt; &lt;div id="hikashop_product_left_part" class="hikashop_product_left_part hkc-md-6"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;leftBegin); } ?&gt; &lt;?php $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('show_block_img'); echo $this-&gt;loadTemplate(); ?&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;leftEnd)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;leftEnd); } ?&gt; &lt;/div&gt; &lt;div id="hikashop_product_right_part" class="hikashop_product_right_part hkc-md-6"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightBegin); } ?&gt; &lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt;&lt;?php if($this-&gt;params-&gt;get('show_vote_product')) { $js = ''; $this-&gt;params-&gt;set('vote_type', 'product'); $this-&gt;params-&gt;set('vote_ref_id', isset($this-&gt;element-&gt;main) ? (int)$this-&gt;element-&gt;main-&gt;product_id : (int)$this-&gt;element-&gt;product_id ); echo hikashop_getLayout('vote', 'mini', $this-&gt;params, $js); } ?&gt;&lt;/div&gt; &lt;?php $itemprop_offer = ''; if (!empty($this-&gt;element-&gt;prices)) $itemprop_offer = 'itemprop="offers" itemscope itemtype="https://schema.org/Offer"'; ?&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main" &lt;?php echo $itemprop_offer; ?&gt;&gt; &lt;?php $main =&amp; $this-&gt;element; if(!empty($this-&gt;element-&gt;main)) $main =&amp; $this-&gt;element-&gt;main; if(!empty($main-&gt;product_condition) &amp;&amp; !empty($this-&gt;element-&gt;prices)) { ?&gt; &lt;meta itemprop="itemCondition" itemtype="https://schema.org/OfferItemCondition" content="https://schema.org/&lt;?php echo $main-&gt;product_condition; ?&gt;" /&gt; &lt;?php } if($this-&gt;params-&gt;get('show_price') &amp;&amp; (empty($this-&gt;displayVariants['prices']) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list')) { $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); if (!empty($this-&gt;element-&gt;prices)) { ?&gt; &lt;meta itemprop="availability" content="https://schema.org/&lt;?php echo ($this-&gt;row-&gt;product_quantity != 0) ? 'InStock' : 'OutOfstock' ;?&gt;" /&gt; &lt;meta itemprop="priceCurrency" content="&lt;?php echo $this-&gt;currency-&gt;currency_code; ?&gt;" /&gt; &lt;?php } } ?&gt; &lt;/span&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightMiddle)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightMiddle); } ?&gt; &lt;?php $this-&gt;setLayout('show_block_dimensions'); echo $this-&gt;loadTemplate(); ?&gt; &lt;br /&gt; &lt;?php if($this-&gt;params-&gt;get('characteristic_display') != 'list') { $this-&gt;setLayout('show_block_characteristic'); echo $this-&gt;loadTemplate(); ?&gt; &lt;br /&gt; &lt;?php } ?&gt; &lt;?php $form = ',0'; if(!$this-&gt;config-&gt;get('ajax_add_to_cart', 1)) { $form = ',\'hikashop_product_form\''; } if(hikashop_level(1) &amp;&amp; !empty ($this-&gt;element-&gt;options)) { ?&gt; &lt;div id="hikashop_product_options" class="hikashop_product_options"&gt;&lt;?php $this-&gt;setLayout('option'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;br /&gt; &lt;?php $form = ',\'hikashop_product_form\''; if($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } } if(!$this-&gt;params-&gt;get('catalogue') &amp;&amp; ($this-&gt;config-&gt;get('display_add_to_cart_for_free_products') &#124;&#124; ($this-&gt;config-&gt;get('display_add_to_wishlist_for_free_products', 1) &amp;&amp; hikashop_level(1) &amp;&amp; $this-&gt;params-&gt;get('add_to_wishlist') &amp;&amp; $this-&gt;config-&gt;get('enable_wishlist', 1)) &#124;&#124; !empty($this-&gt;element-&gt;prices))) { if(!empty($this-&gt;itemFields)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } } $this-&gt;formName = $form; if($this-&gt;params-&gt;get('show_price')) { ?&gt; &lt;span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"&gt; &lt;/span&gt; &lt;?php } if(empty($this-&gt;element-&gt;characteristics) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list') { ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt;?php $this-&gt;row =&amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . (int)$this-&gt;element-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;div id="hikashop_product_quantity_alt" class="hikashop_product_quantity_main_alt" style="display:none;"&gt; &lt;?php echo JText::_('ADD_TO_CART_AVAILABLE_AFTER_CHARACTERISTIC_SELECTION'); ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt;&lt;?php $contact = (int)$this-&gt;config-&gt;get('product_contact', 0); if(hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty($this-&gt;element-&gt;product_contact)))) { $css_button = $this-&gt;config-&gt;get('css_button', 'hikabtn'); ?&gt; &lt;a rel="noindex, nofollow" href="&lt;?php echo hikashop_completeLink('product&amp;task=contact&amp;cid=' . (int)$this-&gt;element-&gt;product_id . $this-&gt;url_itemid); ?&gt;" class="&lt;?php echo $css_button; ?&gt;"&gt;&lt;?php echo JText::_('CONTACT_US_FOR_INFO'); ?&gt;&lt;/a&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;?php if(!empty($this-&gt;fields)) { $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); } if(HIKASHOP_J30) { $this-&gt;setLayout('show_block_tags'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;span id="hikashop_product_id_main" class="hikashop_product_id_main"&gt; &lt;input type="hidden" name="product_id" value="&lt;?php echo (int)$this-&gt;element-&gt;product_id; ?&gt;" /&gt; &lt;/span&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightEnd)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightEnd); } ?&gt; &lt;/div&gt; &lt;/div&gt; &lt;div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part"&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomBegin); } ?&gt; &lt;div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description"&gt;&lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt;&lt;/div&gt; &lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt;&lt;?php if(!empty($this-&gt;element-&gt;product_url)) { echo JText::sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;'); } ?&gt;&lt;/span&gt; &lt;?php $this-&gt;setLayout('show_block_product_files'); echo $this-&gt;loadTemplate(); ?&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomMiddle)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomMiddle); } ?&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomEnd)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomEnd); } ?&gt; &lt;/div&gt;

It would be helpful if you provided line numbers with your instructions, e.g.move line x to y to line z.

- [ ![stringnotfoundagain.jpg](/forum/attachment/51742) ](/forum/attachment/51742 "...foundagain.jpg") [ ](/forum/attachment/51742?download=1 "...foundagain.jpg")

Last edit: 5 years 9 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 9 months ago [\#328608](#328608) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328608 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

The line number will depend on your version, edition and build number of HikaShop. Also, sometimes when the website is migrated, it's possible that the line numbers are modified having an extra space for each line of the original file.
So without having a copy of the file on your end, I'm not sure what exact line number it will be. That's why I didn't provide them and usually don't. Instead, I give you the piece of code, so that you can easily find it.
I don't see why you couldn't find the piece of code in that file as I can see them in the copy you provided.
With the copy you provided, I can see that they are around line number 40 and 195 in that file on your end.

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago -  5 years 9 months ago [\#328620](#328620) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328620 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

I have worked it out now. Almost perfect. Thanks.
How can I make the product image be displayed at full width and height, as indicated by the red rectangle?
[ ![widerpicture.jpg](/forum/attachment/51748) ](/forum/attachment/51748 "widerpicture.jpg")

URL: [ foreignpantry.com/shop/juices/product/48-superjuice](https://foreignpantry.com/shop/juices/product/48-superjuice)

- [ ![widerpicture.jpg](/forum/attachment/51748) ](/forum/attachment/51748 "widerpicture.jpg") [ ](/forum/attachment/51748?download=1 "widerpicture.jpg")

Last edit: 5 years 9 months ago by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MDE2MTktaG93LXRvLXNlbGVjdC1tdWx0aXBsZS1zZWxlY3Rpb24tb3B0aW9ucy1mb3ItYS1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 86358
- Thank you received: 14290
-
-

5 years 9 months ago [\#328640](#328640) 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 select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328640 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

Hi,

You can do that by adding a bit of CSS. For example:
\#hikashop_main_image { width: 100% !important; }
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

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

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

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

Less More

- Posts: 121
- Thank you received: 2
-

5 years 9 months ago [\#328735](#328735) by [andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")  Replied by *[andrewwinkler](/forum/user/60500-andrewwinkler "View andrewwinkler's Profile")* on topic *[How to select multiple selection options for a product](/forum/26-product-category-display/901619-how-to-select-multiple-selection-options-for-a-product#328735 "-- HikaShop version -- : 4.4.0 -- Joomla version -- : 3.9.23 -- PHP version -- : 7.3.25 -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : N/A  I need customers to be able to select multiple ingredient options for a product. Some of those options are price sensitive, others are price neutral. For example, a client wants to select carrots, celery, kale, apples, oranges, ginger and turmeric. Only kale, ginger and turmeric result in a price increase; the other ingredients are price neutral. How do I configure HikaShop to achieve this?")*

It's perfect now. Many thanks.

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

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