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

#   Disable "Add to Cart Button"

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 4 weeks ago [\#215668](#215668) by [webtech](/forum/user/35828-webtech "View webtech's Profile")  *[Disable "Add to Cart Button"](/forum/41-wishlist/879536-disable-add-to-cart-button#215668 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hello,  I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users. There still remains an &quot;Add to Cart&quot; button in the wishlists that I don't want to be displayed.  Can you please indicate how to remove it? via CSS? via PHP file?  See attachment  and link to site for your use.")* was created by *[webtech](/forum/user/35828-webtech "View webtech's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3

Hello,

I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users.
There still remains an "Add to Cart" button in the wishlists that I don't want to be displayed.

Can you please indicate how to remove it? via CSS? via PHP file?

See attachment
[ ![Capture1.jpg](/forum/attachment/26737) ](/forum/attachment/26737 "Capture1.jpg")

and link to site for your use.

- [ ![Capture1.jpg](/forum/attachment/26737) ](/forum/attachment/26737 "Capture1.jpg") [ ](/forum/attachment/26737?download=1 "Capture1.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQxLXdpc2hsaXN0Lzg3OTUzNi1kaXNhYmxlLWFkZC10by1jYXJ0LWJ1dHRvbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) 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)
-

11 years 3 weeks ago [\#215679](#215679) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Disable "Add to Cart Button"](/forum/41-wishlist/879536-disable-add-to-cart-button#215679 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hello,  I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users. There still remains an &quot;Add to Cart&quot; button in the wishlists that I don't want to be displayed.  Can you please indicate how to remove it? via CSS? via PHP file?  See attachment  and link to site for your use.")*

Hi,

You can edit the view "cart / showcart" and remove the line: Code:

echo $this-&gt;cart-&gt;displayButton($addText, 'wishlist', $this-&gt;params,hikashop_completeLink('cart&amp;task=convert&amp;cart_type=cart&amp;cart_id='.$cart_id.$url_itemid), 'document.getElementById(\'task\').value = \'addtocart\'; document.forms[\'hikashop_show_cart_form\'].submit(); return false;');

in that view.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 3 weeks ago [\#215955](#215955) by [webtech](/forum/user/35828-webtech "View webtech's Profile")  Replied by *[webtech](/forum/user/35828-webtech "View webtech's Profile")* on topic *[Disable "Add to Cart Button"](/forum/41-wishlist/879536-disable-add-to-cart-button#215955 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hello,  I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users. There still remains an &quot;Add to Cart&quot; button in the wishlists that I don't want to be displayed.  Can you please indicate how to remove it? via CSS? via PHP file?  See attachment  and link to site for your use.")*

Hi,

I have removed the line as instructed, but there is no change. The button still shows up.

Any further modifications?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#215956](#215956) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Disable "Add to Cart Button"](/forum/41-wishlist/879536-disable-add-to-cart-button#215956 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hello,  I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users. There still remains an &quot;Add to Cart&quot; button in the wishlists that I don't want to be displayed.  Can you please indicate how to remove it? via CSS? via PHP file?  See attachment  and link to site for your use.")*

Hi,

Are you sure that you are editing the view for the right template ?

[ www.hikashop.com/support/support/documen...ize-the-display.html](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 6
- Thank you received: 0
-
-

11 years 3 weeks ago [\#216072](#216072) by [webtech](/forum/user/35828-webtech "View webtech's Profile")  Replied by *[webtech](/forum/user/35828-webtech "View webtech's Profile")* on topic *[Disable "Add to Cart Button"](/forum/41-wishlist/879536-disable-add-to-cart-button#216072 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3  Hello,  I am running Hikashop Business in Catalogue mode and have configured the system so that only wishlists are used for registered users. There still remains an &quot;Add to Cart&quot; button in the wishlists that I don't want to be displayed.  Can you please indicate how to remove it? via CSS? via PHP file?  See attachment  and link to site for your use.")*

Thank you for your guidance. I was editing the right showcart.php but the wrong template.
Many thanks. Issue solved!

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

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

[](#top)
