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

#   Display product in pop-up...

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 3 months ago [\#207503](#207503) by [danijel](/forum/user/37891-danijel "View danijel's Profile")  *[Display product in pop-up...](/forum/26-product-category-display/877997-display-product-in-pop-up#207503 "-- url of the page with the problem -- :   d-media.rs/dentalsm/index.php/kat01/modeli  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : any/all  First of all Hi,  Here is the problem, I've used   www.hikashop.com/forum/2-general-talk-ab...n-popup-product.html  and   www.hikashop.com/forum/4-how-to/42220-li...d-products-list.html  , to set that when you click on Product Name, it opens product page in pop-up.  Now, what i need is that when you click on Add to Cart button from that pop-up, it close pop-up and open Cart in regular browser page, or in worst case to open it in new pop-up, but without other modules/components (just like product page).  Any suggestion and technique is appreciated.")* was created by *[danijel](/forum/user/37891-danijel "View danijel's Profile")*

-- url of the page with the problem -- : [ d-media.rs/dentalsm/index.php/kat01/modeli](http://d-media.rs/dentalsm/index.php/kat01/modeli)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.4.36
-- Browser(s) name and version -- : any/all

First of all Hi,

Here is the problem, I've used [ www.hikashop.com/forum/2-general-talk-ab...n-popup-product.html](https://www.hikashop.com/forum/2-general-talk-about-hikashop/67814-abrir-producto-en-popup-open-popup-product.html) and [ www.hikashop.com/forum/4-how-to/42220-li...d-products-list.html](http://www.hikashop.com/forum/4-how-to/42220-lightbox-and-products-list.html) , to set that when you click on Product Name, it opens product page in pop-up.

Now, what i need is that when you click on Add to Cart button from that pop-up, it close pop-up and open Cart in regular browser page, or in worst case to open it in new pop-up, but without other modules/components (just like product page).

Any suggestion and technique is appreciated.

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 3 months ago [\#207507](#207507) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display product in pop-up...](/forum/26-product-category-display/877997-display-product-in-pop-up#207507 "-- url of the page with the problem -- :   d-media.rs/dentalsm/index.php/kat01/modeli  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.4.36 -- Browser(s) name and version -- : any/all  First of all Hi,  Here is the problem, I've used   www.hikashop.com/forum/2-general-talk-ab...n-popup-product.html  and   www.hikashop.com/forum/4-how-to/42220-li...d-products-list.html  , to set that when you click on Product Name, it opens product page in pop-up.  Now, what i need is that when you click on Add to Cart button from that pop-up, it close pop-up and open Cart in regular browser page, or in worst case to open it in new pop-up, but without other modules/components (just like product page).  Any suggestion and technique is appreciated.")*

Hi,

You would have to create a template override of the function hikashopModifyQuantity of the file administrator/components/com_hikashop/helpers/cart.php implementing the hikashop_cart_js_render trigger.
You need to create the template override file templates/YOUR_TEMPLATE/html/hikashop_button.php where you'll put the hikashop_cart_js_render function which has to define itself the hikashopModifyQuantity.
We invite you to look at the file administrator/components/com_hikashop/helpers/cart.php for the default code of the function and base yourself on it in order to change the behavior of the add to cart button with your custom javascript.

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

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

[](#top)
