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

#   Product Compare Feature

##

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

Less More

- Posts: 175
- Thank you received: 0
-
-

13 years 3 months ago [\#115467](#115467) by [veeco](/forum/user/18501-veeco "View veeco's Profile")  *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#115467 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")* was created by *[veeco](/forum/user/18501-veeco "View veeco's Profile")*

Hello,
i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg1NzE4LXByb2R1Y3QtY29tcGFyZS1mZWF0dXJlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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 [\#115485](#115485) 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 *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#115485 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hi,

Sure, I think that you'll find more information [ there](http://www.hikashop.com/fr/support/documentation/54.html#features_compare).

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

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

Less More

- Posts: 80
- Thank you received: 1
-
-

9 years 7 months ago [\#266306](#266306) by [DoraK](/forum/user/33245-dorak "View DoraK's Profile")  Replied by *[DoraK](/forum/user/33245-dorak "View DoraK's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#266306 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hello,

I am really having trouble to understand how this feature should work, so I hope you can help me.

I enabled the compare feature from the backend and the compare button appears now on each product of the products listing page. But when I press it, nothing happens. What is should be happening? How a user can view the list of the selected and compared products?

Any help would be much appreciated!

Thank you,
Dora

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

9 years 6 months ago [\#266313](#266313) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#266313 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hi,

When you press the add to compare list button for two or more products, you'll get "compare" button at the top of the listing so that you can compare them together.

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

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

Less More

- Posts: 80
- Thank you received: 1
-
-

9 years 6 months ago [\#266333](#266333) by [DoraK](/forum/user/33245-dorak "View DoraK's Profile")  Replied by *[DoraK](/forum/user/33245-dorak "View DoraK's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#266333 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Thank you Nicolas!

I had the compare button in an absolute position for the products, but I didn't realize that this button had the same class name.

Can you please help me re-order the elements? Please have a look at this page: [ botavie.com.dedivirt73.your-server.de/in...ducts/cardiovascular](http://botavie.com.dedivirt73.your-server.de/index.php/products/cardiovascular). I'd like the &lt;div id="hikashop_compare_zone"&gt; to be transfered right after the filters and the pagination form, before the &lt;div class="hikashop_products"&gt;. I suppose I have to edit the listing.php file? But I can't find out which part of code should I transfer to where... Can you please provide detailed guidance?

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

9 years 6 months ago [\#266466](#266466) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#266466 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hi,

Well, as far as I can see, the view has been modified a lot.
By default in HikaShop, the compare button is already after the filters :
[ monosnap.com/file/z7tleq4wD29hjFxuCEybgdGzuBPv6k](https://monosnap.com/file/z7tleq4wD29hjFxuCEybgdGzuBPv6k)

So in the code of the view, the button is already after the filters:
[ monosnap.com/file/cUFobskaS7HwzpCZ01ZPqkxM0bNSSU](https://monosnap.com/file/cUFobskaS7HwzpCZ01ZPqkxM0bNSSU)

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

7 years 11 months ago [\#299984](#299984) by [OtenKing1](/forum/user/45848-otenking1 "View OtenKing1's Profile")  Replied by *[OtenKing1](/forum/user/45848-otenking1 "View OtenKing1's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#299984 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hi!

I am also having trouble understanding what should happen or how. Below my products there is a compare box. Once you click at least two products, you get the button to compare them. Here is a link to a categorie of products; [ www.paardenmestonderzoek.com/webshop/cat...tonderzoek-verzenden](https://www.paardenmestonderzoek.com/webshop/categorie/45-mestonderzoek-verzenden)

Just like poster above, nothing happens when pressing. I checked the code and the compare function is below. Why is nothing happening when pressing the compare button?; Code:

if($filter_type !== 3) { $this-&gt;setLayout('listing'); $html = $this-&gt;loadTemplate($layout_type); if(!$this-&gt;module) echo $mainInfo; if(!empty($html)){ if($this-&gt;module) echo $mainInfo; if(!empty($htmlFilter) &amp;&amp; $ctrl == 'category') echo $htmlFilter; ?&gt; &lt;div class="hikashop_products_listing"&gt; &lt;?php if(hikaInput::get()-&gt;getVar('hikashop_front_end_main',0) &amp;&amp; hikaInput::get()-&gt;getVar('task') == 'listing' &amp;&amp; $this-&gt;params-&gt;get('show_compare')) { $css_button = $this-&gt;config-&gt;get('css_button', 'hikabtn'); $css_button_compare = $this-&gt;config-&gt;get('css_button_compare', 'hikabtn-compare'); ?&gt; &lt;div id="hikashop_compare_zone" class="hikashop_compare_zone"&gt; &lt;a class="&lt;?php echo $css_button . ' ' . $css_button_compare; ?&gt;" id="hikashop_compare_button" style="display:none;" href="#" data-compare-href="&lt;?php echo hikashop_completeLink('product&amp;task=compare'.$this-&gt;itemid, false, true); ?&gt;" onclick="if(window.hikashop.compareProducts) { return window.hikashop.compareProducts(this); }"&gt;&lt;span&gt;&lt;?php echo JText::_('COMPARE_PRODUCTS'); ?&gt;&lt;/span&gt;&lt;/a&gt; &lt;/div&gt; &lt;?php } echo $html;

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

7 years 11 months ago [\#299990](#299990) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#299990 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Hi,

You must have a customization on the product/listing_img_title.php view file.
Check the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ and rename that file and it should fix the problem.

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

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

Less More

- Posts: 26
- Thank you received: 1
-
-

7 years 11 months ago -  7 years 11 months ago [\#300014](#300014) by [OtenKing1](/forum/user/45848-otenking1 "View OtenKing1's Profile")  Replied by *[OtenKing1](/forum/user/45848-otenking1 "View OtenKing1's Profile")* on topic *[Product Compare Feature](/forum/2-general-talk-about-hikashop/85718-product-compare-feature#300014 "Hello, i would like to know if there's feature to compare items (for the specification).. is it build in or i have to create view for it ?")*

Thanks, that's working now!

Last edit: 7 years 11 months ago by [OtenKing1](/forum/user/45848-otenking1 "View OtenKing1's Profile").

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

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

[](#top)
