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

#   Add View To Checkout that displays on Every Page

##

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

Less More

- Posts: 303
- Thank you received: 18
-
-

8 years 4 months ago [\#295383](#295383) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295383 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")* was created by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")*

-- HikaShop version -- : 3.5.0
-- Joomla version -- : 3.8.10

I created this little order summary view in the "checkout / show_block_cart.php" view that you can see in the screenshot below:

[ ![checkout-summary.PNG](/forum/attachment/44227) ](/forum/attachment/44227 "...ut-summary.PNG")

However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the "checkout / show.php" file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?

Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!

- [ ![checkout-summary.PNG](/forum/attachment/44227) ](/forum/attachment/44227 "...ut-summary.PNG") [ ](/forum/attachment/44227?download=1 "...ut-summary.PNG")

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

8 years 4 months ago [\#295399](#295399) 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 *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295399 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")*

Hello,

A solution can eventually be to directly unset the "Cart" action through steps of your checkout workflow via "Hikashop-&gt;System-&gt;Configuration-&gt;Checkout".

Best regards,
Mohamed Thelji.

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

8 years 4 months ago [\#295431](#295431) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295431 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")*

I'm not sure I follow. It sounds like you are suggesting to remove the "Cart" step from the checkout workflow. However, once I do this, I'm not entirely sure how to display this module on every page of the checkout?

Basically, i want to create another checkout view that is visible on every checkout page. The best option I found is to include it on the "checkout/show.php" view file. However, I do not know how to pull the order info up in that view?

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 4 months ago [\#295433](#295433) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295433 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")*

Hi,

I think the only way for you is to have cart view for each step which will be set to read only via checkout configurations. Then you would have to modify show_block_cart.php view and use such code inside:

As example this will add col-md-3 (if you are using bootstrap 3) class if cart is set to read only: Code:

&lt;?php if(!empty($this-&gt;options['status'])) echo 'col-md-3';?&gt;

You also can wrap and hide content like this:
Code:

&lt;?php if(empty($this-&gt;options['status'])) { ?&gt; ..Your code here which you would like to hide... &lt;?php } ?&gt;

I won't go into deeper explanations but this is easy job if you have some php/html skills.

Hope that helps.

Thanks

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile"), [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

8 years 4 months ago [\#295434](#295434) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295434 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")*

Exactly what I was initially thinking to do. However, I am not sure how to hide certain elements based on the current step. For example, if I wanted to hide a div on step 2 of the checkout, what is the php entry that corresponds to the current checkout step?

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

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

Less More

- Posts: 303
- Thank you received: 18
-
-

8 years 4 months ago [\#295435](#295435) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Add View To Checkout that displays on Every Page](/forum/27-checkout/895264-add-view-to-checkout-that-displays-on-every-page#295435 "-- HikaShop version -- : 3.5.0 -- Joomla version -- : 3.8.10  I created this little order summary view in the &quot;checkout / show&#95;block&#95;cart.php&quot; view that you can see in the screenshot below:  However, I am trying to figure out a way to display the order summary only (not the full cart) on every page of the checkout. I would assume I could accomplish this by adding it to the &quot;checkout / show.php&quot; file. I tried this and it displays the block, but not the cart information. How would i display the order information on any arbitrary view file?  Or rather, is there a better way of accomplishing this by maybe adding a new view to the checkout process? Any help or advice would be greatly appreciated!")*

After playing around with it, I was able to get it working (at least the hide/unhide) with the read-only trick. I should be able to alter the display now to make it show on every page. Thank you!

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

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