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

#   Display options or variants on product listing page

##

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266638](#266638) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266638 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")* was created by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5

Is it possible now in Hikashop 3 with new "Add to cart" and "Checkout" system to select options or variants from product listing page and recalculate automatically without opening Product details page?
As we can do it in Virtuemart
[ ![img-2017-04-04-20-26-03.png](/forum/attachment/37422) ](/forum/attachment/37422 "...4-20-26-03.png")

- [ ![img-2017-04-04-20-26-03.png](/forum/attachment/37422) ](/forum/attachment/37422 "...4-20-26-03.png") [ ](/forum/attachment/37422?download=1 "...4-20-26-03.png")

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 7 months ago [\#266657](#266657) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266657 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Hi,

There is no option to do that for now.

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266739](#266739) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266739 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

As I noticed, this is one of the most frequently requested functions on the forum.
![:)](/media/kunena/emoticons/3.png ":)") it was in your's TODO list 4 yeasr ago
And this function really makes shopping easier and more convenient.
Unfortunately, we are waiting on :whistle:

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 7 months ago [\#266745](#266745) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266745 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Hi,

The first step to make that possible what to completely rewrite the add to cart system. This was done with HikaShop 3.
The next step will be to rewrite completely the variants selection system to be AJAXified. And then we'll be able to add that possibility.
Please understand that such developments are complex and take a lot of time to do it properly.

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266881](#266881) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266881 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

While waiting for the development of this functional, thought about how to temporarily replace it.
Maybe popup window opened when click Choose option. Found [ this](https://www.hikashop.com/forum/2-general-talk-about-hikashop/67814-abrir-producto-en-popup-open-popup-product.html) topic.
Tried to do it. But when in this modal window click "Add to cart" - cart module's content doesn't refresh until I refresh page manually.
Is there any solution to this problem?

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266883](#266883) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266883 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

For example, if I will use Dropdown cart type, maybe I can add some javascript to refresh cart content every time click to show cart content?

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266894](#266894) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266894 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

> nicolas wrote:
>
> Code:
>
> window.hikashop.submitCartModule(this, 'hikashop_cart_&lt;?php echo $module_id; ?&gt;', 'cart');
>
>
>
> I was simply saying that the cart module can be refreshed with such javascript.

Also useful. A crutch, but it works at least that way.

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 7 months ago -  9 years 7 months ago [\#266904](#266904) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266904 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Hi,

That's a goode idea. You can edit the file "cart" of the view "product" and change the code: Code:

$extra_data .= ' onclick="if(window.hikashop.toggleOverlayBlock(\'hikashop_cart_dropdown_'.$module_id.'\')) return false;"';

You could try this instead: Code:

$extra_data .= ' onclick="if(window.hikashop.toggleOverlayBlock(\'hikashop_cart_dropdown_'.$module_id.'\')){ window.Oby.fireAjax(\'cart.updated\');return false; }"';

Last edit: 9 years 7 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266910](#266910) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266910 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

*(\\'cart.updated\\')* or get 500 error. When I click on the cart, the content unfolds and immediately folds back.

Is there a difference between Code:

window.hikashop.submitCartModule(this, 'hikashop_cart_&lt;?php echo $module_id; ?&gt;', 'cart');

and Code:

window.Oby.fireAjax('cart.updated');

?

Install additional joomla module "Perfect Everything in Everyway", place Hikashop full cart into it and add action to it's toggler *onclick="window.hikashop.submitCartModule(this, \\'hikashop\_cart\_202\\', \\'cart\\');"*

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago -  9 years 7 months ago [\#266923](#266923) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266923 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Can I create additional **Popup** Product detail page layout (different from usual Product details page)? Want to remove product photo and description from popup.

Popup opens by URL
*&lt;a class="modal hikabtn hikacart" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="/kafe-mariya/product/3239-shashlyk-iz-perepelov/tmpl-component.html" title="Шашлык из ПЕРЕПЕЛОВ" onhover="SqueezeBox.fromElement(this,{parse: 'rel'});return false;"&gt;Choose option&lt;/a&gt;*

Maybe add something to rel or href?

Last edit: 9 years 7 months ago by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile").

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

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

9 years 7 months ago [\#266971](#266971) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  Replied by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266971 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Add to top of */components/com\_hikashop/views/product/tmpl/show.php*: Code:

&lt;?php $layout = $this-&gt;productlayout; if(!empty($_GET['layout_name'])){$layout = $_GET['layout_name'];} $this-&gt;productlayout = $layout; ?&gt;

To *add\_to\_cart\_ajax.php* href atribute add *?layout\_name=show\_popup*.
And create this *show\_popup.php* file.

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

Less More

- Posts: 86564
- Thank you received: 14311
-
-

9 years 7 months ago [\#266935](#266935) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display options or variants on product listing page](/forum/26-product-category-display/889675-display-options-or-variants-on-product-listing-page#266935 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Is it possible now in Hikashop 3 with new &quot;Add to cart&quot; and &quot;Checkout&quot; system to select options or variants from product listing page and recalculate automatically without opening Product details page? As we can do it in Virtuemart")*

Hi,

Ah yes, I had forgotten the backslashes.
And yes, that will also reload the cart dropdown itself when that is triggered. So that won't help. It would require some further modifications in cart.php

fireAjax('cart.updated') will refresh all the carts on the page.
hikashop.submitCartModule(this, 'hikashop_cart_&lt;?php echo $module_id; ?&gt;', 'cart') will submit the data of one cart module and then refresh all the carts on the page so you don't want to use that here since it would remove from the cart the product you just added.

Yes, add an extra parameter to the URL of the link and check for that parameter in the view files of the product page to display or not the elements.

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

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