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

#   Force 'Add to Cart' button to go via detail page..

##

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

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 8 months ago -  12 years 8 months ago [\#144323](#144323) by [Essentee](/forum/user/28722-essentee "View Essentee's Profile")  *[Force 'Add to Cart' button to go via detail page..](/forum/26-product-category-display/865937-force-add-to-cart-button-to-go-via-detail-page#144323 "-- url of the page with the problem -- :Not live but test site at   bowlp.essentee.geek.nz/accessories  -- HikaShop version -- : Business 2.2.3 -- Joomla version -- : 2.5.17 -- PHP version -- : Not sure -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : NA  Hello.  Some of our products have no options or variants as they are very simple, for example a Belt or a Towel. No colour or size choices. On the category page, the products have an image and a button 'Add to Cart'. If you click on the image, you go to the product detail page with a description, an option to choose the number you want, and the add to cart button.  Other products have options (such as size, colour etc). So for these products, there is no 'Add to Cart' on the category page. There is a 'Choose Options' button. If you click the 'Choose Options' button (which we changed to View Product FYI) you go to the product's detail page to specify what options you want.  This is as expected and works this way.  However, the client wants consistency - so what they want to happen is:  For the products with NO options or variants, even if you click on 'Add to Cart' it still takes you to the product detail page, so they can select the number of that product they want (three towels, etc).  They don't want 'Add to Cart' on the category pages to go directly to the cart, in other words.  I hope this makes sense, is there a simple way to do this? :cheer:  Thanks!")* was created by *[Essentee](/forum/user/28722-essentee "View Essentee's Profile")*

-- url of the page with the problem -- :Not live but test site at [ bowlp.essentee.geek.nz/accessories](http://bowlp.essentee.geek.nz/accessories)
-- HikaShop version -- : Business 2.2.3
-- Joomla version -- : 2.5.17
-- PHP version -- : Not sure
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : NA

Hello.

Some of our products have no options or variants as they are very simple, for example a Belt or a Towel. No colour or size choices.
On the category page, the products have an image and a button 'Add to Cart'. If you click on the image, you go to the product detail page with a description, an option to choose the number you want, and the add to cart button.

Other products have options (such as size, colour etc). So for these products, there is no 'Add to Cart' on the category page. There is a 'Choose Options' button. If you click the 'Choose Options' button (which we changed to View Product FYI) you go to the product's detail page to specify what options you want.

This is as expected and works this way.

However, the client wants consistency - so what they want to happen is:

For the products with NO options or variants, even if you click on 'Add to Cart' it still takes you to the product detail page, so they can select the number of that product they want (three towels, etc).

They don't want 'Add to Cart' on the category pages to go directly to the cart, in other words.

I hope this makes sense, is there a simple way to do this? ![:cheer:](/media/kunena/emoticons/10.png ":cheer:")

Thanks!

Last edit: 12 years 8 months ago by [Essentee](/forum/user/28722-essentee "View Essentee's Profile").

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

12 years 8 months ago [\#144346](#144346) 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 *[Force 'Add to Cart' button to go via detail page..](/forum/26-product-category-display/865937-force-add-to-cart-button-to-go-via-detail-page#144346 "-- url of the page with the problem -- :Not live but test site at   bowlp.essentee.geek.nz/accessories  -- HikaShop version -- : Business 2.2.3 -- Joomla version -- : 2.5.17 -- PHP version -- : Not sure -- Browser(s) name and version -- : Firefox -- Error-message(debug-mod must be tuned on) -- : NA  Hello.  Some of our products have no options or variants as they are very simple, for example a Belt or a Towel. No colour or size choices. On the category page, the products have an image and a button 'Add to Cart'. If you click on the image, you go to the product detail page with a description, an option to choose the number you want, and the add to cart button.  Other products have options (such as size, colour etc). So for these products, there is no 'Add to Cart' on the category page. There is a 'Choose Options' button. If you click the 'Choose Options' button (which we changed to View Product FYI) you go to the product's detail page to specify what options you want.  This is as expected and works this way.  However, the client wants consistency - so what they want to happen is:  For the products with NO options or variants, even if you click on 'Add to Cart' it still takes you to the product detail page, so they can select the number of that product they want (three towels, etc).  They don't want 'Add to Cart' on the category pages to go directly to the cart, in other words.  I hope this makes sense, is there a simple way to do this? :cheer:  Thanks!")*

Hi,
The solutions will be to :
- Directly edit the code of the files of your "product" view through "Hikashop-&gt;Display-&gt;Views" to do that
OR
- Set the "Display add to cart button" option of your product listing content menu/module to NO and set the "Link to the product page" option to YES, so that your customer will be redirected to the product page when the will click on the product name/image

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

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

[](#top)
