stylesheets for tmpl=component

  • Posts: 69
  • Thank you received: 1
9 years 7 months ago #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&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: 9 years 7 months ago by dkmetz@taylorbruce.com. Reason: spelling

Please Log in or Create an account to join the conversation.

  • Posts: 26159
  • Thank you received: 4028
  • MODERATOR
9 years 7 months ago #198622

Hi,

At the end of the view "checkout | step", you will find the 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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: dkmetz@taylorbruce.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.063 seconds
Powered by Kunena Forum