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

#   Improve Acyba Pop Up Window

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#107052](#107052) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Improve Acyba Pop Up Window](/forum/2-general-talk-about-hikashop/83163-improve-acyba-pop-up-window#107052 "Using the Product Insert Pop Up window for HikaShop products I would like to have available in the list only those products that are published.  Is there a parameter that I was not able to find? Should some quary code be changed somewhere?  Also I would like to simplify (reduce) the amount of tabs and options for this Pop Up window as it is too much stuff for the end user of my project. Which files shall I edit?")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

Using the Product Insert Pop Up window for HikaShop products I would like to have available in the list only those products that are published.

Is there a parameter that I was not able to find? Should some quary code be changed somewhere?

Also I would like to simplify (reduce) the amount of tabs and options for this Pop Up window as it is too much stuff for the end user of my project. Which files shall I edit?

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

13 years 5 months ago [\#107074](#107074) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Improve Acyba Pop Up Window](/forum/2-general-talk-about-hikashop/83163-improve-acyba-pop-up-window#107074 "Using the Product Insert Pop Up window for HikaShop products I would like to have available in the list only those products that are published.  Is there a parameter that I was not able to find? Should some quary code be changed somewhere?  Also I would like to simplify (reduce) the amount of tabs and options for this Pop Up window as it is too much stuff for the end user of my project. Which files shall I edit?")*

You need to add the line:
$filters=array('a.product_published=1');

after:
$db = JFactory::getDBO();

in plugins/acymailing/hikashop.php if you only want published products.

Also, to modify the html of the popup, the modifications can be done in that same file, below that piece of code, in the same acymailinghikashop_show function.

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 months ago [\#107318](#107318) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Improve Acyba Pop Up Window](/forum/2-general-talk-about-hikashop/83163-improve-acyba-pop-up-window#107318 "Using the Product Insert Pop Up window for HikaShop products I would like to have available in the list only those products that are published.  Is there a parameter that I was not able to find? Should some quary code be changed somewhere?  Also I would like to simplify (reduce) the amount of tabs and options for this Pop Up window as it is too much stuff for the end user of my project. Which files shall I edit?")*

About the second point Idon't figure how to do it. Could you explain further? I want to remove the "Coupon Tab".

[ ![remove-coupon.jpg](/forum/attachment/10404) ](/forum/attachment/10404 "remove-coupon.jpg")

- [ ![remove-coupon.jpg](/forum/attachment/10404) ](/forum/attachment/10404 "remove-coupon.jpg") [ ](/forum/attachment/10404?download=1 "remove-coupon.jpg")

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

13 years 5 months ago [\#107332](#107332) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Improve Acyba Pop Up Window](/forum/2-general-talk-about-hikashop/83163-improve-acyba-pop-up-window#107332 "Using the Product Insert Pop Up window for HikaShop products I would like to have available in the list only those products that are published.  Is there a parameter that I was not able to find? Should some quary code be changed somewhere?  Also I would like to simplify (reduce) the amount of tabs and options for this Pop Up window as it is too much stuff for the end user of my project. Which files shall I edit?")*

You can add the code:
echo $tabs-&gt;endPane();
return;

before the line:
echo $tabs-&gt;startPanel( JText::_( 'COUPONS' ), 'hikashop_coupon');

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

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