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

#   Cart shows options above the product

##

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 3 months ago [\#113372](#113372) by [aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")  *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113372 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")* was created by *[aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")*

Hello everybody!
In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering?
Many thanks in advance,

Aleks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 months ago [\#113375](#113375) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113375 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")*

Hi Aleks,

Can you show me screenshots of the problem that you are having and of what you really want to do ?
Giving me a link to this page will also help to understand and to find a solution for your problem.

Thanks ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 3 months ago [\#113384](#113384) by [aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")  Replied by *[aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")* on topic *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113384 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")*

Here is the screenshot.
'Versand' and 'Mit Einbau' are the options of the 'DAF 1 Filter' Product. The are displayed above the product in the cart. i want them to be placed below the product.
[ ![screenshot.JPG](/forum/attachment/11055) ](/forum/attachment/11055 "screenshot.JPG")

- [ ![screenshot.JPG](/forum/attachment/11055) ](/forum/attachment/11055 "screenshot.JPG") [ ](/forum/attachment/11055?download=1 "screenshot.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 3 months ago [\#113398](#113398) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113398 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")*

Ok,

I think that the solution will be to :
- Go to "Hikashop-&gt;Display-&gt;Views"
- Edit the "show_default" file of the "product" view of your front-end template
- Move these lines : Code:

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 //LAYOUT option $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 } }

after these lines : Code:

&lt;div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part"&gt; &lt;?php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 25
- Thank you received: 0
-
-

13 years 3 months ago [\#113407](#113407) by [aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")  Replied by *[aleks59](/forum/user/19049-aleks59 "View aleks59's Profile")* on topic *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113407 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")*

Sorry, i wasn't quite clear describing my problem. I mean the way the product and the options are being displayed in the CART itself. Look an the left.
In the CART "Versand" and "Mit Einbau" (which are the product options) are above the "DAF 1 Filter" (that is the product).
I wanted it the other way around: product above the options (in the CART MOdULE).

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 3 months ago [\#113533](#113533) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Cart shows options above the product](/forum/2-general-talk-about-hikashop/85144-cart-shows-options-above-the-product#113533 "Hello everybody! In my hikashop the cart shows selected options above the product. I would like to have them below the product. How can i change this ordering? Many thanks in advance,  Aleks")*

Hi,

You can revert the order of the elements thanks to the code: Code:

$this-&gt;rows = array_reverse((array)$this-&gt;rows);

To put before: Code:

foreach($this-&gt;rows as $i =&gt; $row){

in the view "product / cart".

This will inverse the order of the elements.
If you need a specific order, it will require custom code to order depending on the options, and require php knowledge.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1MTQ0LWNhcnQtc2hvd3Mtb3B0aW9ucy1hYm92ZS10aGUtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.079 seconds

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