user1891 From Unknown Member since Dec -0001 user1891 Sep 5 2015 12:14 AM Hello I'm new at LiteCart and I'm integrating a new template based on Bootstrap, also I want to give some help once I release my website with LiteCart. The thing is that I don't know how print the breadcrumbs :S Thank you in advance and I will do my best to help new members too, I like a lot this software, I come from PrestShop, OpenCart and Magento, but I needed some more simple and powerful, I think I found it. Let's improve LiteCart ;)
litecart Main Crew From Sweden Member since Feb 2013 litecart Sep 5 2015 12:31 AM The breadcrumbs are cooked in lib_breadcrumbs. Use the snippet named breadcrumbs to output them. E.g. Looking forward to see your progress on bootstrap. :)
user1891 From Unknown Member since Dec -0001 user1891 Sep 5 2015 12:46 AM The breadcrumbs are cooked in lib_breadcrumbs. Use the snippet named breadcrumbs to output them. E.g. Looking forward to see your progress on bootstrap. :) WTH!! Was my mistake, I was using (check th S after snippet), but the weird think is that I'm using fine in every file of the template :/ hahahah I did a change on wiki.litecart.net/doku.php?id=how_to_create_a_template (Template Settings) Thank you!
litecart Main Crew From Sweden Member since Feb 2013 litecart Sep 5 2015 03:26 PM Very good. :) In lib_document see: public static function before_output() { // Get template settings self::$settings = unserialize(settings::get('store_template_catalog_settings')); Meaning you should be able to access the template settings straight through document::$settings['myvar'].
user1891 From Unknown Member since Dec -0001 user1891 Sep 5 2015 03:51 PM oh oh oh... you right, perfect, just the variable was wrong, that was why I could not use $template_settings. PD: I'm sorry for my english, is so ugly. Thank you
litecart Main Crew From Sweden Member since Feb 2013 litecart Sep 5 2015 04:01 PM The template layouts in 1.3.2 have the old standalone syntax. I just changed it so next version will be document::$settings.