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

#   stylesheets for tmpl=component

##

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

Less More

- Posts: 69
- Thank you received: 1
-
-
-
-

11 years 7 months ago -  11 years 7 months ago [\#198615](#198615) by [dkmetz@taylorbruce.com](/forum/user/11254-dkmetz-taylorbruce-com "View dkmetz@taylorbruce.com's Profile")  *[stylesheets for tmpl=component](/forum/27-checkout/876382-stylesheets-for-tmpl-component#198615 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  Hi,  I need to style the component part of the checkout cart (for printing purposes). I got everything working as desired (I added a print button to my cart), but I cannot figure out how to add a style sheet to this component when I use tmpl=component  For example when I go to   181.224.147.219/~steineri/index.php?opti...d=604&amp;tmpl=component  I get a page with no DOCTYPE statement, and no classes on the html tag.  The component.css file from the template is not included... in fact no files are included. Any ideas on how to specifically style a cart for printing purposes is appreciated.  Dennis")* was created by *[dkmetz@taylorbruce.com](/forum/user/11254-dkmetz-taylorbruce-com "View dkmetz@taylorbruce.com's Profile")*

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29

Hi,

I need to style the component part of the checkout cart (for printing purposes). I got everything working as desired (I added a print button to my cart), but I cannot figure out how to add a style sheet to this component when I use **tmpl=component**

For example when I go to
[ 181.224.147.219/~steineri/index.php?opti...d=604&amp;tmpl=component](http://181.224.147.219/~steineri/index.php?option=com_hikashop&ctrl=checkout&Itemid=604&tmpl=component)
I get a page with no DOCTYPE statement, and no classes on the html tag.

The component.css file from the template is not included... in fact no files are included. Any ideas on how to specifically style a cart for printing purposes is appreciated.

Dennis

---

\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Dennis Kmetz

Last edit: 11 years 7 months ago by [dkmetz@taylorbruce.com](/forum/user/11254-dkmetz-taylorbruce-com "View dkmetz@taylorbruce.com's Profile"). Reason: spelling

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3NjM4Mi1zdHlsZXNoZWV0cy1mb3ItdG1wbC1jb21wb25lbnQ/dG1wbD1tYXJrZG93bg==) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 7 months ago [\#198622](#198622) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[stylesheets for tmpl=component](/forum/27-checkout/876382-stylesheets-for-tmpl-component#198622 "-- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.29  Hi,  I need to style the component part of the checkout cart (for printing purposes). I got everything working as desired (I added a print button to my cart), but I cannot figure out how to add a style sheet to this component when I use tmpl=component  For example when I go to   181.224.147.219/~steineri/index.php?opti...d=604&amp;tmpl=component  I get a page with no DOCTYPE statement, and no classes on the html tag.  The component.css file from the template is not included... in fact no files are included. Any ideas on how to specifically style a cart for printing purposes is appreciated.  Dennis")*

Hi,

At the end of the view "checkout &#124; step", you will find the code Code:

if(JRequest::getWord('tmpl','')=='component'){ exit; }

You can remove these lines in order to display the checkout with the classical "component" template.

Regards,

---

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

The following user(s) said Thank You: [dkmetz@taylorbruce.com](/forum/user/11254-dkmetz-taylorbruce-com "View dkmetz@taylorbruce.com's Profile")

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

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