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

#   Checkout button when items in shopping cart

##

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 10 months ago [\#183387](#183387) by [webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")  *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183387 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")* was created by *[webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")*

-- url of the page with the problem -- : [ wsobirds.org/hika-shop-test](http://wsobirds.org/hika-shop-test)
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.1
-- PHP version -- : 5.4.35
-- Browser(s) name and version -- : Chrome

On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.

I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.

It seems like there should be an option there to display a checkout button if there are items in the shopping card.

Is this the right way to approach it?

I am new to HikaShop.

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzM2NjEtY2hlY2tvdXQtYnV0dG9uLXdoZW4taXRlbXMtaW4tc2hvcHBpbmctY2FydD90bXBsPW1hcmtkb3du) 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 10 months ago [\#183389](#183389) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183389 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")*

Hi,

You can do that by enabling the HikaShop cart module. The module will display a "proceed to checkout" button when there is at least one product in the cart.

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 10 months ago [\#183547](#183547) by [webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")  Replied by *[webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")* on topic *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183547 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")*

I enabled the HikaShop Cart Module. This did not make a "proceed to checkout" does not display when I have things in my cart.

Is there another step i should take after enabling the Cart Module?

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

11 years 10 months ago -  11 years 10 months ago [\#183554](#183554) 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 *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183554 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")*

Did you set the "Show proceed button in the cart" option of your cart module to NO ?

Last edit: 11 years 10 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

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

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

Less More

- Posts: 3
- Thank you received: 0
-
-

11 years 10 months ago [\#183735](#183735) by [webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")  Replied by *[webadmin@wsobirds.org](/forum/user/35390-webadmin-wsobirds-org "View webadmin@wsobirds.org's Profile")* on topic *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183735 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")*

Changing "Show Proceed button in the cart" did not change the display in the product list. Yes and no behaved the same way.

Can a "products listing" menu item show a Checkout button when there are items in the cart?

Is "associated modules" a way to do this?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzM2NjEtY2hlY2tvdXQtYnV0dG9uLXdoZW4taXRlbXMtaW4tc2hvcHBpbmctY2FydD90bXBsPW1hcmtkb3du) 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 10 months ago [\#183766](#183766) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Checkout button when items in shopping cart](/forum/26-product-category-display/873661-checkout-button-when-items-in-shopping-cart#183766 "-- url of the page with the problem -- :   wsobirds.org/hika-shop-test  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.1 -- PHP version -- : 5.4.35 -- Browser(s) name and version -- : Chrome  On my Product Listing, I want to add a Checkout button when there are items in the shopping cart.  I have a Joomla menu with a HikaShop Product Listing. I click on HikaShop Options and see the Details.  It seems like there should be an option there to display a checkout button if there are items in the shopping card.  Is this the right way to approach it?  I am new to HikaShop.  Thanks!")*

Hi,

There is no options for that. If you want a button in a product listing page so you can directly edit the view "product / listing" and add some code to display the "Proceed to checkout" button.

Something like: Code:

$cartClass = hikashop_get('class.cart'); $cart = $cartClass-&gt;loadFullCart(); if($cart != null &amp;&amp; !empty($cart-&gt;products)){ $cartHelper=hikashop_get('helper.cart'); $itemid_for_checkout = (int)$this-&gt;config-&gt;get('checkout_itemid','0'); if(empty($itemid_for_checkout)){ $menuClass = hikashop_get('class.menus'); $itemid_for_checkout = $menuClass-&gt;getCheckoutMenuIdForURL(); } if(!empty($itemid_for_checkout)){ $url_checkout = hikashop_completeLink('checkout&amp;Itemid='.$itemid_for_checkout); }else{ $url_checkout = hikashop_completeLink('checkout'.$url_itemid); } echo $cartHelper-&gt;displayButton(JText::_('PROCEED_TO_CHECKOUT'),'checkout',$this-&gt;params,$url_checkout,''); }

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

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

[](#top)
